Go Back   vb.org Archive > vBulletin Modifications > vBulletin 3.8 Modifications > vBulletin 3.8 Add-ons
FAQ Community Calendar Today's Posts Search

Reply
 
Thread Tools
Disable Signature Per User Plugins Details »»
Disable Signature Per User Plugins
Version: 1.00, by vijayninel vijayninel is offline
Developer Last Online: Sep 2015 Show Printable Version Email this Page

Category: Moderators Functions - Version: 3.8.7 Rating:
Released: 01-25-2012 Last Update: Never Installs: 8
Uses Plugins
Re-useable Code  
No support by the author.

Hi,

Sometimes we get some members who misuse the signature facility and violate forum rules. While vBulletin allows you to edit their signatures, it doesn't allow you to disable them. The following plugins will disable signatures per user.

I don't have proper knowledge to make a full product out of these plugins. Anyone is welcome to convert these plugins into a full vBulletin product.

The members signature occurs on two places in the site. The Forum threads and on their profile pages.

To Disable Signatures in Forum Threads :

Go to Admin Control Canel > Plugins and Products > Add New Plugin and put down the following.

Product : vbulletin

Hook Location : postbit_display_complete

Title : Thread signature remover

Plugin PHP Code :

PHP Code:
if (in_array($post['userid'], array(1,2)))
{
$post['signature'] = false;

Plugin is Active : yes

Instead of 1,2 in the plugin add the userid's of the members whose signature you want to disable.

------------------------------------------------------------------

To Disable Signatures in Members Profile :

Go to Admin Control Canel > Plugins and Products > Add New Plugin and put down the following.

Product : vbulletin

Hook Location : member_profileblock_fetch_unwrapped

Title : Profile page signature remover

Plugin PHP Code :

PHP Code:
if (in_array($prepared['userid'], array(1,2)))
{
$prepared['signature'] = false;

Plugin is Active : yes

Instead of 1,2 in the plugin add the userid's of the members whose signature you want to disable.

----------------------------------------------------------------

Hope that helps keep your forum clean.

Show Your Support

  • This modification may not be copied, reproduced or published elsewhere without author's permission.

Comments
  #2  
Old 01-26-2012, 04:28 PM
Boofo's Avatar
Boofo Boofo is offline
 
Join Date: Mar 2002
Location: Des Moines, IA (USA)
Posts: 15,776
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

I made a product for this quite a while back for my site. Good to see it out in the wild.
Reply With Quote
Благодарность от:
vijayninel
  #3  
Old 01-26-2012, 08:49 PM
temsamane temsamane is offline
 
Join Date: Sep 2010
Posts: 168
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

i need this for vb 4.x.x
Reply With Quote
  #4  
Old 02-06-2012, 03:24 PM
BlownFiveLiter's Avatar
BlownFiveLiter BlownFiveLiter is offline
 
Join Date: Jul 2009
Posts: 7
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Doesn't creating a usergroup that disallows signatures accomplish the same thing? Create a usergroup based off of whatever group you want to copy, but select no in usergroup manager under "can use signatures."
Reply With Quote
  #5  
Old 02-07-2012, 08:42 AM
vijayninel's Avatar
vijayninel vijayninel is offline
 
Join Date: Mar 2009
Posts: 537
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by BlownFiveLiter View Post
Doesn't creating a usergroup that disallows signatures accomplish the same thing? Create a usergroup based off of whatever group you want to copy, but select no in usergroup manager under "can use signatures."
Then you will have to set that usergroup as the primary usergroup for that member. This can lead to other kinds of permission problems and is not always desirable.
Reply With Quote
  #6  
Old 02-27-2012, 05:37 PM
trotskid trotskid is offline
 
Join Date: Feb 2009
Posts: 204
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Works perfect on 3.8.4 PL2 :up:

Installed!
Reply With Quote
Благодарность от:
vijayninel
  #7  
Old 02-29-2012, 10:54 AM
bestone96 bestone96 is offline
 
Join Date: Sep 2011
Posts: 12
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

thanks a lot
Reply With Quote
Reply


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT. The time now is 11:33 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
  • Page Generation 0.08394 seconds
  • Memory Usage 2,287KB
  • Queries Executed 23 (?)
More Information
Template Usage:
  • (1)SHOWTHREAD
  • (1)ad_footer_end
  • (1)ad_footer_start
  • (1)ad_header_end
  • (1)ad_header_logo
  • (1)ad_navbar_below
  • (1)ad_showthread_beforeqr
  • (2)bbcode_php
  • (1)bbcode_quote
  • (1)footer
  • (1)forumjump
  • (1)forumrules
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (1)modsystem_post
  • (1)navbar
  • (4)navbar_link
  • (120)option
  • (7)post_thanks_box
  • (2)post_thanks_box_bit
  • (7)post_thanks_button
  • (1)post_thanks_javascript
  • (1)post_thanks_navbar_search
  • (2)post_thanks_postbit
  • (7)post_thanks_postbit_info
  • (6)postbit
  • (7)postbit_onlinestatus
  • (7)postbit_wrapper
  • (1)spacer_close
  • (1)spacer_open
  • (1)tagbit_wrapper 

Phrase Groups Available:
  • global
  • inlinemod
  • postbit
  • posting
  • reputationlevel
  • showthread
Included Files:
  • ./showthread.php
  • ./global.php
  • ./includes/init.php
  • ./includes/class_core.php
  • ./includes/config.php
  • ./includes/functions.php
  • ./includes/class_hook.php
  • ./includes/modsystem_functions.php
  • ./includes/functions_bigthree.php
  • ./includes/class_postbit.php
  • ./includes/class_bbcode.php
  • ./includes/functions_reputation.php
  • ./includes/functions_post_thanks.php 

Hooks Called:
  • init_startup
  • init_startup_session_setup_start
  • init_startup_session_setup_complete
  • cache_permissions
  • fetch_postinfo_query
  • fetch_postinfo
  • fetch_threadinfo_query
  • fetch_threadinfo
  • fetch_foruminfo
  • style_fetch
  • cache_templates
  • global_start
  • parse_templates
  • global_setup_complete
  • showthread_start
  • showthread_getinfo
  • forumjump
  • showthread_post_start
  • showthread_query_postids
  • showthread_query
  • bbcode_fetch_tags
  • bbcode_create
  • showthread_postbit_create
  • postbit_factory
  • postbit_display_start
  • post_thanks_function_post_thanks_off_start
  • post_thanks_function_post_thanks_off_end
  • post_thanks_function_fetch_thanks_start
  • fetch_musername
  • post_thanks_function_fetch_thanks_end
  • post_thanks_function_thanked_already_start
  • post_thanks_function_thanked_already_end
  • postbit_imicons
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • postbit_display_complete
  • post_thanks_function_can_thank_this_post_start
  • post_thanks_function_fetch_thanks_bit_start
  • post_thanks_function_show_thanks_date_start
  • post_thanks_function_show_thanks_date_end
  • post_thanks_function_fetch_thanks_bit_end
  • post_thanks_function_fetch_post_thanks_template_start
  • post_thanks_function_fetch_post_thanks_template_end
  • tag_fetchbit_complete
  • forumrules
  • navbits
  • navbits_complete
  • showthread_complete