The Arcive of Official vBulletin Modifications Site.It is not a VB3 engine, just a parsed copy! |
|
#1
|
||||
|
||||
sig off
is it posibel to make a hack so the administrator (maybe Smod and mod) turn the signature off from some users.
|
#2
|
||||
|
||||
Ok, here's something that's not even tested.
Run this query: Code:
ALTER TABLE user ADD showselfsig smallint(6) DEFAULT '1' NOT NULL Code:
maketextareacode("Signature","signature",$user[signature],8,45); Code:
makeyesnocode('Display this user\'s signature', 'showselfsig', $user['showselfsig']); Code:
showemail=$showemail, Code:
showselfsig=$showselfsig, In functions.php replace this: Code:
if ($post[showsignature] and $allowsignatures and trim($post[signature])!="" and ($bbuserinfo[userid]==0 or $bbuserinfo[showsignatures])) { Code:
if ($post[showsignature] and $post['showselfsig'] and $allowsignatures and trim($post[signature])!="" and ($bbuserinfo[userid]==0 or $bbuserinfo[showsignatures])) { |
|
|
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
More Information | |
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|