Status
Not open for further replies.

Mick

Customer
Hi,

I wanted to know how I stop adverts from showing to certain usergroups.

I looked in the usergroup setting and could not see anything??

We have contributed members and a VIP group, I would not want them to see adverts.

Cheers
Mick
 
In vBulletin's Advertising area, edit each area and use the criteria function to exclude it from your Premium users :)
 
Thanks very good :)


Quite an extensive modification I think I will wait till the weekend lol, and give it a good going over!!

Nice one

Mick
 
Fillip H., does this also cover keywords?

I cannot seem to find the keyword options to allow/disallow usergroups...

Regards
Mick
 
No, there are no usergroup permissions related to keywords.

Would you consider this for a future release, I cant force keywords on VIP members, it's not very nice lol.

Or is there a template I can find the keyword replacement part in and use this conditional maybe....

Code:
<vb:if condition="!is_member_of($bbuserinfo, 2,6,7,25,27,23,49,64,72,75,77,78,79,80,81,82)">
 
You can add a similar clause to this part of postbit_display_start:
PHP:
if (!defined('IN_MOBIQUO') AND !defined('IN_FRNR'))
 
You can add a similar clause to this part of postbit_display_start:
PHP:
if (!defined('IN_MOBIQUO') AND !defined('IN_FRNR'))

Is that in this plugin

Keyword Integration: Post - Start

Also sorry what is FRNR in relation to?

I am guessing the first part is does not equal tapatalk...

Do I need to create an array?

Cheers, and thank you very much.

Mick
 
Open up /dbtech/forumads/hooks/postbit_display_start.php and find
PHP:
if (!defined('IN_MOBIQUO') AND !defined('IN_FRNR'))

Replace with
PHP:
if (!defined('IN_MOBIQUO') AND !defined('IN_FRNR') AND !is_member_of($this->registry->userinfo, 2,6,7,25,27,23,49,64,72,75,77,78,79,80,81,82))
 
Status
Not open for further replies.

Legacy DragonByte Forum Ads

vBulletin 4.x.x
Seller
DragonByte Technologies
Release date
Last update
Total downloads
337
Customer rating
0.00 star(s) 0 ratings
Back
Top