The Arcive of Official vBulletin Modifications Site.It is not a VB3 engine, just a parsed copy! |
|
#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. |
|
|
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
![]() |
|
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|