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

Reply
 
Thread Tools
Ban individual user and/or users from sending pm, emails and and visitor messages Details »»
Ban individual user and/or users from sending pm, emails and and visitor messages
Version: 1.00, by borbole borbole is offline
Developer Last Online: Oct 2015 Show Printable Version Email this Page

Category: Administrative and Maintenance Tools - Version: 4.0.2 Rating:
Released: 03-15-2010 Last Update: 04-23-2010 Installs: 79
Uses Plugins
Translations  
No support by the author.

This mod will allow you to ban individual user and/or users from sending Personal Messages, Emails and Visitor Messages. It is faster and handier in my opinion than setting up a custom usergroup and disallow them to use pm''s, emails and vm''s.

Anyway, after installing the hack, go to Settings-Options-Private Messaging Options. There you can enable and disable the hack. You can also enter the id of the users that you want to prevent from sending Personal Messages, Emails and Visitor Messages.

Download Now

File Type: xml pm_email_vm_ban.xml (3.6 KB, 295 views)

Screenshots

File Type: png pm.png (10.3 KB, 0 views)
File Type: png vm.png (10.4 KB, 0 views)
File Type: png email.png (10.1 KB, 0 views)
File Type: png Admin Control Panel_1272122575040.png (104.7 KB, 0 views)

Show Your Support

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

Comments
  #2  
Old 03-16-2010, 08:59 PM
Kolbi Kolbi is offline
 
Join Date: Mar 2009
Location: D - S?dbaden
Posts: 899
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Tagged for future use

Seems to be a nice easy method
Reply With Quote
  #3  
Old 03-16-2010, 09:13 PM
GeorgeB85 GeorgeB85 is offline
 
Join Date: Nov 2008
Posts: 362
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

How can we edit the message that is shown to the user?
Reply With Quote
  #4  
Old 03-16-2010, 09:24 PM
borbole's Avatar
borbole borbole is offline
 
Join Date: Jan 2010
Posts: 2,559
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by Kolbi View Post
Tagged for future use

Seems to be a nice easy method
Thanks

Quote:
Originally Posted by GeorgeB85 View Post
How can we edit the message that is shown to the user?
Open the pm_ban.xml file and find the following code:

PHP Code:
<phrase name="ban_pm_message"><![CDATA[An error has occurred {1}! You are not allowed to send Private Messages.]]></phrase

And change:


Code:
An error has occurred {1}! You are not allowed to send Private Messages.
{1} stands for the username.
Reply With Quote
  #5  
Old 03-16-2010, 09:25 PM
Kolbi Kolbi is offline
 
Join Date: Mar 2009
Location: D - S?dbaden
Posts: 899
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Or search after phrase: "You are not allowed to send Private Messages."
And change it...
Reply With Quote
  #6  
Old 03-16-2010, 09:34 PM
GeorgeB85 GeorgeB85 is offline
 
Join Date: Nov 2008
Posts: 362
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

thanks to you both.
Reply With Quote
  #7  
Old 03-17-2010, 02:43 AM
sulasno sulasno is offline
 
Join Date: Feb 2010
Posts: 588
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

can this Mod be modified to include sending of emails too?
Reply With Quote
  #8  
Old 03-17-2010, 10:31 AM
borbole's Avatar
borbole borbole is offline
 
Join Date: Jan 2010
Posts: 2,559
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by GeorgeB85 View Post
thanks to you both.
You are welcome.

Quote:
Originally Posted by sulasno View Post
can this Mod be modified to include sending of emails too?
I will look into it as soon as I will have some free time.
Reply With Quote
  #9  
Old 03-17-2010, 11:49 AM
BlackJacket's Avatar
BlackJacket BlackJacket is offline
 
Join Date: Nov 2008
Location: 070108111114105100100
Posts: 364
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Great mod!

Suggestion - PM ban selection from user postbit?
Reply With Quote
  #10  
Old 03-17-2010, 05:30 PM
bigcurt's Avatar
bigcurt bigcurt is offline
 
Join Date: Nov 2004
Location: KierDarby.php
Posts: 1,009
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

By chance, does this work on 3.X?
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 02:47 PM.


Powered by vBulletin® Version 3.8.12 by vBS
Copyright ©2000 - 2024, vBulletin Solutions Inc.
X vBulletin 3.8.12 by vBS Debug Information
  • Page Generation 0.04394 seconds
  • Memory Usage 2,319KB
  • Queries Executed 24 (?)
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
  • (1)bbcode_code
  • (1)bbcode_php
  • (4)bbcode_quote
  • (1)footer
  • (1)forumjump
  • (1)forumrules
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (1)modsystem_post
  • (1)navbar
  • (4)navbar_link
  • (120)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (2)pagenav_pagelink
  • (10)post_thanks_box
  • (10)post_thanks_button
  • (1)post_thanks_javascript
  • (1)post_thanks_navbar_search
  • (10)post_thanks_postbit_info
  • (9)postbit
  • (5)postbit_attachment
  • (10)postbit_onlinestatus
  • (10)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_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
  • post_thanks_function_fetch_thanks_end
  • post_thanks_function_thanked_already_start
  • post_thanks_function_thanked_already_end
  • fetch_musername
  • postbit_imicons
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • postbit_attachment
  • postbit_display_complete
  • post_thanks_function_can_thank_this_post_start
  • pagenav_page
  • pagenav_complete
  • tag_fetchbit_complete
  • forumrules
  • navbits
  • navbits_complete
  • showthread_complete