MyBB Community Forums

Full Version: "Mark All Forums Read" on the "View New Posts"
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
Hi,
how to add the "Mark All Forums Read" on the search page (showing the new posts)?
I believe you can add your link in the search_results_posts_post and the search_results_threads templates in the admin cp.
Please practical advice, not guesses ...

After adding the code, a message appears:

<a href="misc.php?action=markread{$post_code_string}">Mark All Forums Read</a>

Quote:Authorization code mismatch. Are you accessing this function correctly? Please go back and try again.
Replace the link with this;
misc.php?action=markread&my_post_key={$mybb->post_code}