![]() |
Ok, let's try to trace it down. :)
I have a clean installation and for me it works at any place for any placeholder, ranging from <!--@vbbanners:0@--> to <!--@vbbanners:9@-->. I do have also several production sites where it works perfectly well with any combination of rules, some of which are very complex. Together, we have found that vbSEO may clean HTML comments, thus the standard placeholders won't work at all, and would have to be replaced by a different one. (1) In order to catch all possible errors, please make sure, your placeholder in the options looks like <!--@vbbanners:%d@--> or like @vbbanners:%d@ (if you have vbSEO or other software which cleans HTML). It may have any other combination of characters, as long as a %d appears inside. %d is replaced with numbers between 0 and 9 at runtime. vbSEO or HTML cleaning software users: vBulletin Options - Rotating Banner System Options - Nth Placeholder: @vbbanners:%d@ All other users: vBulletin Options - Rotating Banner System Options - Nth Placeholder: <!--@vbbanners:%d@--> (2) Now put a: vbSEO or HTML cleaning software users: <div align="center">@vbbanners:0@</div> <div align="center">@vbbanners:1@</div> All other users: <div align="center"><!--@vbbanners:0@--></div> <div align="center"><!--@vbbanners:1@--></div> in the template: ad_navbar_below (3) and enable the default banners, moving the second banner to position 1. Both banners should appear, one below the other. --- On a standard installation, this combination of settings works 100% guaranteed on 4.0.2 PL1. I have set it up once again from scratch just to be sure. If it doesn't work for you, I'll install a test board with these settings on, in order to demonstrate the facts. Possible issues: - You are using a style which does not implement ad_navbar_below, or which comments out that template. In this case, no banner appears. - Your system caches pages (e.g. Apache mod_cache). Unless you refresh the page explicitly, the banners don't seem to rotate or won't even appear. - Your vBulletin Options - Rotating Banner System Options - Nth Placeholder is setup like: <!--@vbbanners:0@--> or @vbbanners:0@. In this case, only banners at location 0 appear. You should have set: <!--@vbbanners:%d@--> or @vbbanners:%d@ instead. |
Quote:
I am using vBSEO but I don't use (and never have) the "HTML cleaning" option. Quote:
Quote:
Quote:
|
Quote:
So the next questions are: - Do you have a product or plugin which disables or jumps over the global_complete hook, or changes existing hook code? Since banners are rendered there, it is the only place I would look at. - Which of your products / plugins are working with this hook? - Do some of the other global_complete hooks call a PHP: die; or: exit(0); command? I suppose not, else no banners would be rendered... ... out of other options and ideas ... :erm: |
Just wanted to share...I am new to this forum and to vBulletin and am just figuring out how to edit the templates and css....but I needed a rotating banner system...and really like the features in this mod. I have the latest version of vb 4.02 pl1 and after not being able to figure out how to edit the templates I decided to try adding the required code to the build in banner ad setup....and it worked like a charm.
I used the code <div align="center"><!--@vbbanners:0@--> <!--@vbbanners:2@--></div> and created a new ad "below navbar" and "above footer" and they work perfectly....so far. I wanted to banners side by side. Maybe it's a good shortcut and maybe it's not but right now it's working...really good, tracking the impressions and clicks just like it would otherwise...so maybe this could help someone else...until code changes and causes it not to work...;) Hey a guy has to be creative right? Check it out if you want to here and please let me know what you think. |
I would like to put rotating banner instead of default vbulletin logo. Is this possible?
I have putted code in ad_header_logo, and removed image of vbulletin logo, but there is space between image and navigation bar. You can see it here: http://www.bg-anime.com/forum.php Can someone help me with this? |
Quote:
|
Quote:
|
Quote:
But, with your help I have found Logo rotator, which will resolve my problems :) Thanks! |
Guys if your adding adsence it could take up to an hour for it to show have patience...
|
Quote:
|
All times are GMT. The time now is 11:01 PM. |
Powered by vBulletin® Version 3.8.12 by vBS
Copyright ©2000 - 2025, vBulletin Solutions Inc.
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
![]() |
|
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|