MyBB Community Forums
Private Message recount? - Printable Version

+- MyBB Community Forums (https://community.mybb.com)
+-- Forum: Community Archive (https://community.mybb.com/forum-106.html)
+--- Forum: Archived Forums (https://community.mybb.com/forum-143.html)
+---- Forum: Archived Development and Support (https://community.mybb.com/forum-155.html)
+----- Forum: MyBB 1.6 (https://community.mybb.com/forum-138.html)
+------ Forum: 1.6 Merge System Support (https://community.mybb.com/forum-141.html)
+------ Thread: Private Message recount? (/thread-145313.html)



Private Message recount? - Toledo - 2013-09-09

I'm having the recount problem with private messages. When I log into my account, at the top it'll say.

Quote:Private Messages (Unread 0, Total 184)

However, there are no messages in my inbox - except for one that someone sent me through the new board.

How would I fix this?


RE: Private Message recount? - Nathan Malcolm - 2013-09-09

Are you sure there aren't any in your Trash or other folders?


RE: Private Message recount? - .m. - 2013-09-09

that is post merge issue (vBullettin to MyBB) - perhaps PMs are not converted but the total PM count is transferred


RE: Private Message recount? - Toledo - 2013-09-09

(2013-09-09, 02:33 PM)Nathan Malcolm Wrote: Are you sure there aren't any in your Trash or other folders?
Yes.

(2013-09-09, 02:40 PM).m. Wrote: that is post merge issue (vBullettin to MyBB) - perhaps PMs are not converted but the total PM count is transferred

Yes probably, so I'm wondering if there is a way to do a recount?


RE: Private Message recount? - Stefan C. - 2013-09-11

MyBB randomly does a recount automatically

// On a random occassion, recount the users pm's just to make sure everything is in sync.
$rand = my_rand(0, 9);
if($rand == 5)
{
	update_pm_count();
}

If you want to do one manually, you can just make a file called recount.php or whatever and have this in it:

<?php
define("IN_MYBB", true);
require("global.php");
update_pm_count();
?>

run that page and then delete it.


RE: Private Message recount? - Toledo - 2013-09-11

Did not work for me. Sadly.


RE: Private Message recount? - Toledo - 2013-09-23

BUMP, anyone got a solution?


RE: Private Message recount? - Starpaul20 - 2013-09-23

I've created a plugin that should fix your issue. Just upload it, activate, then go to Recount & Rebuild where you should see a Recount Private Messages option. Just click Go on the right hand side.


RE: Private Message recount? - Toledo - 2013-09-23

Installed it. Can't find it in Recount & Rebuild.

Edit: Forgot to activated it. thank you.

Tested it, didn't work..