MyBB Community Forums

Full Version: Authorization code mismatch
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
Pages: 1 2
I'm getting this error in the latest version of myBB while subscribing to threads.

How do i fix this ? I checked this : http://community.mybb.com/showthread.php?tid=28222


But didn't help me a bit.

I use my own template.How do i manually fix this problem ? Any code changes ?
You mean the link at the bottom of a thread?? Your showthread template won't be default, have you edited it??
(2010-11-12, 11:27 AM)MattRogowski Wrote: [ -> ]You mean the link at the bottom of a thread?? Your showthread template won't be default, have you edited it??

Yes the link at the bottom of the thread.I don't think i edited the showthread template..Even if i did what should i do now ?
Revert the template to default, or post the contents of it here.
Here you go :

<html>
<head>
<title>{$thread['subject']}</title>
{$headerinclude}
<script type="text/javascript">
<!--
	var quickdelete_confirm = "{$lang->quickdelete_confirm}";
// -->
</script>
<script type="text/javascript" src="jscripts/thread.js?ver=1400"></script>
<script type="text/javascript" src="jscripts/fitonpage.js?ver=210"></script>
<script type="text/javascript">
<!--
	var fitonpage_on = "{$mybb->settings['g33k_fitonpage_enabled']}";
	var fitonpage_resize = "{$mybb->settings['g33k_fitonpage_resize']}";
	var fitonpage_fluid = "{$mybb->settings['g33k_fitonpage_fluid']}";
	var fitonpage_topbar_resized = "{$lang->fitonpage_topbar_resized}";
	var fitonpage_topbar_full = "{$lang->fitonpage_topbar_full}";
	var fitonpage_topbar_text_class = "{$mybb->settings['g33k_fitonpage_topbar_text_class']}";
	var fitonpage_topbar_bground = "{$mybb->settings['g33k_fitonpage_topbar_bground']}";
	var fitonpage_topbar_icon = "{$mybb->settings['g33k_fitonpage_topbar_icon']}";
	var fitonpage_location = "showthread";
-->
</script>
</head>
<body>
	{$header}
	{$pollbox}
	<div class="float_left">
		{$multipage}{$mysupport_jumpto_bestanswer}{$mysupport_form}
	</div>
	<div class="float_right">
		{$newreply}
	</div>
	{$ratethread}
	<br />	<br />
	<table border="0" cellspacing="{$theme['borderwidth']}" cellpadding="{$theme['tablespace']}" class="tborder" style="clear: both; border-bottom-width: 0;">
		<tr>
			<td class="thead" colspan="2">
				<div style="float: right;">
					<span class="smalltext"><strong><a href="showthread.php?mode=threaded&amp;tid={$tid}&amp;pid={$pid}#pid{$pid}">{$lang->threaded}</a> | <a href="showthread.php?mode=linear&amp;tid={$tid}&amp;pid={$pid}#pid{$pid}">{$lang->linear}</a></strong></span>
				</div>
				<div>
					<strong>{$mysupport_status}{$thread['subject']}</strong>
				</div>
			</td>
		</tr>
		{$classic_header}
	</table>
	<div id="posts">
		{$posts}
	</div>
	<div class="float_left">
		{$multipage}{$mysupport_jumpto_bestanswer}{$mysupport_form}
	</div>
	<div style="padding-top: 4px;" class="float_right">
		{$newreply}
	</div>
	<br style="clear: both;" />
	{$quickreply}
	{$threadexbox}
	{$similarthreads}
	<br />
	<div class="float_left">
		<ul class="thread_tools">
			<li class="printable"><a href="printthread.php?tid={$tid}">{$lang->view_printable}</a></li>
			<li class="sendthread"><a href="sendthread.php?tid={$tid}">{$lang->send_thread}</a></li>
			<li class="subscription_{$add_remove_subscription}"><a href="usercp2.php?action={$add_remove_subscription}subscription&amp;tid={$tid}">{$add_remove_subscription_text}</a></li>
		</ul>
	</div>

	<div class="float_right" style="text-align: right;">
		{$moderationoptions}
		{$forumjump}
	</div>
	<br style="clear: both;" />
	{$footer}
</body>
</html>
Yes, it's not default like I said, so revert it to default like AJS said.
(2010-11-15, 12:17 PM)MattRogowski Wrote: [ -> ]Yes, it's not default like I said, so revert it to default like AJS said.

But my template would change right ? It will become the default MyBB style right ? Not my template style !
Find:
<li class="subscription_{$add_remove_subscription}"><a href="usercp2.php?action={$add_remove_subscription}subscription&amp;tid={$tid}">{$add_remove_subscription_text}</a></li>

Replace with:
<li class="subscription_{$add_remove_subscription}"><a href="usercp2.php?action={$add_remove_subscription}subscription&amp;tid={$tid}&amp;my_post_key={$mybb->post_code}">{$add_remove_subscription_text}</a></li>
hi; I've got the same error

my showthread

<div style="padding: 5px 0px;">
					<a href="printthread.php?tid={$tid}" class="printable smalltext">{$lang->view_printable}</a>
					<a href="sendthread.php?tid={$tid}" class="sendthread smalltext">{$lang->send_thread}</a>
					<a href="usercp2.php?action={$add_remove_subscription}subscription&amp;tid={$tid}&amp;my_post_key={$mybb->post_code}" class="subscription_{$add_remove_subscription} smalltext">{$add_remove_subscription_text}</a>
				</div>
Pages: 1 2