The Arcive of vBulletin Modifications Site. |
|
Details »»
|
|||||||||||||||||||||||||
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
![]() 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 Show Your Support
|
|||||||||||||||||||||||||
| Comments |
|
#2
|
||||
|
||||
|
Cool, i give it a try
|
|
#3
|
||||
|
||||
|
Nice hack PPN, thanks for sharing with vB.org
|
|
#4
|
||||
|
||||
|
Installed here, good one.
![]() (although I skipped the user option part and you can't ignore this message now) |
|
#5
|
|||
|
|||
|
Great hack...
![]() Ganna install it now.. And skip the user part too.. lol-Syphin |
|
#6
|
||||
|
||||
|
it's a useful hack~~~
thankz PPN~~~
|
|
#7
|
||||
|
||||
|
[QUOTE]Originally posted by FireFly
Installed here, good one. ![]() (although I skipped the user option part and you can't ignore this message now) |
|
#8
|
|||
|
|||
|
its possible to make it so, that you get EVER a popup if the pm box is full?
firefly, how you have edit it? |
|
#9
|
|||
|
|||
|
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: |
|
#10
|
||||
|
||||
|
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: |
![]() |
|
|