The Arcive of Official vBulletin Modifications Site.It is not a VB3 engine, just a parsed copy! |
|
#1
|
||||
|
||||
Restrict usergroups to see signatures
I want to restrict certain members to see signatures for example, what do i need to do?
I go to postbit template and find: HTML Code:
<if condition="$post['signature']">
but, I cant remember the code i have to replace with to exclude certain usergroups to see it. Something similar to this: HTML Code:
<if condition="$post['signature'] AND $usergrpup['????] != 1">
|
#2
|
||||
|
||||
Easiest way
postbit_display_complete PHP Code:
Most efficient way: - Use an SQL-Query to turn Sig display off for all Users in Usergroups you don't want to be able to view sigs - Create a Plugin for Hook userdata_presave that checks if the user is in an unsergroup that does not have permission and then unset the view signatures option |
#3
|
||||
|
||||
woh000!
ermm... Am I suposed to put that in the template or is it a PHP File edit? sorry but im not much of a coder heh |
#4
|
||||
|
||||
Neither
It's a Plugin for Hook postbit_display_complete |
#5
|
||||
|
||||
thanks, ill have to wait till I learn then. =D
|
|
|
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
More Information | |
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|