The Arcive of Official vBulletin Modifications Site.It is not a VB3 engine, just a parsed copy! |
|
#1
|
|||
|
|||
Hiding adsense via styleid
I have an option for forum users to upgrade to "premium."
This will offer the advantage of no ads, which works fine except in custom scripting. I am using this code to hide an ad to those using the "premium" style (Which is available only to premium users). This is how it goes Code:
if($vbulletin->userinfo[styleid] !== "18") { DISPLAY GOOGLE ADS } else { DO NOT DISPLAY THE ADS } HOwever, when an admin on my boards switches to the style (or any other person who has premium capabilities) it still shows the ad. I've tried just about everything. What on earth am I doing wrong???? Thanks in advance, Ryan |
Thread Tools | |
Display Modes | |
|
|
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
More Information | |
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|