Register Members List Search Today's Posts Mark Forums Read

Reply
 
Mod Options
PM Block by BOP5 (Private Message Block Lists per User) Details »»
PM Block by BOP5 (Private Message Block Lists per User)
Mod Version: 1.1, by BirdOPrey5 (Moderator) BirdOPrey5 is offline
Developer Last Online: Aug 2015 I like it Show Printable Version Email this Page

vB Version: 3.8.x Rating: (6 votes - 4.83 average) Installs: 28
Released: 21 Jun 2011 Last Update: 06 Jul 2011 Downloads: 141
Not Supported Uses Plugins Code Changes Translations  

Updated to Version 1.1 - NO FILE EDITS REQUIRED!!

This mod allows your users to setup their own personal private message block lists. No one on their lists will be allowed to PM them. (You can optionally specify immune usergroups such as admins and mods that can't be blocked.)

You can also optionally enable 2-way blocking so if one user adds someone to their block list they can not PM that user either. (Recommended)

This mod requires you to create 1 multi-line user profile field via your Admin CP. Detailed instructions for doing so are included in the installation instructions in the .zip.

LIMITATIONS OF THIS MOD:
  • If a user changes usernames the block list will need to be updated with the new username.

Notes:
  • When adding a username to the block list capitalization of the letters do not count but all other punctuation such as spaces DO count.

This mod adds 2 phrases in Error Messages:
  • pm_blocked - This is the error shown when a user has been put on the recipients block list.
  • pm_denied - This is the error shown when 2-way blocking is enabled and a user tries to PM a recipient on their own block list.

Current Version: 1.1 - Minor bugfix
1.0 - No file edits required!
0.9 - Stable Beta / Initial Release

This has been tested on 3.8.7, 4.0.8, and 4.1.2 and is expected to work on all 3.7/8, 4.0/1 versions.

Download Now

Only licensed members can download files, Click Here for more information.

Screenshots

Click image for larger version

Name:	pmb_settings.jpg
Views:	187
Size:	77.8 KB
ID:	130263Click image for larger version

Name:	pmb_vb3_blockerror.jpg
Views:	307
Size:	242.8 KB
ID:	130264Click image for larger version

Name:	pmb_vb3_denyerror.jpg
Views:	276
Size:	241.8 KB
ID:	130265Click image for larger version

Name:	pmb_vb3_profilefield.jpg
Views:	248
Size:	144.6 KB
ID:	130266

Show Your Support

  • To receive notifications regarding updates -> Click to Mark as Installed.
  • If you like this modification support the author by donating.
  • This modification may not be copied, reproduced or published elsewhere without author's permission.
Similar Mod
Mod Developer Type Replies Last Post
Block Censored Words in Posts by BOP5 VB4 BirdOPrey5 vBulletin 4.x Add-ons 85 13 Apr 2015 15:51
Block Censored Words in Posts by BOP5 BirdOPrey5 vBulletin 3.8 Add-ons 11 12 Jul 2011 16:19

Comments
  #2  
Old 21 Jun 2011, 17:08
BirdOPrey5's Avatar
BirdOPrey5 BirdOPrey5 is offline
 
Join Date: Jun 2008
Real name: Joe D.
Reserved.
__________________
-Joe (@BirdOPrey5)
Qapla.com - Exclusive VB Mods! | Joe's Ultimate Off Topic | My Free VB "Mods"
Note - I do not read my PMs often, do not expect quick replies.
Reply With Quote
  #3  
Old 24 Jun 2011, 15:04
Braders Braders is offline
 
Join Date: Apr 2007
Just what the doctor ordered, well in my case a few members and coincidentally they only started bugging me about it today. So thanks for this!

Installation and instructions followed to the letter and all appears to be in order.

I'll just await my members feedback.

Thanks again.
Reply With Quote
  #4  
Old 28 Jun 2011, 06:43
imedic's Avatar
imedic imedic is offline
 
Join Date: Mar 2008
Should be VB default setting ... Great mod, many thanks.

Unfortunately upon testing I have received this error when trying to send PM to a blocked user:
Warning: Invalid argument supplied for foreach() in [path]/private.php on line 1187
and the MP pass trough.
Putting a moderator on ignore list is possible and you cannot send him a message (your mod is working). You receive the normal error message you set.

I have added registered users to Immune group ( your mod work for moderators set in immune group) but messages still pass trough and above error is shown for this users.

Additional testing: if a moderator is ignoring a user, if user try to send him a message will pass trough.

I installed it on a vb 3.8.5 and I have another PM enhancement (pop up private message). among other mods.

Last edited by imedic : 28 Jun 2011 at 15:05. Reason: corrected text
Reply With Quote
  #5  
Old 28 Jun 2011, 11:55
BirdOPrey5's Avatar
BirdOPrey5 BirdOPrey5 is offline
 
Join Date: Jun 2008
Real name: Joe D.
Originally Posted by imedic View Post
Should be VB default setting ... Great mod, many thanks.

Unfortunately upon testing I have received this error when trying to send email to a blocked user: and the MP pass trough.
Putting a moderator on ignore list is possible and you cannot send him a message (your mod is working). You receive the normal error message you set.

I have added registered users to Immune group ( your mod work for moderators set in immune group) but messages still pass trough and above error is shown for this users.

Additional testing: if a moderator is ignoring a user, if user try to send him a message will pass trough.

I installed it on a vb 3.5 and I have another PM enhancement (pop up private message). among other mods.
Can you confirm you are saying you got this error when trying to send an email to a blocked user? What were using to send the email? This mod shouldn't affect emails at all.

I really couldn't test this on vb 3.5 either so that might be part of the issue. I was able to test on 3.8 and 4.0 and there are no errors in normal operation of the mod.
__________________
-Joe (@BirdOPrey5)
Qapla.com - Exclusive VB Mods! | Joe's Ultimate Off Topic | My Free VB "Mods"
Note - I do not read my PMs often, do not expect quick replies.
Reply With Quote
  #6  
Old 28 Jun 2011, 15:05
imedic's Avatar
imedic imedic is offline
 
Join Date: Mar 2008
Ups sorry I went to sleep very late:
I am receiving errors when trying to send PM's and forum is 3.8.5 (not the last version 3.8.7) not 3.5 ....
And mod is great as I just had an issue with a user reporting abusive PM's. Any help would be great.
I double check edit of the file and is done ok.

Last edited by imedic : 28 Jun 2011 at 15:39.
Reply With Quote
  #7  
Old 28 Jun 2011, 16:06
BirdOPrey5's Avatar
BirdOPrey5 BirdOPrey5 is offline
 
Join Date: Jun 2008
Real name: Joe D.
Can you PM me a partial copy of your private.php file, starting 10 lines or so before the edit and going to 10 lines or so after the edit?
__________________
-Joe (@BirdOPrey5)
Qapla.com - Exclusive VB Mods! | Joe's Ultimate Off Topic | My Free VB "Mods"
Note - I do not read my PMs often, do not expect quick replies.
Reply With Quote
  #8  
Old 28 Jun 2011, 17:26
BirdOPrey5's Avatar
BirdOPrey5 BirdOPrey5 is offline
 
Join Date: Jun 2008
Real name: Joe D.
The issue with imedic was the file edit in the wrong spot.

Please be careful when making your file edit- it needs to be below $pmdm->pre_save(); , not just the first hook:


Block Disabled:      (Update License Status)  
Suspended or Unlicensed Members Cannot View Code.

__________________
-Joe (@BirdOPrey5)
Qapla.com - Exclusive VB Mods! | Joe's Ultimate Off Topic | My Free VB "Mods"
Note - I do not read my PMs often, do not expect quick replies.

Last edited by BirdOPrey5 : 28 Jun 2011 at 18:05.
Reply With Quote
  #9  
Old 28 Jun 2011, 17:55
borbole's Avatar
borbole borbole is offline
 
Join Date: Jan 2010
I have noticed that you have created several very nice mods BirdOPrey5. Keep up the good work
__________________
My mods.
Reply With Quote
  #10  
Old 28 Jun 2011, 18:02
BirdOPrey5's Avatar
BirdOPrey5 BirdOPrey5 is offline
 
Join Date: Jun 2008
Real name: Joe D.
Thanks borbole... I hope one day you start releasing more again too... There were several of yours I installed and/or tagged.
__________________
-Joe (@BirdOPrey5)
Qapla.com - Exclusive VB Mods! | Joe's Ultimate Off Topic | My Free VB "Mods"
Note - I do not read my PMs often, do not expect quick replies.
Reply With Quote
  #11  
Old 28 Jun 2011, 18:11
borbole's Avatar
borbole borbole is offline
 
Join Date: Jan 2010
Originally Posted by BirdOPrey5 View Post
Thanks borbole... I hope one day you start releasing more again too... There were several of yours I installed and/or tagged.
Atm I don't have much free time like I used to. Hopefully later.
__________________
My mods.
Reply With Quote
  #12  
Old 28 Jun 2011, 18:13
BirdOPrey5's Avatar
BirdOPrey5 BirdOPrey5 is offline
 
Join Date: Jun 2008
Real name: Joe D.
Hey all... I just noticed that this is indeed possible without a file edit. I am working on an updated version now.
__________________
-Joe (@BirdOPrey5)
Qapla.com - Exclusive VB Mods! | Joe's Ultimate Off Topic | My Free VB "Mods"
Note - I do not read my PMs often, do not expect quick replies.
Reply With Quote
  #13  
Old 28 Jun 2011, 18:45
BirdOPrey5's Avatar
BirdOPrey5 BirdOPrey5 is offline
 
Join Date: Jun 2008
Real name: Joe D.
Updated to 1.0- I moved the exact code into a hook and only had to add 1 line.

No file edits required. Not sure why I couldn't see the solution when I first released it. Must have been a long day.

Please remove the file edit if you are upgrading from version 0.9.

New installations will require no edits at all.
__________________
-Joe (@BirdOPrey5)
Qapla.com - Exclusive VB Mods! | Joe's Ultimate Off Topic | My Free VB "Mods"
Note - I do not read my PMs often, do not expect quick replies.
Reply With Quote
  #14  
Old 28 Jun 2011, 19:13
imedic's Avatar
imedic imedic is offline
 
Join Date: Mar 2008
Incredible support, dumb user (me)

I have made the change and is better. Sorry , it seems is not my day to make code edits.
I am receiving same error (line 1189) when I try to send an PM to a user that is on my ignore list. And I have set 2 way blocking.
Also if I put a moderator in the ignore list I cant send PM to him but this is not major problem because moderators can always send PM even if I have set them on ignore list.

Mode is blocking as it should suppose to do an user that is on ignore list.

I have updated the file so you can re download from link i sent to you on PM and check if something is wrong.

Last edited by imedic : 28 Jun 2011 at 19:27.
Reply With Quote
  #15  
Old 28 Jun 2011, 19:14
imedic's Avatar
imedic imedic is offline
 
Join Date: Mar 2008
Uau , that is fast. It seems we have (both) blind spots Will upgrade now ... I will come back.
I recieve new error when I try to send PM to a user that is on my ignore list: Warning: Invalid argument supplied for foreach() in [path]/private.php(1177) : eval()'d code on line 63
I am also having this error only on splash redirect screen then I come back to PM page.

The PM is not going to the user. That user is blocked to send me PM (working fine for main idea of this mod).

Weird, this error appear only with one user (clone for testing purposes) and is not appearing to other accounts.... I have not found a pattern.....

Last edited by imedic : 28 Jun 2011 at 19:52.
Reply With Quote
Reply


Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
Mod Options

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


New To Site? Need Help?

All times are GMT. The time now is 20:18.

Layout Options | Width: Wide Color: