Go Back   vb.org Archive > vBulletin Modifications > vBulletin 3.8 Modifications > vBulletin 3.8 Add-ons
FAQ Community Calendar Today's Posts Search

Reply
 
Thread Tools
PM Block by BOP5 (Private Message Block Lists per User) Details »»
PM Block by BOP5 (Private Message Block Lists per User)
Version: 1.1, by BirdOPrey5 (Senior Member) BirdOPrey5 is offline
Developer Last Online: Aug 2023 Show Printable Version Email this Page

Category: Private Messages Enhancements - Version: 3.8.x Rating:
Released: 06-20-2011 Last Update: 07-05-2011 Installs: 33
Uses Plugins
Code Changes Translations  
No support by the author.

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

File Type: zip PM Block List by BOP5v11.zip (4.0 KB, 206 views)

Screenshots

File Type: jpg pmb_settings.jpg (77.8 KB, 0 views)
File Type: jpg pmb_vb3_blockerror.jpg (242.8 KB, 0 views)
File Type: jpg pmb_vb3_denyerror.jpg (241.8 KB, 0 views)
File Type: jpg pmb_vb3_profilefield.jpg (144.6 KB, 0 views)

Show Your Support

  • This modification may not be copied, reproduced or published elsewhere without author's permission.
6 благодарности(ей) от:
abualjori, blind-eddie, borbole, devil78, Tasking Mickey, xorex

Comments
  #22  
Old 07-06-2011, 09:33 AM
BirdOPrey5's Avatar
BirdOPrey5 BirdOPrey5 is offline
Senior Member
 
Join Date: Jun 2008
Location: New York
Posts: 10,610
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by imedic View Post
No, is a small one: drn
Sorry guess our posts must have crossed.

I was not able to reproduce the error even using drn as a username however I have added code that should prevent the error you received even though I can't imagine how it happened.

Mod updated to version 1.1- Please upgrade and see if you still get the error.
Reply With Quote
  #23  
Old 07-06-2011, 12:48 PM
imedic's Avatar
imedic imedic is offline
 
Join Date: Mar 2008
Location: Romania
Posts: 178
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Error is gone and message is not going to the ignored user.
But I am not receiving the note from you stating that you cant send PM to a ignored user at all. I just come back to PM screen.
For other users is working.

Is strange behaviour, I guess I need to reupload some files back to server because I have other 2 strange behaviours on forum that I cant solve.

The ignored user is receiving the not is ignored and cant send PM back.
For now is great. Working

Thanks for so prompt response. I nominate the mod as it should be part of the privacy pack settings in Vb.
Reply With Quote
  #24  
Old 07-06-2011, 12:50 PM
BirdOPrey5's Avatar
BirdOPrey5 BirdOPrey5 is offline
Senior Member
 
Join Date: Jun 2008
Location: New York
Posts: 10,610
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

When you say 'ignored user' do you mean the vbulletin ignore list or the block list for this mod?
Reply With Quote
  #25  
Old 07-06-2011, 01:06 PM
imedic's Avatar
imedic imedic is offline
 
Join Date: Mar 2008
Location: Romania
Posts: 178
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Block list of mod
Reply With Quote
  #26  
Old 08-27-2011, 10:58 PM
Max Taxable's Avatar
Max Taxable Max Taxable is offline
 
Join Date: Feb 2011
Posts: 3,134
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Missed this before. Got it now.

Nicely done, BOP5.
Reply With Quote
  #27  
Old 08-28-2011, 04:37 PM
DEGE DEGE is offline
 
Join Date: Aug 2009
Location: Buenos Aires
Posts: 60
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

I think it would be easier if the blocked users table uses userid instead of username sinces even if a user changes his username, userid is never changed.

I imagine several ways of doing that.
The simpler one is adding an extra option in the "Buddy List" when you visit the other user's profile
You can add the same script in postbit or when receiving a PM.
Other one involves using the same javascript that VB uses to recognize PM's destinations so to fill the blocked PM's table.

I'm not an expert in PHP or Javascript, but I think this would spare everyone lots of headaches when a user changes the username, or blocking the wrong user.

Great mod !!


DEGE
Reply With Quote
  #28  
Old 08-28-2011, 06:02 PM
BirdOPrey5's Avatar
BirdOPrey5 BirdOPrey5 is offline
Senior Member
 
