Hmm, I'll have to look at the standard post bit. Mine is changed quite a bit. The above code may not work correct for the standard postbit template. I'll get back to you ASAP.
Adsense?
Collapse
This topic is closed.
X
X
-
Try putting that code right above
Code:<tr> <td class="tcat" colspan="2"><img src="$vboptions[cleargifurl]" alt="" width="1" height="1" /></td> </tr>
Comment
-
Ok, here is what I changed.
In your postbit template, change:
[removed]
with:
[removed]
Feel free to play around with the code a bit.
[EDIT: SEE POST #71 http://www.vbulletin.com/forum/showp...3&postcount=71 FOR UPDATED CODE!]Last edited by Joe; Fri 9 Apr '04, 5:54pm.Comment
-
hankster asked in PM what would work for conditional.
<if condition="THIS_SCRIPT != 'register' AND THIS_SCRIPT != 'whateverotherpagetoexclude'">
adsense here
</if>
This way you can show it on every page except those few that aren't allowed.
Hey everybody, thank you for pointing out that you can't put it on register pages, I have excluded them now. Any other page I should exclude?Comment
-
Thanks joe, that is great mate. I'm still messing about with it, here's an example - http://forums.unlocked-networks.com/...read.php?t=142
Regards,
KevinComputer Networking Forums
www.unlocked-networks.comComment
-
Originally posted by xiphoidHey everybody, thank you for pointing out that you can't put it on register pages, I have excluded them now. Any other page I should exclude?
Search results pages.
Probably usercp as well.Comment
-
I didn't include adsense in my search pages and the registration page ... since I'm still using vB2 and don't have the luxury of conditionals yet, I just added the adsense code to the header, then manually entered the header HTML in the search, signup and registration templates instead of the usual $header bit...OPEN TECH SUPPORT
"Tech is our middle name!"Comment
-
OKie, Now that I have a vb3 to experiment on...I added google adsense to the footer.
I tried this at the top of my footer text:
Code:<if condition="THIS_PAGE == 'showthread' or THIS_PAGE == 'index' or THIS_PAGE == 'forumdisplay'"> googleadsensecodehere</if>
What did I do wrong?Fan Club member for VBulletin Dev and Support Team ;)
Hysterectomy - GirlsGetGoing.com - Fabulous Fifty
I'm frequently asked about the skin designer for my forums. ForumSkin.comComment
-
Originally posted by KathyOKie, Now that I have a vb3 to experiment on...I added google adsense to the footer.
I tried this at the top of my footer text:
Code:<if condition="THIS_PAGE == 'showthread' or THIS_PAGE == 'index' or THIS_PAGE == 'forumdisplay'"> googleadsensecodehere</if>
What did I do wrong?Comment
widgetinstance 262 (Related Topics) skipped due to lack of content & hide_module_if_empty option.
Comment