![]() |
Ad management and generated code
When adding ads via the Ad Manager, it adds this unusual code:
Code:
<vb:if condition="$adsshown[] = 8"></vb:if> |
Where are you seeing that?
|
In the ad location template. The condition is added AFTER the ad code and before the last </div>.
Also, there seems to be a bug when adding the last post thread view via the Ad Manager, it lacks the ID it usually generates for other ad locations. Adding the ID manually solves it but it should supposed to be working via the Ad Manager but it's not. |
I have several test ads on my site, and none of them add any code to any template, so I honestly have no clue what you are talking about.
As for the bug, you may enter that into Jira here - http://tracker.vbulletin.com/secure/...e!default.jspa |
1 Attachment(s)
When you add an ad via the Ad Manager, it places the ad code inside one of the ad location templates. The code I mentioned above gets inserted AFTER the ad code just before the last DIV tag. I am running 4.1.2 and using the default skin. See screenshots below.
|
Weird. I have never seen that before and I looked in my templates and it wasn't there at all for me. Then I created an ad just like yours, and it shows up. It's from here in the functions_ad.php file:
PHP Code:
|
Ah, what's the purpose of this faux conditional then?
|
All times are GMT. The time now is 02:18 AM. |
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:
|