The Arcive of Official vBulletin Modifications Site.It is not a VB3 engine, just a parsed copy! |
|
#1
|
|||
|
|||
![]()
I am setting up a forum using 3.6 after many years of using 2x versions of vB. I'm still getting used to all the new bells and whistles... so I may be missing something...
I have set up tons of usergroups and permissions, and I'd like they forum to reflect the permissions. ie: if I have a usergroup that does not have posting priveleges, I'd like there to not be a "New Thread" or "post reply" buttons to show. The system gives the person an error if they try to post, but that is not so friendly. Is there a way that these buttons can show up conditionally based on the permission system? |
#2
|
||||
|
||||
![]()
<if condition="!is_member_of($bbuserinfo, 8)">ENTER BUTTON CODE HERE</if>
Slap that around the button code. Replace 8 with the usergroup ID. |
#3
|
|||
|
|||
![]()
I do appreciate getting a reply! But, I have 300 members that all belong to different groups, and all of the groups all have varying permissions in varying forums. In some forums they can post, in others they cannot, all based on different groups. (It's a school with parents, a board, staff -- It's an odd set of permissions.) And we'll want to change permissions later. It makes no sense to me that vB cannot do this already. I mean, if the code only allows certain groups to post in certain forums, then show/hiding the buttons would seem to be a simple change, right? Something like <if usergroup allowed to post reply, then show button, if not, then don't show button. Or show a different button>. I don't want to have to actually name (or number) the usergroup. How would I do that?
|
#4
|
||||
|
||||
![]()
Each group already has a number, just have to grab it from the admin area.
|
![]() |
|
|
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
![]() |
|
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|