Problem: After upgrading to vBulletin 3.8.5, I am getting this Invalid Security Token error
s on the Mark Forums as read tool.
This fix is quite easy:
1. In your forumhome template, find:
<a href="forumdisplay.php?$session[sessionurl]do=markread rel="nofollow">$vbphrase[mark_forums_read]</a> |
And replace with:
<a href="forumdisplay.php?$session[sessionurl]do=markread&markreadhash=$bbuserinfo[securitytoken]" rel="nofollow">$vbphrase[mark_forums_read]</a> |
2. In your navbar template (twice), find:
<td class="vbmenu_control"><a href="forumdisplay.php?$session[sessionurl]do=markread" rel="nofollow">$vbphrase[mark_forums_read]</a></td> |
And replace with:
<a href="forumdisplay.php?$session[sessionurl]do=markread&markreadhash=$bbuserinfo[securitytoken]" rel="nofollow">$vbphrase[mark_forums_read]</a> |
If your search for those strings does not return any result, do the same search without rel=”nofollow”. This is:
FORUMHOME:
<a href="forumdisplay.php?$session[sessionurl]do=markread>$vbphrase[mark_forums_read]</a> |
NAVBAR:
<td class="vbmenu_control"><a href="forumdisplay.php?$session[sessionurl]do=markread">$vbphrase[mark_forums_read]</a></td> |