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)

Trek 07-24-2012 08:51 PM

Quote:

Originally Posted by BirdOPrey5 (Post 2351127)
That would need a lot of custom coding Trek. We'll see...

Fair enough, I have no idea the work involved. =)

BirdOPrey5 07-24-2012 09:52 PM

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.

DirtRider 01-04-2013 05:19 PM

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

BirdOPrey5 01-12-2013 02:39 PM

yes that would be possible... will take a little time though... still recovering.

Menno11 04-14-2013 02:19 PM

works great on vb 4.2.0 p3

Thx Bird

b65ran 04-30-2013 12:48 AM

I have question here. Lets say I enable this feature for Group X. Would they be forced to read PMs sent by anyone, or its when an admin sends a PM ?

BirdOPrey5 05-12-2013 08:56 AM

They would have to read ALL PMs, from anyone.

ZeroDoom 08-20-2014 01:14 PM

I can't believe I didn't see this. Worked for v4.2.2, thank you very much!

tagline 03-09-2015 10:25 AM

Great plugin, but I've disabled (non uninstalled) because I was searching something little bit different. In other words, force user to read only Admin PM's


All times are GMT. The time now is 03: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.02035 seconds
  • Memory Usage 1,729KB
  • 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)pagenav
  • (1)pagenav_curpage
  • (1)pagenav_pagelink
  • (1)post_thanks_navbar_search
  • (1)printthread
  • (9)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