SZS Network
New Member
Not fixed yet!
What's that about then ?
It's a matter of simply editing a file.Tree said:So...
Code:--- vb3/private.php 2006/04/06 22:49:04 1.338 +++ vb3/private.php 2006/04/29 16:57:15 1.339 @@ -1341,11 +1341,14 @@ if ($_REQUEST['do'] == 'showpm') { $db->shutdown_query("UPDATE " . TABLE_PREFIX . "pm SET messageread=1 WHERE userid=" . $vbulletin->userinfo['userid'] . " AND pmid=$pm[pmid]"); - $userdm =& datamanager_init('User', $vbulletin, ERRTYPE_SILENT); - $userdm->set_existing($vbulletin->userinfo); - $userdm->set('pmunread', 'IF(pmunread >= 1, pmunread - 1, 0)', false); - $userdm->save(true, true); - unset($userdm); + if (!$pm['folderid']) + { + $userdm =& datamanager_init('User', $vbulletin, ERRTYPE_SILENT); + $userdm->set_existing($vbulletin->userinfo); + $userdm->set('pmunread', 'IF(pmunread >= 1, pmunread - 1, 0)', false); + $userdm->save(true, true); + unset($userdm); + } }
Tree said:That's called your PM box. As you can see, there aren't over 65,000 unread PMs. So don't worry about it.
Are we going to wait for the next vB upgrade that has this code already in it? Or is Peo or Todd just going to edit 10 lines of code?Tree said:It's a matter of simply editing a file.
Private Messages: Unread 65533, Total 186.
Don't worry about it. Suck it up. It'll be fixed soon. You don't really have 60,000+ PMs, so don't worry.ddt said:I have been warned.:cry2:
What's wrong with my PM?
Unread 65535, Total 14