The Arcive of Official vBulletin Modifications Site.It is not a VB3 engine, just a parsed copy! |
|
#1
|
|||
|
|||
![]()
Yup another Adsense post.
I am looking to place adsense after the first post, after the 5th post and the last post. I also want to hide it from admins, mods and paid subscribers. What do I need to finish this code, where do I need to place it and do I need to place it in more than one place? Code:
<if condition="$post[postcount] == 1" condition="!is_member_of($bbuserinfo, 1, 2, 3)"> $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 </td> </tr> </table> </div> $spacer_close </if> |
#2
|
|||
|
|||
![]()
bump
|
#3
|
|||
|
|||
![]()
I would love to see solution to this too. Come on, where are the geeks when you need them
![]() |
#4
|
|||
|
|||
![]()
I found a backwards way of doing it.
Code:
<if condition="!is_member_of($bbuserinfo, 1, 2, 3)"> <if condition="$post[postcount] == 1"> $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 </td> </tr> </table> </div> $spacer_close </if> </if> I wish I knew a way to add the other post count numbers into the first conditional. Any Ideas? |
#5
|
|||
|
|||
![]()
this should work
PHP Code:
|
#6
|
||||
|
||||
![]()
Or this ;
PHP Code:
|
#7
|
|||
|
|||
![]()
Thanks!
|
#8
|
|||
|
|||
![]()
I am having issues setting up my adsense but this one seems cool and what I really want on my forum. I know you have to modify one of the templates but what part of the template do i modify for THIS specific one to work?
|
![]() |
|
|
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
![]() |
|
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|