![]() |
3.5.4: Looking to remove banner ads for subscribers ... help!
I'm currently running PHPAdsNew and it's working very well. I'm also using Google's AdSense. I also have "premium" members that I want to NOT show banners/AdSense ads for. I know it's probably a very simple IF statement, but I'm new to vBulletin and don't know how to impliment this. How would I go about doing this?
|
Code:
<if condition="!is_member_of($bbuserinfo,X)"> |
Thank you!
|
Everything is working great, but now I have another requirement:
I want to allow members of the subscription to choose if they want to view ads or not. Now, from what I have been able to dig up, I can't associate profile questions with particular member groups. If I enter a profile question, it's seen by all users. Is this correct? If so, how would I go about allowing paying users to choose if they want to view banner ads or not? |
Quote:
|
use if subscription adds user to secondary usergroup:
Code:
<if condition="$bbuserinfo[membergroupids] == X"> Code:
<if condition="$bbuserinfo[usergroupid] == X"> Cheers Steve |
All times are GMT. The time now is 03:57 PM. |
Powered by vBulletin® Version 3.8.12 by vBS
Copyright ©2000 - 2025, vBulletin Solutions Inc.
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
![]() |
|
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|