vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vB4 General Discussions (https://vborg.vbsupport.ru/forumdisplay.php?f=251)
-   -   User notifications. (https://vborg.vbsupport.ru/showthread.php?t=282253)

gajinoz 04-30-2012 08:21 PM

User notifications.
 
Every now and then I get complaints from users that the PM box is full for somebody they're trying to send something to.

Is there a way, or does a mod exist, that will cause a pop up message to appear to anyone who has a full PM inbox?

kh99 05-01-2012 07:13 PM

It looks like the variable $show['pmwarning'] is set to true if a user's pm box is 90% full or more, but I don't see anywhere it's used (I haven't actually tested to see if any warning appears anywhere). But I suppose you could check that in a template condition and display whatever you wanted.

gajinoz 05-01-2012 08:29 PM

Quote:

Originally Posted by kh99 (Post 2325333)
It looks like the variable $show['pmwarning'] is set to true if a user's pm box is 90% full or more, but I don't see anywhere it's used (I haven't actually tested to see if any warning appears anywhere). But I suppose you could check that in a template condition and display whatever you wanted.

Thanks for the answer. Unfortunately I wouldn't even know where to start to do what you suggested.

I was sort of hoping some clever bugger had already written a mod to do it.


All times are GMT. The time now is 10:23 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.00991 seconds
  • Memory Usage 1,710KB
  • 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
  • (3)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