Back to vBulletin 3.0 Template Modifications

Disable Signatures per user
Mod Version: 1.00, by msimplay

This modification is in the archives.
vB Version: Rating: (0 vote - 0 average) Installs: 5
Released: 18 Mar 2005 Last Update: Never Downloads: 8
Not Supported  

Well I've been having arguements about signature sizes with a user of mine.
Usually I'd ban the person but maybe it would be a better punishment just to disable their ability to display signatures within the postbit and a few people have asked for this on vbulletin.org and even released a hack for it but i don't really want to hack when i could do it via templates just as effectively and then i decided to share with everyone here

This should work on any version of vb3

first create a new profile field
Code:
Title: Allow Signature
Description: Your Own Description here
Type: Single-Selection Radio Buttons
Options: Yes and on the second line No (case sensetive)
Display Page:	Edit profile (or anywhere u want)
Set Default: Yes
Field editable by user: No
Field Hidden on Profile: Yes
Field Searchable on Members List: No
Show on Members List: No
Allow user to input their own value for this option: No
make a note of the [fieldXX] number

Now Find in Postbit / Postbit Legacy
Code:
<if condition="$post['signature']">
and replace with

Code:
<if condition="$post['signature'] AND $post[fieldXX]!= 'No'">
and now
Code:
replace XX with the field of the new profile field
Now Open MEMBERINFO template and find

Code:
$userinfo[signature]
and replace with

Code:
<if condition="$userinfo[fieldXX]!= 'No'">$userinfo[signature]
<else />
<center>Signature Disabled By The Administrator</center></if>
Code:
 replace XX with the field of the new profile field and your done

you can now enable and disable signatures in the postbit via their user options
and the profile field will be hidden to all except moderators and above

In member info it will show disabled by the administrator

Download

This modification is archived and cannot be downloaded.

Screenshots

   


vblts.ru supports vBulletin®, 2022-2024