The Arcive of Official vBulletin Modifications Site.It is not a VB3 engine, just a parsed copy! |
|
#1
|
||||
|
||||
certain usergroups can only see certain threads
I want to make it so only certain usergroups view only 1 or 2 threads in a section. I have them set to view the forum in forum permissions, and the content and others threads are set to No. I bypassed the content with a plugin, but now I need to make that thread viewable when they goto the forum section.
Here is the code for the content bypass which is hooked into showthread_getinfo: Code:
if ( $vbulletin->userinfo['usergroupid'] == 1 AND in_array($threadid, array(669)) ) { $vbulletin->bf_ugp_forumpermissions['canviewthreads'] = 1; } |
|
|
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
More Information | |
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|