The Arcive of Official vBulletin Modifications Site.It is not a VB3 engine, just a parsed copy! |
|
#1
|
|||
|
|||
Forum Advertising
Anyone else having trouble with this/.....
My problem Is I want the banners to only show in certain sponsored forums so I create the ad for it to show below navbar , got my html in there. Active yes only box I check is the one that says Display this ad if..... User is browsing forum- xxxxxxxxxxxxxxxxxxxxxxxxxxxx and then go to forum to check....and nothing..... now if I uncheck all the boxes it will show globally on every page, but I don't want that.... HELP!! |
#2
|
|||
|
|||
Man nobody else is having problems?
|
#3
|
|||
|
|||
Yes, I too am having this problem. Even after the 4.0.1 upgrade.
|
#4
|
|||
|
|||
Yup - add one to the list. I can't post an advertisement in a single forum - it simply won't show up. So far:
1. Global (Header 1 & 2) 2. Global (Under Navbar) 3. Global (Footer) 4. Forums (only ALL forums) I haven't been able to create them for a single forum. |
#5
|
|||
|
|||
Stay tuned...
I did this a couple of days ago and it works perfect; however, I'm not where I can post the code right now but I shall post it tomorow morning. framer --------------- Added [DATE]1263745587[/DATE] at [TIME]1263745587[/TIME] --------------- Had to stop by work, It's amazing what you do to keep a job today. Use the GLOBAL Ad Page Here's the code: Code:
<vb:if condition="$GLOBALS[forumid]==X"> <a target="_blank" href="http://www.to_advertiser.com"> <img src="http://www.banner_location.com/vbn/banner_x.gif" width="xxx" height="xxx" border="0" alt="info about banner" align="center"> </a></vb:if> Just add other with different forumid numbers to the file. If you want to show a banner on the main index page use <1 Hope that helps. framer |
#6
|
|||
|
|||
So help me out just a tiny bit - I post this little bit of code in the banner ad box with the link to my banner? I'm a complete newbie when programming, but if I simply toss this in the box, and I can display the ad in a single forum, I'd be stoked!!
Thank you. Edit - it almost worked like a charm. I found that, as written, the banner didn't want to center. I went in and added a <div align="center"> at the beginning, and a </div> just before the </vb:if> tags, and all was well. I'm not sure if that screws anything up, but it seemed to work for me. Now to find a way to place 5 different banners in rotation in that particular forum. |
Thread Tools | |
Display Modes | |
|
|
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
More Information | |
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|