vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vBulletin 4.x Add-ons (https://vborg.vbsupport.ru/forumdisplay.php?f=245)
-   -   Administrative and Maintenance Tools - Ban individual user and/or users from sending pm, emails and and visitor messages (https://vborg.vbsupport.ru/showthread.php?t=238433)

borbole 03-15-2010 10:00 PM

Ban individual user and/or users from sending pm, emails and and visitor messages
 
1 Attachment(s)
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.

Kolbi 03-16-2010 08:59 PM

Tagged for future use :)

Seems to be a nice easy method :)

GeorgeB85 03-16-2010 09:13 PM

How can we edit the message that is shown to the user?

borbole 03-16-2010 09:24 PM

Quote:

Originally Posted by Kolbi (Post 2005024)
Tagged for future use :)

Seems to be a nice easy method :)

Thanks :)

Quote:

Originally Posted by GeorgeB85 (Post 2005034)
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.

Kolbi 03-16-2010 09:25 PM

Or search after phrase: "You are not allowed to send Private Messages."
And change it...

GeorgeB85 03-16-2010 09:34 PM

thanks to you both.

sulasno 03-17-2010 02:43 AM

can this Mod be modified to include sending of emails too?

borbole 03-17-2010 10:31 AM

Quote:

Originally Posted by GeorgeB85 (Post 2005048)
thanks to you both.

You are welcome.

Quote:

Originally Posted by sulasno (Post 2005228)
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.

BlackJacket 03-17-2010 11:49 AM

Great mod!

Suggestion - PM ban selection from user postbit?

bigcurt 03-17-2010 05:30 PM

By chance, does this work on 3.X? :)

borbole 03-18-2010 12:07 PM

Quote:

Originally Posted by bigcurt (Post 2005699)
By chance, does this work on 3.X? :)


The thing is that I don't use vb 3x and wouldn''t know if it work there or not. But tell you what, try to remove this line from the xml file and give it a go, but at your test forum. If it works then install it at your live forum.

Code:

<dependency dependencytype="vbulletin" minversion="4.0.0" maxversion="5.0.0" />

borbole 03-26-2010 07:24 PM

Quote:

Originally Posted by sulasno (Post 2005228)
can this Mod be modified to include sending of emails too?

I just included the mail option as well besides the pm''s.

sulasno 03-27-2010 02:50 AM

thanks for the update ^^^

borbole 03-27-2010 02:39 PM

You are welcome.

denman75 04-10-2010 06:36 PM

