Worked for me, thanks a lot guys!
Invalid Security Token Error on Mark Forums Read for vBulletin 3.8.5
Collapse
X
-
-
Why under forum tools is the code different in my style than what is posted in the fix here?
I have reverted, created a new default style etc and the option to mark this forum as read under the forum tools drop down refuses to work properly.
Code:<a href="forumdisplay.php?$session[sessionurl]do=markread&markreadhash=$bbuserinfo[securitytoken]" rel="nofollow">$vbphrase[mark_forums_read]</a>
Code:<a href="forumdisplay.php?$session[sessionurl]do=markread&f=$foruminfo[forumid]" rel="nofollow" onclick="return mark_forum_read($foruminfo[forumid]);">$vbphrase[mark_this_forum_read]</a>
Code:<a href="forumdisplay.php?$session[sessionurl]do=markread&markreadhash=$bbuserinfo[securitytoken]&f=$foruminfo[forumid]" rel="nofollow" onclick="return mark_forum_read($foruminfo[forumid]);">$vbphrase[mark_this_forum_read]</a>
Comment
-
The code in a specific forum to mark as read doesn't need a hash iirc. Only if you are marking the whole forum (as in, every forum on your site) as read.That's it. If you REALLY can't say ANYTHING nice to me at all on this forum, then I am going to go insanely mad at you. I've had enough of the UNTOLD ABUSE you are all giving me and you should really be CONSIDERATE of other people.
Comment
-
I'm not sure. Since I managed to mark a certain forum read inside the forum without the hash there.
The syntax definitely has NOT changed.
If there are other locations of Mark Forums read not working, please let me know and I can update the original post.That's it. If you REALLY can't say ANYTHING nice to me at all on this forum, then I am going to go insanely mad at you. I've had enough of the UNTOLD ABUSE you are all giving me and you should really be CONSIDERATE of other people.
Comment
-
You should remove the ?do=markread because that works with the hash.
The individual mark read script is hashless, so don't add a hash there.That's it. If you REALLY can't say ANYTHING nice to me at all on this forum, then I am going to go insanely mad at you. I've had enough of the UNTOLD ABUSE you are all giving me and you should really be CONSIDERATE of other people.
Comment
-
Oddly enough the link for an individual forum is just forumdisplay.php?f=6# , which on its own of course doesn't do anything. Thought I'd solve that by returning ?do=markread to the url, which doesn't result in that forum being marked as read anymore (instead, it just returns you to the forum view you were on).
What would a bookmarked hashless link that marks a single forum read, look like in 3.8.5?Comment
-
no ideaThat's it. If you REALLY can't say ANYTHING nice to me at all on this forum, then I am going to go insanely mad at you. I've had enough of the UNTOLD ABUSE you are all giving me and you should really be CONSIDERATE of other people.
Comment
-
this is what I currently have up.Code:<a href="forumdisplay.php?$session[sessionurl]do=markread&f=$foruminfo[forumid]&markreadhash=$bbuserinfo[securitytoken]" rel="nofollow" onclick="return mark_forum_read($foruminfo[forumid]);">$vbphrase[mark_this_forum_read]</a>
Comment
-
Sorry, but I am unable to figure out why security tokens don't work in your forumdisplay. Since I have no hash on my mark read script for forumdisplay and it works fine.That's it. If you REALLY can't say ANYTHING nice to me at all on this forum, then I am going to go insanely mad at you. I've had enough of the UNTOLD ABUSE you are all giving me and you should really be CONSIDERATE of other people.
Comment
-
Search the tracker for reports made by me. One named Security Token error is the oneThat's it. If you REALLY can't say ANYTHING nice to me at all on this forum, then I am going to go insanely mad at you. I've had enough of the UNTOLD ABUSE you are all giving me and you should really be CONSIDERATE of other people.
Comment
-
Well just to let you guys know I opened a ticket for this and they said it was one of my mods that was causing the problem. I am sure this is not the case since I downloaded a fresh copy of 3.8.5 and installed it into a brand new database, set disable all ajax and it gave me the same error. No mods, no nothing.Comment
widgetinstance 262 (Related Topics) skipped due to lack of content & hide_module_if_empty option.
Comment