vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vBulletin 2.x Full Releases (https://vborg.vbsupport.ru/forumdisplay.php?f=4)
-   -   Popup Box on Full PM Box (https://vborg.vbsupport.ru/showthread.php?t=32962)

Scott MacVicar 12-04-2001 10:00 PM

After numerous complaints from members at my board that people never checked that there pm box was full, I had to take action, especially as they were bugging me :D

This hack allows a user to select in options if they wish a popup box to appear when there pm box is full. There is a fair number of files to edit and a new template and two minor modifications to a couple, but well worth it in the end.

Scott

Lesane 12-05-2001 04:59 PM

Cool, i give it a try :)

Dark Blaze 12-06-2001 03:34 AM

Nice hack PPN, thanks for sharing with vB.org :)

Admin 12-06-2001 01:27 PM

Installed here, good one. :)

(although I skipped the user option part and you can't ignore this message now)

Syphin 12-06-2001 01:40 PM

Great hack... :)
Ganna install it now.. :p And skip the user part too.. lol


-Syphin

squawell 12-06-2001 05:42 PM

it's a useful hack~~~

thankz PPN~~~:D

Dark Blaze 12-06-2001 06:29 PM

[QUOTE]Originally posted by FireFly
Installed here, good one. :)

(although I skipped the user option part and you can't ignore this message now)

Ralgar 03-01-2002 05:22 AM

its possible to make it so, that you get EVER a popup if the pm box is full?

firefly, how you have edit it?

Harryli 03-23-2002 07:17 PM

Hm, my global.php in 2.2.4 seems to look like different:

$newpmmsg=0;
$headnewpm='';
if ($checknewpm and $bbuserinfo['userid']!=0 and $bbuserinfo['pmpopup']==2) {
if ($noshutdownfunc) {
$DB_site->query("UPDATE user SET pmpopup=1 WHERE userid=$bbuserinfo[userid]");
} else {
$shutdownqueries[]="UPDATE LOW_PRIORITY user SET pmpopup=1 WHERE userid=$bbuserinfo[userid]";
}
$newpmmsg=1;
$latest_pm = $DB_site->query("SELECT p.privatemessageid AS pm_popup_id, p.title AS pm_popup_title, u.username AS pm_popup_username FROM privatemessage p, user u WHERE messageread = 0 AND touserid = $bbuserinfo[userid] AND p.fromuserid = u.userid ORDER BY dateline DESC");
$hack_pm_total = $DB_site->num_rows($latest_pm);

what to do?? :disappointed:

Gutspiller 04-09-2002 04:46 AM

Can somebody tell me what the chances of this hack working on 2.0.3? Whenever there are MySQL querys for me to run I am always hesitant about running them and then having it now work.

Is there a pretty good chance that my code will be the same as in the instructions? :nervous:


All times are GMT. The time now is 12:39 AM.

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.01113 seconds
  • Memory Usage 1,725KB
  • 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)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (2)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