MyBB Community Forums

Full Version: Mark All Forums Read
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
Pages: 1 2
Every time i click Mark All Forums Read , I'm getting this Error !

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



How can i fix ? Undecided
My forum had the same problem. One of my members suggested this:

To fix this, go to:
Admin CP --> Templates --> Find Updated - Update any templates that are outdated, making sure to back them up first.

Try it out, it worked on my forum Smile
This is happening to me too, and someone pointed me to this thread:
http://community.mybb.com/thread-93432.html

Although, I wonder know because that thread says to use the following:
misc.php?action=markread&my_post_key={$mybb->post_code}

But when looking at another template code, I found the following code and I'm not sure which is more "correct":
misc.php?action=markread&fid={$fid}{$post_code_string}
@Darrel: there are two templates with the markread-link: index_boardstats and forumdisplay_threadlist. The first one is to mark all forums read and the second one is to mark the current forum as read. While the solution the thread gives you will work just fine, the default theme indeed uses {$post_code_string} in both templates.
@Aries
Shouldn't the second link then be:
misc.php?action=markread&fid={$fid}&my_post_key={$mybb->post_code}

instead of just:
misc.php?action=markread&fid={$fid}{$post_code_string}
(2011-05-23, 11:07 PM)Darrell Wrote: [ -> ]@Aries
Shouldn't the second link then be:
misc.php?action=markread&fid={$fid}&my_post_key={$mybb->post_code}

instead of just:
misc.php?action=markread&fid={$fid}{$post_code_string}

It should work both but the default theme uses the latter.
All of the mark read URL's should be:
misc.php?action=markread&my_post_key={$mybb->post_code}

Are you still having problems with this?
(2011-05-24, 09:16 AM)Joshua Mayer Wrote: [ -> ]All of the mark read URL's should be:
misc.php?action=markread&my_post_key={$mybb->post_code}

Are you still having problems with this?

Where i need to add following code ? Sad
Explain pls
http://community.mybb.com/thread-93432.html

As it says in that thread, you'll need to make sure that code is on the end of the mark as read links in the templates listed in that thread.
Í did , still not work Sad now mark as read is gone :/
Pages: 1 2