The Arcive of Official vBulletin Modifications Site.It is not a VB3 engine, just a parsed copy! |
|
#1
|
|||
|
|||
![]()
I have read some other posts on this but cannot seem to grasp this concept. I want to add some ads to my forum (after main thread, somewhere in the middle and at the end) but I want it so Admins and other specified groups can't see the Ads.
I keep seeing !$GLOBALS['FIRSTPOSTID'] a lot but I have no idea what it means. Can anyone explain? Also what is postbit and postbit_legacy. Maybe a pointer to a thread with meaningful variables used in vB would help? Can someone paste an example of a complete adsense block with the admin and super moderators not being able to see it. I thought it could be done with a simple IF statement: If usergroups != 1,2,3 etc... (can you comma seperate user ID's in IF statements) then show adsense code (or any other ad) close statement Am I missing any important variables that are unique to vB. Thanks |
#2
|
|||
|
|||
![]()
Sorry!
I screwed up posting, can a mod move this to the correct forum. Thanks and sorry! |
#3
|
||||
|
||||
![]()
Thank you! Installs.
![]() |
#4
|
|||
|
|||
![]()
postbit and postbit_legacy are templates regarding the post area (where you read the text and avatars) The postbit are you see here is called postbit_legacy if your site uses the one with the avatar one top thats called the postbit template
You need to setup a usergroup called supporters for instance, then set up their subscription when a user donates they get moved to that group. Then you need to add a tempalte conditional to whatever template you wish to use and place your add code inside of that. |
![]() |
|
|
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
![]() |
|
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|