MyBB Community Forums

Full Version: UnreadPosts excensive and unnecessary server load + "fix"
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
We really like this plugin but it seems to unnecessarily drain server resources. Bug is not very serious and can be worked around without disabling core functions of plugin. It seems that unread post counter is causing it. Unfortunately disabling it in settings won't help (since it only hides it and counting process gonna be still working). 

For anyone experencing problems with this pluging, proposed soulution is to disable unread post counter "for good":

simply change 571 line of inc/plugins/unreadposts.php 
$result = $db->query($sql);     

        $numUnreads = (int) $db->num_rows($result); 
to:

//$result = $db->query($sql);     

       //$numUnreads = (int) $db->num_rows($result); 


Please consider some additional tests/fix for the counter in future Smile