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 - Force Users to Read PMs by BOP5 (VB4/VB3) (https://vborg.vbsupport.ru/showthread.php?t=285873)

BirdOPrey5 07-22-2012 10:00 PM

Force Users to Read PMs by BOP5 (VB4/VB3)
 
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:33 PM

Reserved.

ForceHSS 07-24-2012 02:12 AM

Has it been tested on the latest vb version?

CharlieDelta 07-24-2012 02:50 AM

Having the ability to force specific users would make this perfect.
Any possibility?

Works great on 4.2.

Mikelito 07-24-2012 08:00 AM

1 Attachment(s)
why in forumhome not work?

BirdOPrey5 07-24-2012 11:01 AM

Quote:

Originally Posted by ForceHSS (Post 2350932)
Has it been tested on the latest vb version?

Yes, my demo site is 4.2.0 and it works fine on it.

Quote:

Originally Posted by Mikelito (Post 2350987)
why in forumhome not work?

Because the "THIS_SCRIPT" name of forumhome is: index

BirdOPrey5 07-24-2012 11:06 AM

Quote:

Originally Posted by CharlieDelta (Post 2350943)
Having the ability to force specific users would make this perfect.
Any possibility?

Works great on 4.2.

The best way to do this would be to create a new usergroup "Force Read PMs" and then add it to specific users as an "additional" (secondary) usergroup and it will force those users to read their PMs.

ForceHSS 07-24-2012 12:15 PM

Cool installed

Trek 07-24-2012 05:15 PM

Sounds cool.

One suggestion for a feature:

Set a userID (such as user 1) that any PMs from that user are forced to be read. That way, they are only forced to read PMs from specific users, not all users.

BirdOPrey5 07-24-2012 08:00 PM

That would need a lot of custom coding Trek. We'll see...


All times are GMT. The time now is 09:54 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.01223 seconds
  • Memory Usage 1,737KB
  • 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
  • (4)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (1)pagenav_pagelink
  • (1)post_thanks_navbar_search
  • (1)printthread
  • (10)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
  • pagenav_page
  • pagenav_complete
  • bbcode_fetch_tags
  • bbcode_create
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • printthread_post
  • printthread_complete