View Full Version : How do I create another checkbox in advertising section ?
crazyboy1661
10-03-2012, 07:10 AM
Hai guys, I need your help. I want to create a check box in advertising section as shown in the attached pic. The purpose is I don't want display Google ads on the particular forums/categories(adult queries on health) and hurt Google.
Any mod or suggestions appreciated.
:up::up::up::up:
Stefan118
10-03-2012, 10:26 AM
Yes, I would like that too.
At this moment I have done this manualy.
Everywhere in my forum i have the same ads, exept for forum X, Y, Z...
These forums have each there own ads.
I edit the ad template and placed 4 conditionals in it.
1: Show the ads everywhere exept forum 774,775,776,785
<vb:if condition="!in_array($GLOBALS['forumid'], array(774,775,776,785))">
2, 3 and 4: Show other ads if forum is 1 of those 4.
<vb:if condition="in_array($GLOBALS['forumid'], array(774))">
Only this result in a huge advertising script.
crazyboy1661
10-11-2012, 04:50 AM
Ok thanks for your reply. I will check it out.
crazyboy1661
03-08-2013, 08:41 AM
Hi can you tell me which template you have edited? B'coz there are so many templates related to ads.
Hope you can understand!
Yes, I would like that too.
At this moment I have done this manualy.
Everywhere in my forum i have the same ads, exept for forum X, Y, Z...
These forums have each there own ads.
I edit the ad template and placed 4 conditionals in it.
1: Show the ads everywhere exept forum 774,775,776,785
<vb:if condition="!in_array($GLOBALS['forumid'], array(774,775,776,785))">
2, 3 and 4: Show other ads if forum is 1 of those 4.
<vb:if condition="in_array($GLOBALS['forumid'], array(774))">
Only this result in a huge advertising script.
vBulletin® v3.8.12 by vBS, Copyright ©2000-2025, vBulletin Solutions Inc.