Thread Rating:
  • 1 Vote(s) - 5 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Solved: 7 Years, 4 Months, 3 Weeks ago Authorization Error When Attempting To Subscribe to Threads
#1
Solved: 7 Years, 4 Months, 3 Weeks ago
Hello. Whenever I attempt to subscribe to threads, I receive the following message:

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

What am I doing wrong? Thanks for your assistance!
#2
Solved: 7 Years, 4 Months, 3 Weeks ago
Your answer will be similar* to this thread
http://community.mybb.com/post-617627.html

*Might be a different template though (something like showthread template instead of threadlist)

1) Your template is from a non-default theme, or maybe you didn't run an upgrade script at some point.
2) The missing code is ' &my_post_key={$mybb->post_code} ' or very similar.

#
More (related) info here
http://community.mybb.com/post-617627.html

##
EDIT:

"showthread" template
Near the bottom look for a section similar to this
Code:
    {$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}&amp;my_post_key={$mybb->post_code}">{$add_remove_subscription_text}</a></li>
        </ul>
    </div>

If you are using a heavily altered theme, then the only line you need to be concerned with is this one.

Code:
            <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>

^^^
That has the missing code.
Have fun Smile

ps. I think that is correct, if not someone else will come along w/ the right answer.
#
MyBB is the best forum software! Exclamation

#3
Solved: 7 Years, 4 Months, 3 Weeks ago
Seeker fixed my problem. Thanks, Seeker!
#4
Solved: 7 Years, 4 Months, 3 Weeks ago
You are welcome Smile
#
MyBB is the best forum software! Exclamation

#5
Solved: 7 Years, 4 Months, 3 Weeks ago
Hi

I'm totally newby with mybb, and need a little help.
Where could I found the template for the emails sent by a forum when a user is subscribed for a thread?
In the email there is an unsubscribe link which should be corrected as seeker described above.

Thanks
#6
Solved: 7 Years, 4 Months, 3 Weeks ago
The contents of emails are in language files, not templates, and if the link the email is missing this bit of code then your language files are not up to date.
MyReactions - All Plugins

Can you still feel the butterflies?

Free never tasted like pudding.
#7
Solved: 7 Years, 4 Months, 3 Weeks ago
Thanks. Now I know where to search for.


Forum Jump:


Users browsing this thread: 1 Guest(s)