The Arcive of Official vBulletin Modifications Site.It is not a VB3 engine, just a parsed copy! |
|
#1
|
|||
|
|||
Private Forum Mod or Plug-in Request
I need a mod or plug-in which can limit forum permissions by member's profile choise. For example, I will create a custom field which name is "Display Private Forums" and value is field6 with checkbox, then if the checkbox true, this user can view private forums which as selected private by admin.
Thanks now for all replies and interests. |
#2
|
|||
|
|||
Why not just use secondary usergroups for this?
|
#3
|
|||
|
|||
MarcoH64, thank you for your reply. Secondary usergroup seems to be good solution but I want to editable this option by members. If I use secondary usergroups, I must edit members one by one which can able to view private forums.
|
#4
|
||||
|
||||
Why don't you just make those groups public so members can join them themselves?
|
#5
|
|||
|
|||
Just do like zappsan say, Create a Public Joinable Usergroup, if you want to moderate Join Requests, assign a group Leader.
|
#6
|
|||
|
|||
Thanks for replies but I have started to writing plug-in.
I created option for 'private_access' (int) value on forum mySQL table and custom field which id is field6 and name is display private forums but it gives an error on search_start hook. Codes are like this: Code:
foreach ($vbulletin->forumcache as $forumid => $foruminfo) { if ($foruminfo['private_access'] AND !$vbulletin->userinfo['field6']) { $vbulletin->userinfo['forumpermissions'][$forumid] = $vbulletin->userinfo['forumpermissions'][$forumid] ^ $vbulletin->bf_ugp_forumpermissions['canviewthreads']; } } Thanks. |
Thread Tools | |
Display Modes | |
|
|
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
More Information | |
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|