View Full Version : Administrative and Maintenance Tools - Ban individual user and/or users from sending pm, emails and and visitor messages
borbole
03-15-2010, 10:00 PM
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
Tagged for future use :)
Seems to be a nice easy method :)
Thanks :)
How can we edit the message that is shown to the user?
Open the pm_ban.xml file and find the following code:
<phrase name="ban_pm_message"><![CDATA[An error has occurred {1}! You are not allowed to send Private Messages.]]></phrase>
And change:
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
thanks to you both.
You are welcome.
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
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.
<dependency dependencytype="vbulletin" minversion="4.0.0" maxversion="5.0.0" />
borbole
03-26-2010, 07:24 PM
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?
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
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
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
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.
<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
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
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)
Might be handy to extend it to reputation comments too as I find this helpful for stalking activity as well as spammers.
Sylphy
02-20-2011, 10:37 PM
does not work, PMs are still able to be sent. Vbulletin 3.8
Conehead555
08-29-2011, 07:47 AM
Excellennnnnt! 4.1.4
sticky
10-20-2011, 03:28 AM
This is a fantastic mod but would it be possible to add an option for signatures and avatars as well?
borbole
10-20-2011, 04:05 PM
This is a fantastic mod but would it be possible to add an option for signatures and avatars as well?
For the signatures I have coded another mod that will do that.
https://vborg.vbsupport.ru/showthread.php?t=239408
MalluParadise
10-23-2011, 11:30 PM
is this mod still work with 4.1.7?
sticky
10-24-2011, 04:58 AM
For the signatures I have coded another mod that will do that.
https://vborg.vbsupport.ru/showthread.php?t=239408
Awesome!!
Any way to include a ban for avatars as I still have a custom usergroup for that...
sticky
02-07-2012, 10:57 AM
User who I have listed with this mod is reporting a problem after 4.1.10 when trying to reply getting this:
sticky
04-19-2012, 12:37 AM
Just doesn't work right under 4.1.12, stopped functioning.
lapiervb
10-01-2015, 06:29 PM
Does this mod still work?
vBulletin® v3.8.12 by vBS, Copyright ©2000-2024, vBulletin Solutions Inc.