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)
-   -   Private Messages Enhancements - PM Block by BOP5 (Private Message Block Lists per User) (https://vborg.vbsupport.ru/showthread.php?t=265598)

BirdOPrey5 06-20-2011 10:00 PM

PM Block by BOP5 (Private Message Block Lists per User)
 
1 Attachment(s)
New Version - 1.0 - No manual 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.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.

------------------------------------------------------

Please "Mark as Installed" if you use this. :)
Donations always appreciated. :up:
Nominate MOTM if you LOVE it! ;)

BirdOPrey5 06-21-2011 04:30 PM

Reserved.

EquinoxWorld 06-21-2011 05:26 PM

Am I the only one not seeing the zip file? Seems very promising though, thank you for the post.

BirdOPrey5 06-21-2011 06:47 PM

Quote:

Originally Posted by EquinoxWorld (Post 2210974)
Am I the only one not seeing the zip file? Seems very promising though, thank you for the post.

Whoops!! :eek:

It's there now. :D

Taurus1 06-21-2011 11:04 PM

Looks like a great mod. One request please. Will it be possible to have only certain usergroups use this?

BirdOPrey5 06-21-2011 11:43 PM

I could probably fairly easily edit the code so that it would only work for some usergroups, but being it is a user profile field it will always show for all users, so I don't know if you'd want that.

Taurus1 06-22-2011 12:12 AM

So I guess it will not be possible to only have those usergroups see the profile field?

BirdOPrey5 06-22-2011 12:52 AM

No, not without some more custom coding on profile page unfortunately which isn't on my agenda.

sticky 06-22-2011 02:47 AM

Is it possible to only let certain usergroups use this mod?

BirdOPrey5 06-22-2011 10:05 AM

Quote:

Originally Posted by sticky (Post 2211151)
Is it possible to only let certain usergroups use this mod?

This thread isn't even 10 posts long and that question was already asked and answered.

BirdOPrey5 06-28-2011 06:06 PM

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.

sticky 07-19-2011 08:34 PM

Quote:

Originally Posted by BirdOPrey5 (Post 2211238)
This thread isn't even 10 posts long and that question was already asked and answered.

My apologies, I missed that.

Would you be able to make the change or a version that allows only certain usergroups the ability to use it?

BirdOPrey5 07-20-2011 12:13 AM

Quote:

Originally Posted by sticky (Post 2222564)
My apologies, I missed that.

Would you be able to make the change or a version that allows only certain usergroups the ability to use it?

I'm assuming you mean you'd want some usergroups to not be able to block anyone? That would be possible but as I said earlier they would still see the profile field so it would be confusing. You would have to explain that some people without permission to use the mod and their "block lists" would be ignored.

archet1337 07-20-2011 01:23 AM

Working great on 4.1.4. Thanks for sharing :)

Dan49 06-30-2013 03:00 PM

Hello,

Is there a version of this for vb 3.8.x?

BirdOPrey5 06-30-2013 05:01 PM

This version will work on VB 3.8

Quote:

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.

datoneer 06-30-2013 11:21 PM

I don't see this "PM Block Lists" when i click on edit profile. vb version 4.2.1

BirdOPrey5 06-30-2013 11:34 PM

You must setup the profile field yourself via the User Profile Fields in the Admin CP. The step by step instructions are included in the instructions in the .txt file.

datoneer 07-01-2013 12:54 AM

I already did that

BirdOPrey5 07-01-2013 11:21 AM

I've never heard of vBulletin not showing a custom profile field if it was created in the Admin CP. Are you sure you are looking on the correct page for it? Some fields show up under the profile and some on the settings page depending the location you choose.

datoneer 07-01-2013 02:05 PM

Ah got it on general settings! Thanks man! Anyway this is a great mod and i can confirm it works with 4.2.1

Bubble #5 10-09-2013 12:21 PM

Is it possible to have it so that when someone tries to PM you, but they are blocked, the person gets a notification that "Member X tried to PM you but was blocked"? :confused:

ozzy47 10-09-2013 01:17 PM

IMO that would be silly, may as well just let them pm you then.

Bubble #5 10-09-2013 01:27 PM

Not at all. On our forum we have trouble makers. I mean real trouble makers who do illegal activities like post children's pictures, post members name/addresses, etc. Knowing what these trouble makers are "trying" to do is actually important information for law enforcement. Like they say, information is power.

ozzy47 10-09-2013 02:22 PM

Ok, but what you asked would not show what they tried to send.

Bubble #5 10-09-2013 02:51 PM

But you DON'T need to know what any message would say, just that there is a record that they tried to contact you (or keep trying to contact you). The message isn't important at that point :)

ozzy47 10-09-2013 02:58 PM

If it is a know member pming people then ban them. You would meet the info the person tried to send for law enforcement.

Bubble #5 10-09-2013 03:41 PM

Yes we do ban them, but we both know there are ways around IP banning, and it is more than just one person, it is a group of trouble makers.

BirdOPrey5 10-10-2013 12:07 AM

Quote:

Originally Posted by Bubble #5 (Post 2451244)
Is it possible to have it so that when someone tries to PM you, but they are blocked, the person gets a notification that "Member X tried to PM you but was blocked"? :confused:

Not with this mod. Sorry.

dawges 10-10-2013 10:09 PM

I installed this on 4.2 and followed the instruction to the letter. No problems installing or creating custom field. However, for the life of me I cannot figure out how to block someone.

dawges 10-10-2013 10:15 PM

Edit: Found it! Thanks again for a great mod! Just what i needed!

Max Taxable 10-10-2013 10:20 PM

Quote:

Originally Posted by dawges (Post 2452006)
I installed this on 4.2 and followed the instruction to the letter. No problems installing or creating custom field. However, for the life of me I cannot figure out how to block someone.

In v3.8 it's "UserCP>Edit Options" and on mine I chose position #5, it appears under "Login and Privacy" heading, right under the "Allow vCard download" option.

EDIT: Solved.


All times are GMT. The time now is 06:30 PM.

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.01263 seconds
  • Memory Usage 1,778KB
  • 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
  • (7)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)post_thanks_navbar_search
  • (1)printthread
  • (32)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
  • bbcode_fetch_tags
  • bbcode_create
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • printthread_post
  • printthread_complete