![]() |
FAQ viewable by user/usergroup only?
Can the FAQ itself, or individual pages/parents, be made viewable only by registered members/certain usergroups? I am having difficulty searching the forums for this information, as the search term "faq" really undermines the search itself. :confused:
Thank you for your time. |
No the FAQ is not permission based.
|
Quote:
I've used this, for example, on other sections: <if condition="$bbuserinfo['userid']"> ...content... </if> --------------- Added [DATE]1274795136[/DATE] at [TIME]1274795136[/TIME] --------------- I wrapped the faq.php (per style/template) with right after the $header / $navbar <if condition="(in_array($vbulletin->userinfo['usergroupid'], array(x,x,x)))"> and this right above the $footer </if> Seems to work, but it's all-or-nothing. Wondering if I can somehow get it to a per-FAQ-entry level. Any suggestions? |
I think you would need a few plugins. Look at faq.php and you'll see the different hooks available. You'll want to hook into any query and not allow searching of that particular faq item if it is that usergroup and also not display that faq item if it is that usergroup.
|
All times are GMT. The time now is 02:44 AM. |
Powered by vBulletin® Version 3.8.12 by vBS
Copyright ©2000 - 2025, vBulletin Solutions Inc.
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
![]() |
|
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|