The Arcive of Official vBulletin Modifications Site.It is not a VB3 engine, just a parsed copy! |
|
|
#1
|
||||
|
||||
How to restrict usergroups from using certain functionality?
It is possible to restrict viewing of certain (template) functions to member groups of choice, by using this conditional:
<if condition="is_member_of($bbuserinfo,4,5,6,7)">[insert code that you want to restrict]</if> 4,5,6,7 are the user groups and can be replaced for any other user group. This way you can for instance restrict all members, except those in usergroups 4,5,6 and 7 to see videos on profiles. However, this way of restricting functions for visitors of the page is often confused with restricting functions for the member the function relates to. i.e. the member who's profile, post is concerned. If you have a function on profiles or posts that you want to restrict to certain usergroups, then how do you handle that? For example: You want only users within usergroup 11and 12 to be able to show a video on their profile. What conditional code can you use to accomplish this? Should MEMBERINFO be modified for this or is there a more backend way of doing this? |
|
|
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
More Information | |
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|