does not work on my board :(

borbole 04-10-2010 07:32 PM

What version of vb do you have? Did you enable the settings accordingly after the installation?

ged 04-12-2010 11:20 AM

Can it be expanded as banning a user from user profile visitor messaging?

Hall of Famer 04-12-2010 09:31 PM

Thanks a lot for this, now I can ban those pathetic forum advertisers from sending massive PMs now. XD

RedPoint 04-24-2010 08:51 AM

Quote:

Originally Posted by ged (Post 2019883)
Can it be expanded as banning a user from user profile visitor messaging?

Thats i need too, send me please a message when you find any solution for

borbole 04-24-2010 08:58 AM

I will update the mod with the option for banning a user from the visitor message as well shortly.

borbole 04-24-2010 10:29 AM

Quote:

Originally Posted by ged (Post 2019883)
Can it be expanded as banning a user from user profile visitor messaging?

Done. The option to add a ban for visitor messages is just added.

vijayninel 05-05-2010 03:32 PM

Edit: Does not work on 3.8

Juggernaut 07-22-2010 11:55 PM

Working fine in vB 4.0.5 :D

denman75 08-01-2010 06:04 PM

if i disable the pm function for a user ,this case my self for a test
after the test i remove my id , the ban still holds ,
so its still not working good on my board ,to bad seems like a good mod

Yurified 08-04-2010 02:31 PM

This is great but I only need for PMs ._.

sulasno 08-25-2010 08:11 AM

can this mod be applied to guests as well ?

Mickie D 08-28-2010 01:11 PM

Can we get this on 3.8X ?

Regards
Mickie

borbole 08-28-2010 01:20 PM

Quote:

Originally Posted by Mickie D (Post 2090702)
Can we get this on 3.8X ?

Regards
Mickie

Try to remove this code fromt he xml file and give it a go on a 3x8 forum. It should work.

HTML Code:

<dependency dependencytype="vbulletin" minversion="4.0.0" maxversion="5.0.0" />

Ninos 10-25-2010 07:03 PM

Hopefully this works on 4.0.7! Will install it now and update this post.

Thanks for the great mod!

Ninos 10-27-2010 05:53 PM

Nice one it works! Marked as Installed. Sometimes i think it's the smaller, more simple mods like these that are the most useful.

One suggestion is to make it an available option in the front end (just like how a lot of other admin settings are, eg. banning users) and additionally giving us the option of making it available for Moderators to make use of.

Thanks again

Ninos 10-28-2010 01:38 AM

Okay, to my surprise i just received a PM from member i had banned! So i also banned a test account and tried to send a PM to myself and it got through! I also was able to sucessfully send a PM to a non-admin/mod.

Damn and i was so happy about this mod :(

Running vB4.0.7 if anyone can help.

imported_silkroad 11-01-2010 07:42 PM

This is a nice mod.

You might consider to add some clientscript (javascript, ajax) to permit a mod or admin to add a user to this ban list by clicking on their user name in their profile, or something similar.

It is to much work to open the AdminCP and cut-and-paste a single user id, don't you think? There are better ways to add the user id to the database.

Ninos 11-02-2010 06:07 PM

Quote:

Originally Posted by imported_silkroad (Post 2116888)
It is to much work to open the AdminCP and cut-and-paste a single user id, don't you think? There are better ways to add the user id to the database.

Agreed!

Hey wat version are you running it on?

imported_silkroad 11-03-2010 03:47 AM

We are not running it yet, but plan to install if we don't have to login to the AdminCP to do the deed.

Ninos 11-08-2010 10:02 PM

Ah okay. I PM'ed the developer about a week ago but no response so far. I hope this mod gets updated.

pretty.witch 11-19-2010 01:50 AM

Thanks, very useful!

RedFoxy 11-23-2010 03:09 PM

there is a way to have it in user panel unser admincp/modcp? I want that my mod and glob mod can edit and add user in that ban list

OldSchoolDSL 11-24-2010 05:08 AM

Very useful.

Working in 4.0.8

denman75 11-24-2010 11:01 AM

Quote:

Originally Posted by Ninos (Post 2115077)
Okay, to my surprise i just received a PM from member i had banned! So i also banned a test account and tried to send a PM to myself and it got through! I also was able to sucessfully send a PM to a non-admin/mod.

Damn and i was so happy about this mod :(

Running vB4.0.7 if anyone can help.

this is exactly what i have

mrdexx 12-14-2010 10:15 PM

Worked for me! (still using 4.0.6)


All times are GMT. The time now is 05:48 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.01355 seconds
  • Memory Usage 1,794KB
  • Queries Executed 10 (?)
More Information
Template Usage:
  • (1)ad_footer_end
  • (1)ad_footer_start
  • (1)ad_header_end
  • (1)ad_header_logo
  • (1)ad_navbar_below
  • (2)bbcode_code_printable
  • (1)bbcode_html_printable
  • (1)bbcode_php_printable
  • (11)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (1)pagenav_pagelink
  • (1)post_thanks_navbar_search
  • (1)printthread
  • (40)printthreadbit
  • (1)spacer_close
  • (1)spacer_open 

Phrase Groups Available:
  • global
  • postbit
  • showthread
Included Files:
  • ./printthread.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/class_bbcode_alt.php
  • ./includes/class_bbcode.php
  • ./includes/functions_bigthree.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
  • printthread_start
  • pagenav_page
  • pagenav_complete
  • bbcode_fetch_tags
  • bbcode_create
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • printthread_post
  • printthread_complete