MyBB Community Forums

Full Version: error when marking forums
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
Hi im trying to mark all my forums as read. When i do i get this error code

Authorization code mismatch. Are you accessing this function correctly? Please go back and try again.

any ideas
You are missing a {$post_code_string} variable, go to ACP -> templates and styley -> templates -> <your theme template set> -> index templates -> index_boardstats and replace

<a href="misc.php?action=markread">{$lang->markread}</a>

with

<a href="misc.php?action=markread{$post_code_string}">{$lang->markread}</a>
(2013-03-24, 12:51 PM)Johnny S Wrote: [ -> ]You are missing a {$post_code_string} variable, go to ACP -> templates and styley -> templates -> <your theme template set> -> index templates -> index_boardstats and replace

<a href="misc.php?action=markread">{$lang->markread}</a>

with

<a href="misc.php?action=markread{$post_code_string}">{$lang->markread}</a>

Spot on thanks.