![]() |
what is the code for limiting access to certain usergroup?
what is the code to make only certain usergroups view things
|
That would be under either the forum permissions if you wanted to modify forum access, or for most other things it would be under the edit usergroup page (ie vBplaza, vbux, etc. I few things like the shoutbox permissions are changed under the main settings page.
|
Quote:
|
a simple conditional would do.
Code:
<if condition="is_member_of($bbuserinfo, USERGROUPID)">Some Codes Go HERE</if> |
another would be:
Code:
<if condition="$show['guest']"> |
what would the conditional be to limit access to certain code only being displayed in certain forums. Let's say I don't want a certain gif image to be displayed in postbit in one particular forum? how would I do that?
|
I don't think that can be done by conditionals in template. You would have to write some plugin or modifying the file.
|
Code:
<if condition="$foruminfo[forumid] == XX"> |
thanks much acidburn0520. Lets say I wanted to put this in postbit to disallow the IP address tracking for a certain forum - would it look like this?
Code:
<if condition="$foruminfo[forumid]==49"> |
No, I don't think that's possible without some extra hacking. Wouldn't that be somewhat pointless, seeing as someone could get the IP Address from a post by a specific user in another forum?
|
All times are GMT. The time now is 03:30 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:
|