![]() |
|
Mod Options |
![]() |
|||||||||||
Force Users to Read PMs by BOP5 (VB4/VB3)
![]() Developer Last Online: Apr 2021 ![]() ![]() ![]()
![]() 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.
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. ![]() Download Now Only licensed members can download files, Click Here for more information. Screenshots Show Your Support
No members have liked this post.
|
![]() |
||||
Mod | Developer | Type | Replies | Last Post |
Administrative and Maintenance Tools Duplicate IP Report by BOP5 (Checks for users sharing the same IP Addresses) VB3/VB4 | BirdOPrey5 | vBulletin 4.x Add-ons | 196 | 23 Mar 2020 18:24 |
Administrative and Maintenance Tools Duplicate IP Report by BOP5 (Checks for users sharing the same IP Addresses) VB3/VB4 | BirdOPrey5 | vBulletin 3.8 Add-ons | 22 | 17 Dec 2012 22:29 |
Moderators Functions [SIMPLISTIC] Force User to Read PMs | andrefedalto | vBulletin 4.x Add-ons | 15 | 24 Jul 2012 03:46 |
Comments |
#2
|
||||
|
||||
Reserved.
__________________
-Joe Former vb.org Moderator. Retired. @BirdOPrey5 | All Things BOP5 | Joe's Ultimate Off Topic Note - I no longer making new VB mods, sorry. No members have liked this post.
|
#3
|
||||
|
||||
Has it been tested on the latest vb version?
__________________
No members have liked this post.
|
#4
|
|||
|
|||
Having the ability to force specific users would make this perfect.
Any possibility? Works great on 4.2. The following members like this post: BirdOPrey5
|
#5
|
|||
|
|||
why in forumhome not work?
No members have liked this post.
|
#6
|
||||
|
||||
Yes, my demo site is 4.2.0 and it works fine on it.
Because the "THIS_SCRIPT" name of forumhome is: index
__________________
-Joe Former vb.org Moderator. Retired. @BirdOPrey5 | All Things BOP5 | Joe's Ultimate Off Topic Note - I no longer making new VB mods, sorry. |
#7
|
||||
|
||||
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.
__________________
-Joe Former vb.org Moderator. Retired. @BirdOPrey5 | All Things BOP5 | Joe's Ultimate Off Topic Note - I no longer making new VB mods, sorry. The following members like this post: CharlieDelta
|
#8
|
||||
|
||||
Cool installed
__________________
The following members like this post: BirdOPrey5
|
#9
|
|||
|
|||
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. The following members like this post: CharlieDelta
|
#10
|
||||
|
||||
That would need a lot of custom coding Trek. We'll see...
__________________
-Joe Former vb.org Moderator. Retired. @BirdOPrey5 | All Things BOP5 | Joe's Ultimate Off Topic Note - I no longer making new VB mods, sorry. No members have liked this post.
|
#11
|
|||
|
|||
Fair enough, I have no idea the work involved. =)
No members have liked this post.
|
#12
|
||||
|
||||
Well for an overview, the fact there is any unread PMs is part of the $vbulletin array and therefore accessible on every singe page of vBulletin without any custom queries or coding needed.
On the other hand to see if there are any unread PMs from specific users would require coding a "global" plugin (on that runs on every page) that requires at least one query of the database return the userids of all unread PMs in the user's PM Storage, and then decide to show a message or not depending on if any of the userids returned match a list of userids stored in settings. It isn't very difficult work but a lot more involved relatively then the simple 1 line more or less in the current mod: if ($vbulletin->userinfo['pmunread'] > 0) that does the majority of the work. So it's something I might get to if I find myself bored with a couple hours to spare- but it's been a while since I've been bored like that. ![]() If anyone else wants to try, feel free to release your own version with this option.
__________________
-Joe Former vb.org Moderator. Retired. @BirdOPrey5 | All Things BOP5 | Joe's Ultimate Off Topic Note - I no longer making new VB mods, sorry. No members have liked this post.
|
#13
|
|||
|
|||
Nice mod, would it be possible for it to also include members with post count = X amount of post. The way I have my usergroups setup I would only want it to tag members with 5 or less post
No members have liked this post.
|
#14
|
||||
|
||||
yes that would be possible... will take a little time though... still recovering.
__________________
-Joe Former vb.org Moderator. Retired. @BirdOPrey5 | All Things BOP5 | Joe's Ultimate Off Topic Note - I no longer making new VB mods, sorry. No members have liked this post.
|
#15
|
||||
|
||||
works great on vb 4.2.0 p3
Thx Bird The following members like this post: BirdOPrey5
|
![]() |
«
Previous Mod
|
Next Mod
»
Currently Active Users Viewing This Thread: 1 (0 members and 1 guests) | |
Mod Options | |
|
|
New To Site? | Need Help? |
All times are GMT. The time now is 05:50.