Easy Disable/Enable Signature per user
This modification is in the archives.
Easy Disable/Enable Signature per user
I'm looking for this hack for long time but not found. So I decide to edit myself. Now, I share with all of you. NOTE: For 3.8.x version, see this post. What this does ? This hack mod will allow administrator enable/disable signature for each user. Difficulty: Easy with 2 step. Let's begin. 1. First, you need to create a new user profile as follow: Profile Field type: Single-Selection Radio Buttons Title: Enable Signature Description: write whatever you like Option - enter 2 values, each value seperated by Enter, notice the order of each: Code:
Yes No Order : (leave) Required field: No Field Editable by User: No (This option will only allow administrator to edit) Private Field: Yes Other field: No Which page displays this option?: Option Click Save, it will return to User profile field manager page You will see new user profile field, view the name of it, for example in my board is: field17 Remember this 2. In postbit or postbit_legacy template, Find: find: Code:
<if condition="$post['signature']"> <!-- sig --> <div> __________________<br /> $post[signature] </div> <!-- / sig --> </if> Code:
<if condition="$post['field17']!='No'"> <if condition="$post['signature']"> <!-- sig --> <div> __________________<br /> $post[signature] </div> <!-- / sig --> </if> </if> All done. How to use this ? If you want to disable signature for any user, just go to the User Profile in AdminCP and at the option: Enable Signature, select No You like this hack? to receive update of this hack when available Enjoy. Download This modification is archived and cannot be downloaded. Screenshots
|
Similar Mods
Administrative and Maintenance Tools Enable/Disable Settings | vBulletin 3.6 Add-ons |
Miscellaneous Hacks Disable User Signature | Modification Graveyard |