2013-12-18, 04:06 PM
HI,
I merged /import some posts from 2 databases ; right now the total page number of the thread displayed on the forum page ...forumdisplay.php (fid=12&page=1) is mismatch (offset by 1)
![[Image: 6ff13b4e_o.jpeg]](https://camo.mybb.com/e38f0e3e180bab2d76071b7842b3fbaeee23d358/687474703a2f2f692e73686172652e70686f2e746f2f36666631336234655f6f2e6a706567)
with the total page display on /showthread.php (?tid=5321&page=16) for Mods display only
![[Image: c2cc0fdc_o.jpeg]](https://camo.mybb.com/3b5532368ccc91ecf93429c257fb8c1cd4be377c/687474703a2f2f692e73686172652e70686f2e746f2f63326363306664635f6f2e6a706567)
For regular user, it missing a last page
![[Image: b17b2b2e_o.jpeg]](https://camo.mybb.com/358974304d4317be6649ca0f33ce6c61708059b5/687474703a2f2f692e73686172652e70686f2e746f2f62313762326232655f6f2e6a706567)
The user can not see their new post until there is enough posts for another new page
Please help , How do I fix this ?
Thank You very much
Hi,
The problem is now solved - when I imported some lost posts, I did not know the replies counter in mybb_threads also need to be increased . So the number of pages was calculated & displayed wrong (I don't know why only mods can see the missing posts though) .
I changed the replies numbers to be matched with number of posts of that thread, and now it displays correctly .
I merged /import some posts from 2 databases ; right now the total page number of the thread displayed on the forum page ...forumdisplay.php (fid=12&page=1) is mismatch (offset by 1)
with the total page display on /showthread.php (?tid=5321&page=16) for Mods display only
For regular user, it missing a last page
The user can not see their new post until there is enough posts for another new page
Please help , How do I fix this ?
Thank You very much
Hi,
The problem is now solved - when I imported some lost posts, I did not know the replies counter in mybb_threads also need to be increased . So the number of pages was calculated & displayed wrong (I don't know why only mods can see the missing posts though) .
I changed the replies numbers to be matched with number of posts of that thread, and now it displays correctly .