![]() |
sig off
is it posibel to make a hack so the administrator (maybe Smod and mod) turn the signature off from some users.
|
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])) { |
All times are GMT. The time now is 07:24 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:
|