Quantcast
Channel: Lecciones Prácticas » vBulletin
Viewing all articles
Browse latest Browse all 10

vBulletin: Invalid Security Token [SOLVED]

$
0
0

Problem: After upgrading to vBulletin 3.8.5, I am getting this Invalid Security Token errors 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&amp;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&amp;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>

Viewing all articles
Browse latest Browse all 10

Trending Articles