Help - Banner Ads per Topic View
Started by toxic77, Jul 06 2010 03:49 AM
6 replies to this topic
#1
Posted 06 July 2010 - 03:49 AM
Hello everyone,
Hope you could help me here, we have used banner ads per forum on our forum ipboard 2.3.x and we wanted to have specific banners to be displayed on all threads or topics under a specified forum, I've tried to add a banner on topics view > render row, but its displaying globally on all topics across the forum, is there anyway to do it?
Wish someone could help me out.
Hope you could help me here, we have used banner ads per forum on our forum ipboard 2.3.x and we wanted to have specific banners to be displayed on all threads or topics under a specified forum, I've tried to add a banner on topics view > render row, but its displaying globally on all topics across the forum, is there anyway to do it?
Wish someone could help me out.
#2
Posted 06 July 2010 - 11:31 AM
This is a Modification related issue, moving to the proper forum.
View my tutorials
Please do NOT pm me with support related questions unless requested.
If you are in need of help or assistance, please post on the forum in the appropriate section!
A Look Back - 1.0.1 - 1.3.1 - 2.0.0 - 2.1.7 - 2.2.0 - 2.3.6
#4
Posted 07 July 2010 - 11:20 AM
If its just a specific forum you want it in, find the forum ID (look at the URL to help, this forum is 114 as the URL is http://www.invisionm...?showforum=114)
Wrap the banner ad code in this:
Replace X with the forum ID
Wrap the banner ad code in this:
<if="$this->ipsclass->input['f'] > X"> Banner code here </if>
Replace X with the forum ID
View my tutorials
Please do NOT pm me with support related questions unless requested.
If you are in need of help or assistance, please post on the forum in the appropriate section!
A Look Back - 1.0.1 - 1.3.1 - 2.0.0 - 2.1.7 - 2.2.0 - 2.3.6
#5
Posted 08 July 2010 - 12:41 AM
AndyF, on Jul 7 2010, 07:20 AM, said:
If its just a specific forum you want it in, find the forum ID (look at the URL to help, this forum is 114 as the URL is http://www.invisionm...?showforum=114)
Wrap the banner ad code in this:
Replace X with the forum ID
Wrap the banner ad code in this:
<if="$this->ipsclass->input['f'] > X"> Banner code here </if>
Replace X with the forum ID
Hi Andy,
Sorry if I've confused you, what I meant is, the script is similar to Banner Ads per forum modification, the only difference is that it will only display on the topic view render row of all the threads under the specified forum.
4rum.JPG 20.93K
2 downloadsAnyways thanks for your help Andy.
#6
Posted 08 July 2010 - 11:15 AM
<if="$this->ipsclass->input['f'] == 'X' || !$this->ipsclass->input['t'] )">
Replace X with forum ID number. Leave 't' as-is.
I think.
View my tutorials
Please do NOT pm me with support related questions unless requested.
If you are in need of help or assistance, please post on the forum in the appropriate section!
A Look Back - 1.0.1 - 1.3.1 - 2.0.0 - 2.1.7 - 2.2.0 - 2.3.6
#7
Posted 09 July 2010 - 12:07 AM
Thanks for the help Andy, will try it out.
1 user(s) are reading this topic
0 members, 1 guests, 0 anonymous users




Contributor










