MyBB Community Forums

Full Version: Weird Authorization Code Mismatch (NOT RELATED TO TEMPLATES DISCUSSED PREVIOUSLY)
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
Hello,

My board, https://forums.irixnet.org, has a small error. I've added a "mark forums read" button to the right hand side under Stats.

It currently is implemented via:

&nbsp; <b><a href="misc.php?action=markread">Mark all Forums As Read</a></b>

in index_boardstats

In the entire template below:

<div class="tborder" style="padding-left:20px">

<div class="thead">Stats</div>
<br>
<br>

<div class="trow1">
<ul class="portal_stats">
<li>Users: <span class="label label_yellow">{$stats['numusers']}</span></li>
<li>Total Threads<span class="label label_blue">{$stats['numthreads']}</span></li>
<li>Total Posts:<span class="label label_green">{$stats['numposts']}</span></li>
<li>
{$lang->whos_online} [<a href="online.php">{$lang->complete_list}</a>]
	{$whosonline}</li>


</ul>
&nbsp;	<b><a href="misc.php?action=markread">Mark all Forums As Read</a></b>
</div>

</div>
<br />

What am I doing wrong? I don't have outdated templates elsewhere. Can't replicate it on the ones where it is usually reported.

Any ideas?
You're missing {$post_code_string} from the URL, it should be this:

<a href="misc.php?action=markread{$post_code_string}">
Huh, obvious dumbassery on my part. Thanks.