The Arcive of Official vBulletin Modifications Site.It is not a VB3 engine, just a parsed copy! |
|
#1
|
|||
|
|||
Not displaying ads upon post
I'm currently displaying Google Adsense ads on just my showthread.php generated pages, at the bottom. For example:
http://www.foothillsforum.com/forum/showthread.php?t=32 What happens is that when someone makes a new post they get shown their post along with a bunch of google ads. In this situation - just after someone has posted - I do not want to display the ads. Before I start digging around in the vB code and templates, what is a suitable condition/variable state to look for, so I can use a code or template conditional to skip the display of the ads just after someone has posted? In other words, ads will only get shown when somebody is browsing thread posts, not on the page presented immediately after posting. TIA, Miner2049er. UPDATE... After some investigations, it seems that newreply.php (replying to an existing thread) and newthread.php (starting a new thread) redirect to showthread.php so I'm assuming if I find where that happens, I can insert a GET variable, and then check for that in showthread.php or the SHOWTHREAD template. Or is there a pre-existing variable I can check for without having to create my own? I'm still digging around (lots of vB code there) and any advice is still welcomed. Miner2049er. |
#2
|
|||
|
|||
Moderator - can this thread be moved to forum
vB3.5 Code Modifications ? |
|
|
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
More Information | |
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|