The Arcive of Official vBulletin Modifications Site.It is not a VB3 engine, just a parsed copy! |
|
#1
|
|||
|
|||
![]()
Hi,
I would like to disable the ability to subscribe to certain forums via the forum "tools" menu for certain usergroups for a specific forum, so that the ability to subscribe for daily or weekly updates is only available to a certain usergroup for that forum. I tried to use the "if condition bbuserinfo usergroup... , do not show button to subscribe" but then i realised for savvy people they can work around this by just going directly to http://www.myforum.com/subscription....bscription&f=2 i really wish this was an option in the forum permissions page, amongst the options of can post poll or can view others threads, it would be nice to have "can subscribe to forum" Any ideas? please |
#2
|
||||
|
||||
![]()
You could modify the subscriptions.php file directly and not allow them to subscribe. Go to the addsubscription area and add in:
Code:
if ( is_member_of($vbulletin->userinfo, x,y,z) ) { print_no_permission(); } Code:
if (!($forumperms & $vbulletin->bf_ugp_forumpermissions['canview']) OR is_member_of($vbulletin->userinfo, x,y,z)) { print_no_permission(); } (Warning: I have NOT tested this!) |
#3
|
|||
|
|||
![]()
Hi lynne,
thanks i am going to try this straight away and update you --------------- Added [DATE]1210868631[/DATE] at [TIME]1210868631[/TIME] --------------- hi again lynne, quick questions, you know where you have said "OR is_member_of($vbulletin->userinfo, x,y,z)) " where there is already a no permission, do you know the code for "OR forumid = 2"?? so that as a backup if you are trying to subscribe to a particular forum that i have banned for subscriptions it will be printed no permission, no one is allowed to subscribe to this forum just as an alternative? |
#4
|
||||
|
||||
![]()
I think that would be "OR $foruminfo['forumid'] == '2'"
|
#5
|
|||
|
|||
![]()
thank you again Lynne
|
![]() |
|
|
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
![]() |
|
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|