vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vBulletin 3.8 Add-ons (https://vborg.vbsupport.ru/forumdisplay.php?f=235)
-   -   Private Messages Enhancements - Force Users to Read PMs by BOP5 (VB3/VB4) (https://vborg.vbsupport.ru/showthread.php?t=285874)

BirdOPrey5 07-22-2012 10:00 PM

Force Users to Read PMs by BOP5 (VB3/VB4)
 
1 Attachment(s)
Brought to you by BirdOPrey5
www.Qapla.com


This is a fairly simple mod to allow Admins to force users (by usergroup) to make sure they have read all their PMs before they are allowed to use/browse the forums.

Version 1.1

1.0 - Initial Release (on Qapla.com)
1.1 - Added username to the error message

Note: In the VB4 Publishing Suite there is no way to prevent users from browsing or using the CMS system due to the lack of the required hook in these areas.

Quote:

Demo: You must register at www.Qapla.com/mods/

Then go to Permission Groups in Settings.

Join the "Force Reading PMs Demo" Group.

Now either send yourself a PM, or if you already have an unread PM try to access a forum or a thread or blog or profile- you will be blocked by the mod. You can also try to "Mark as Read" some PMs via the checkboxes without opening them- you will see that has been blocked too.

You can leave the group again by going to the same page when you're done testing.
You can customize the message by editing the Error Message Phrase: bop5_force_read_pm_message

Thinking about this further, this could be a great way of fighting spam. I'm sure none of the current spam bots out there bother reading any PMs, and if you set your forum to send a welcome PM, every new user will get at least 1 PM. If the spam bot doesn't check them they will never be allowed to post anything. Talk about unintended consequences.

Please "Mark as Installed" if you use this. :)
Donations Always Appreciated. :up:

BirdOPrey5 07-23-2012 02:39 PM

Reserved.

3raq4all 07-23-2012 10:38 PM

At the top
Work is very beautiful

tehPARADOX 08-13-2012 10:43 PM

Tagged, thanks.

Artes_Marciales 11-27-2012 09:43 AM

Nice mod!


All times are GMT. The time now is 07:06 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.01154 seconds
  • Memory Usage 1,718KB
  • 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
  • (1)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)post_thanks_navbar_search
  • (1)printthread
  • (5)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