in the file /modules/system/admin/users/users.php, the sync feature counts only contributions in the comments and in newbb, so it forgots the other modules. the function synchronize($id, $type) has to be improved
Moving to feature requests
Solve it is easy . you must put lines like this :
// Start check modules for get Count of posts
$tables = array(); // Count comments (approved only: com_status == XOOPS_COMMENT_ACTIVE) $tables[] = array ('table_name' => 'xoopscomments', 'uid_column' => 'com_uid', 'criteria' => new Criteria('com_status', XOOPS_COMMENT_ACTIVE)); // Count forum posts if (XoopsModule::getByDirname("newbb")) { $tables[] = array ('table_name' => 'bb_posts', 'uid_column' => 'uid'); } // Count Content posts if (XoopsModule::getByDirname("fmcontent")) { $tables[] = array ('table_name' => 'fmcontent_content', 'uid_column' => 'content_uid'); } // Count Content posts if (XoopsModule::getByDirname("news")) { $tables[] = array ('table_name' => 'stories', 'uid_column' => 'uid'); } // End check modules for get Count of posts
in htdocs/modules/system/admin/users/user.php and htdocs/modules/system/admin/users/jquery.php
Log in to post a comment.
Moving to feature requests
Solve it is easy . you must put lines like this :
// Start check modules for get Count of posts
in htdocs/modules/system/admin/users/user.php and htdocs/modules/system/admin/users/jquery.php