![]() |
Disable Signatures per user
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 Now Find in Postbit / Postbit Legacy Code:
<if condition="$post['signature']"> Code:
<if condition="$post['signature'] AND $post[fieldXX]!= 'No'"> Code:
replace XX with the field of the new profile field Code:
$userinfo[signature] Code:
<if condition="$userinfo[fieldXX]!= 'No'">$userinfo[signature] 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 |
brilliant work! I likes!
|
Great punishment! :) Thanks!
|
Nice hack... thanks for posting.
|
Just posted an upgrade so you can now show "disabled by the adminstrator" in their profile
to upgrade just Open Member info and find Code:
$userinfo[signature] Code:
<if condition="$userinfo[fieldXX]!= 'No'">$userinfo[signature] Code:
replace XX with the field of the new profile field and your done |
This will prove quite useful at my forum, so far i'd been disabling signatures via a seperate usergroup and permissions.
Thank you. |
brawo thank you
|
Cant get it to work. If I disabled user A's signature. It doesnt show in the postbit for me, the admin, (which is good) however if Im logged in as another test user, he/she can see the signature still fine? hmmm
|
Quote:
|
Quote:
|
All times are GMT. The time now is 02:36 PM. |
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:
|