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.
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.
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.....
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.....
That is after testing. I still don't get it why it is behaving like this for just this user. I have tested with other users from same group.
Many thanks