MyBB Community Forums
[F] Moving threads count - 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: Archived Bug Reports (https://community.mybb.com/forum-74.html)
+------ Forum: MyBB 1.2.7 (https://community.mybb.com/forum-55.html)
+------ Thread: [F] Moving threads count (/thread-19512.html)



[F] Moving threads count - arno - 05-24-2007

For example, I moved 3 threads to another forum. It is showed 1 threads every moving. Counters isn't true when I moved 2 or higher threads.

I hope I can explain the bug.


RE: Moving threads count - Dennis Tsang - 05-24-2007

Confirmed with inline thread moderation.

Also, if you try to move a thread with unapproved posts, the unapproved post count doesn't move to the new forum. - fixed that.


RE: Moving threads count - Dennis Tsang - 05-24-2007

Can you try using this inc/class_moderation.php file and see if it fixes your problem (and hopefully doesn't cause other problems Wink)?


RE: Moving threads count - arno - 05-25-2007

I havent unapproved post.

I moved 3 (or higher) threads but it is counted 1 thread.

I'm trying your attached file but I had an error when I was try to move threads.

array(1) { [68]=>  array(3) { ["posts"]=>  int(107) ["unapprovedposts"]=>  int(0) ["threads"]=>  int(1) } } array(1) { [68]=>  array(3) { ["posts"]=>  int(110) ["unapprovedposts"]=>  int(0) ["threads"]=>  int(2) } }
Warning: Cannot modify header information - headers already sent by (output started at /home/xxxx/public_html/forum/inc/class_moderation.php:1159) in /home/xxxx/public_html/forum/inc/functions.php on line 567



RE: Moving threads count - Ryan Gordon - 05-25-2007

thats not an error, its debugging


RE: Moving threads count - Dennis Tsang - 05-27-2007

Were the counts correct though?


RE: Moving threads count - Dennis Tsang - 06-01-2007

Well from my tests it's working, so I'll mark it as fixed.


RE: [F] Moving threads count - Dennis Tsang - 06-01-2007

This bug has been fixed in the latest code.

Please note the latest code is not live on the site or for download. An update will be released which contains this fix.