The Arcive of Official vBulletin Modifications Site.It is not a VB3 engine, just a parsed copy! |
|
#1
|
|||
|
|||
looping adsense on every page?
Yup another adsense thread. at the moment I have my adsense set up as:
Code:
<if condition="!is_member_of($bbuserinfo, 5, 6, 7, 22)"> <if condition="$post[postcount] == 1 || $post[postcount] == 5 || $post[postcount] ==10"> $spacer_open <div style="padding:0px 0px $stylevar[cellpadding]px 0px"> <table class="tborder" cellpadding="$stylevar[cellpadding]" cellspacing="$stylevar[cellspacing]" border="0" width="100%" align="center"> <tr> <td class="thead" align="left">Sponsored Links</td> </tr> <tr> <td class="alt1" align="center"> ADSENSE CODE HERE </td> </tr> </table> </div> $spacer_close </if> </if> Thanks! |
#2
|
|||
|
|||
If you find out, shoot me a PM please.
|
#3
|
|||
|
|||
I'm not sure what you mean, but I have my adsense set up in my header. It shows right under the logo. http://gottwinz.net/forums/index.php
|
#4
|
|||
|
|||
For the last ad, try "$post['islastshown']" I think it is.. I've seen it used before and if I had to guess I'd say it would successfully loop the ad on the last post of every page.
Also, while I'm guessing, I'd say there is also a "$post['isfirstshown']" but I'm not positive. I don't think there's any way to loop the middle ad on every page, sorry. If those don't help, I don't think it would be too hard to do with some PHP in a plugin.. although I'm not that skilled. |
|
|
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
More Information | |
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|