robert.bbs wrote:Thanks for the suggestion. Unfortunately it made no difference. The Index still reports 4 posts that need approval even though there are none that do. Any other suggestions?
Ok, I looked inside the code and found a couple of funny things... There exist admin functions to sync everything but there is no way to access them from the web interface! (Nothing to do with the Approval MOD, btw). So that sync link you were trying earlier would only synchronize forum's overall stats, but topics would still be left unsynchronized.
I have created a mini add-on that invokes the hidden 'sync-all' functions. You can put directly into your '/admin' folder (call the file: 'admin_sync_all.php'). Afterwards, you should see a new menu item called 'Sync All' in your 'Forums' section of the admin index (left admin frame). Try it and hopefully it is better this time... If that does not help, then there is nothing much I can do other than to suggest clearing all 'unapproved' flags with some SQL queries thus resetting all to the approved state. However, the function below should essentially do the same while preserving the real posts' status.
Code: Select all
<?php // total sync
if( !empty($setmodules) )
$file = basename(__FILE__);
$module['Forums']['Sync All'] = $file;
$phpbb_root_path = "./../";
require($phpbb_root_path . 'extension.inc');
require('./pagestart.' . $phpEx);
include($phpbb_root_path . 'includes/functions_admin.'.$phpEx);
message_die(GENERAL_MESSAGE, 'Sync is complete');