Join Date: Jun 2008
Location: New York
Posts: 10,610
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by DEGE View Post
I think it would be easier if the blocked users table uses userid instead of username sinces even if a user changes his username, userid is never changed.

I imagine several ways of doing that.
The simpler one is adding an extra option in the "Buddy List" when you visit the other user's profile
You can add the same script in postbit or when receiving a PM.
Other one involves using the same javascript that VB uses to recognize PM's destinations so to fill the blocked PM's table.

I'm not an expert in PHP or Javascript, but I think this would spare everyone lots of headaches when a user changes the username, or blocking the wrong user.

Great mod !!


DEGE
Thanks for the suggestions. Please "Mark as Installed" if you're using this. :up:
Reply With Quote
  #29  
Old 12-09-2011, 07:52 PM
d0zer's Avatar
d0zer d0zer is offline
 
Join Date: Apr 2009
Location: Hatay
Posts: 58
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

a member of a ban on the control panel option does not seem
Reply With Quote
  #30  
Old 12-11-2011, 02:13 PM
BirdOPrey5's Avatar
BirdOPrey5 BirdOPrey5 is offline
Senior Member
 
Join Date: Jun 2008
Location: New York
Posts: 10,610
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by d0zer View Post
a member of a ban on the control panel option does not seem
I don't understand these words.
Reply With Quote
  #31  
Old 12-16-2011, 12:16 PM
vijayninel's Avatar
vijayninel vijayninel is offline
 
Join Date: Mar 2009
Posts: 537
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Thanks. it would be nice if we can block people from visitors messages as well.
Reply With Quote
Reply


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

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT. The time now is 10:20 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.05219 seconds
  • Memory Usage 2,345KB
  • Queries Executed 26 (?)
More Information
Template Usage:
  • (1)SHOWTHREAD
  • (1)ad_footer_end
  • (1)ad_footer_start
  • (1)ad_header_end
  • (1)ad_header_logo
  • (1)ad_navbar_below
  • (1)ad_showthread_beforeqr
  • (3)bbcode_quote
  • (1)footer
  • (1)forumjump
  • (1)forumrules
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (1)modsystem_post
  • (1)navbar
  • (4)navbar_link
  • (120)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (3)pagenav_pagelink
  • (11)post_thanks_box
  • (6)post_thanks_box_bit
  • (11)post_thanks_button
  • (1)post_thanks_javascript
  • (1)post_thanks_navbar_search
  • (1)post_thanks_postbit
  • (11)post_thanks_postbit_info
  • (10)postbit
  • (5)postbit_attachment
  • (11)postbit_onlinestatus
  • (11)postbit_wrapper
  • (1)spacer_close
  • (1)spacer_open
  • (1)tagbit_wrapper 

Phrase Groups Available:
  • global
  • inlinemod
  • postbit
  • posting
  • reputationlevel
  • showthread
Included Files:
  • ./showthread.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/functions_bigthree.php
  • ./includes/class_postbit.php
  • ./includes/class_bbcode.php
  • ./includes/functions_reputation.php
  • ./includes/functions_post_thanks.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
  • showthread_start
  • showthread_getinfo
  • forumjump
  • showthread_post_start
  • showthread_query_postids
  • showthread_query
  • bbcode_fetch_tags
  • bbcode_create
  • showthread_postbit_create
  • postbit_factory
  • postbit_display_start
  • post_thanks_function_post_thanks_off_start
  • post_thanks_function_post_thanks_off_end
  • post_thanks_function_fetch_thanks_start
  • fetch_musername
  • post_thanks_function_fetch_thanks_end
  • post_thanks_function_thanked_already_start
  • post_thanks_function_thanked_already_end
  • post_thanks_function_fetch_thanks_bit_start
  • post_thanks_function_show_thanks_date_start
  • post_thanks_function_show_thanks_date_end
  • post_thanks_function_fetch_thanks_bit_end
  • post_thanks_function_fetch_post_thanks_template_start
  • post_thanks_function_fetch_post_thanks_template_end
  • postbit_imicons
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • postbit_attachment
  • postbit_display_complete
  • post_thanks_function_can_thank_this_post_start
  • pagenav_page
  • pagenav_complete
  • tag_fetchbit_complete
  • forumrules
  • navbits
  • navbits_complete
  • showthread_complete