|
Geek Advertising Banner System GAB is a highly configurable banner management system for vBulletin. |
Advertisement | |
Learn how to remove ads |
|
Thread Tools | Display Modes |
#1
|
|||
|
|||
GAB with Paid Subscriptions
Hi there,
I use (and love) GAB and was wondering if someone could help with a small dilemma.... I am introducing a VIP level for members, via paid subscriptions. All is set to go but I simply can't get my head around how to set the GAB . My VIP members will not see ads and that's fine, I have set it in AdminCP > GAB , tested this and it's all good. The problem is, if they are a secondary member of any other group (that DOES see ads), they automatically see all ads and their excluded VIP setting is ignored. I need to know if there is a way to set the paid subs/ GAB to keep them in the groups but only set permissions based on their primary usergroup. Thanks.... |
#2
|
||||
|
||||
Untested but edit the usergroup_views_ads function in the gab_class_core.php file, adding in the bold red bit where X is the primary usergroup ID:
Code:
if ($this->settings['usergroups_view'] && $this->vb->userinfo['usergroupid'] != X)
__________________
Please use the forums for support, feature requests, and similar such things. Support does not include custom code, custom template edits, or third-party modifications. PMs and emails to me should be for private information only, such as login information. If you PM or email me a support question, chances are good that I'll ignore it. Thanks. While the work or play is on, it is a lot of fun if while you are doing one you don't constantly feel that you ought to be doing the other. -- Franklin Pierce Adams |
#3
|
|||
|
|||
Thank you Morgan, what will that do exactly?
|
#4
|
|||
|
|||
Double post!! :P
Adding that line; Code:
if ($this->settings['usergroups_view']) && $this->vb->userinfo['usergroupid'] != 86) Code:
Parse error: syntax error, unexpected T_BOOLEAN_AND in /home/XXXX/public_html/geek/gab/includes/gab_class_core.php on line 333 Code:
Warning: require_once([path]/geek/gab/includes/gab_class_core.php) [function.require-once]: failed to open stream: No such file or directory in [path]/global.php(360) : eval()'d code on line 171 Fatal error: require_once() [function.require]: Failed opening required '/home/xxxx/public_html/geek/gab/includes/gab_class_core.php' (include_path='.:/usr/lib/php:/usr/local/lib/php') in /home/xxxx/public_html/global.php(360) : eval()'d code on line 171 |
#5
|
||||
|
||||
Untested, but it should do what you want, though redo the edit. You added an extra right parenthesis, and that is why you are getting an error.
__________________
Please use the forums for support, feature requests, and similar such things. Support does not include custom code, custom template edits, or third-party modifications. PMs and emails to me should be for private information only, such as login information. If you PM or email me a support question, chances are good that I'll ignore it. Thanks. While the work or play is on, it is a lot of fun if while you are doing one you don't constantly feel that you ought to be doing the other. -- Franklin Pierce Adams |
#7
|
|||
|
|||
Another double post...but worth it!
It WORKS! Thanks again Morgan |
Thread Tools | |
Display Modes | |
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
Q: Guest Subscriptions | TheProphet | Geek Gazette | 3 | 10-06-2008 04:13 PM |
User subscriptions in UserCP | henrikhansen | Geek Gazette | 1 | 05-17-2008 10:12 AM |
It says I don't have any product subscriptions, but I paid for one nearly a year ago. | TheHaloGod | Geek Article and Review System | 0 | 01-05-2007 09:54 PM |
Just paid | chet | Geek Auto-Linker | 5 | 07-10-2006 11:24 PM |