![]() |
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 |
Cool, i give it a try :)
|
Nice hack PPN, thanks for sharing with vB.org :)
|
Installed here, good one. :)
(although I skipped the user option part and you can't ignore this message now) |
Great hack... :)
Ganna install it now.. :p And skip the user part too.. lol -Syphin |
it's a useful hack~~~
thankz PPN~~~:D |
[QUOTE]Originally posted by FireFly
Installed here, good one. :) (although I skipped the user option part and you can't ignore this message now) |
its possible to make it so, that you get EVER a popup if the pm box is full?
firefly, how you have edit it? |
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: |
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 01:44 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 | |
---|---|
|
|
![]() |
|
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|