PDA

View Full Version : security token in mark read forums


Taringa! CS
03-12-2010, 10:55 AM
After upgrading to 3.8.5 i'm getting this error when i try to mark all my forums read

any ideas?

Thanks in advance

Speysider
03-12-2010, 11:39 AM
This is not a bug. Is this code in your templates?
<a href="forumdisplay.php?$session[sessionurl]do=markread&amp;markreadhash=$bbuserinfo[securitytoken]" rel="nofollow">$vbphrase[mark_forums_read]</a>

mark370
03-13-2010, 12:18 PM
did you fix this issue at all ?

ive got the same error in my mark forums read link in the top navbar after upgrading to vb 3.8.5,
i have reverted the forumhome template but ime not that good with vbull yet to figure out wot edits i need to do to correct this security token error Doh!

if anyone can give me a pointer it would be much appreciated.

PS. ive turned of the plugin/ hook system but so i no its not down to a mod ive installed.

Speysider
03-13-2010, 12:34 PM
Did you add the code I supplied above in the Forum Home Template??

Fungsten
03-14-2010, 05:26 PM
Speysider,

Where should it be place within that template? TIA.

Same thing is happening on my board.


On edit:

This was in the template:

<a href="forumdisplay.php?$session[sessionurl]do=markread" rel="nofollow">$vbphrase[mark_forums_read]</a>


Should I just replace it with your code?

Speysider
03-14-2010, 05:35 PM
Replace that with my code.

Fungsten
03-14-2010, 05:50 PM
Replace that with my code.


It worked but only on the "Mark all Forums" at the bottom of the forumhome. However I replaced your code in the navbar's "Mark Read" and I'm still getting the error.

Speysider
03-14-2010, 05:52 PM
FORUMHOME: Code I gave above.
Navbar (two instances):

<a href="forumdisplay.php?$session[sessionurl]do=markread&amp;markreadhash=$bbuserinfo[securitytoken]" rel="nofollow">


These are proven to work.

AoN
03-14-2010, 05:57 PM
same i got that error on my forum too, when i upgrade to vb3.8.5

Speysider
03-14-2010, 05:58 PM
Did you even look at my posts?? It states quite clearly you need to replace the mark read codes with the ones I've provided.

Please actually read the replies than just ignoring them.

AoN
03-14-2010, 06:03 PM
but where the code and how i changed?i am noob help me lol!

Fungsten
03-14-2010, 06:11 PM
It worked. BTW, the "Edit Details" link on the same menu isn't showing up. I checked to see if it was in the code but it is there. When I click on where it should it takes me to the "Details" but the link doesn't show up. Does anyone know else have this? TIA.

RedHotChili
03-18-2010, 10:32 PM
Did you even look at my posts?? It states quite clearly you need to replace the mark read codes with the ones I've provided.

Please actually read the replies than just ignoring them.So are you saying the original upgrade package failed to provide these code corrections?

trifive
03-19-2010, 01:54 AM
I found the fix after many hours and trying to do the template edits with no success.

I installed 3.8.4 patch level 2

3.5 is just a pain in the *** and does nothing but make errors

otis

Speysider
03-19-2010, 05:29 PM
So are you saying the original upgrade package failed to provide these code corrections?

It will make the code corrections to UN-MODIFIED forumhome templates.

mastertek2000
04-30-2010, 01:14 AM
thanks this worked perfact

TheKdd
06-09-2010, 04:13 PM
Spey, just wanted to say thanks!! Worked great!

jefferis
05-08-2013, 01:08 PM
<a href="{vb:raw $vboptions.vbforum_url}{vb:if "$vboptions['vbforum_url']", '/', ''}forumdisplay.php?{vb:raw session.sessionurl}do=markread&amp;f={vb:raw foruminfo.forumid}&amp;markreadhash={vb:raw bbuserinfo.securitytoken}" rel="nofollow" onclick="return mark_forum_and_threads_read({vb:raw foruminfo.forumid});">

Can't use the modification from 3.8 Not sure what to do about this error... vB tech is stumped.

Amaury
05-08-2013, 02:25 PM
<a href="{vb:raw $vboptions.vbforum_url}{vb:if "$vboptions['vbforum_url']", '/', ''}forumdisplay.php?{vb:raw session.sessionurl}do=markread&amp;f={vb:raw foruminfo.forumid}&amp;markreadhash={vb:raw bbuserinfo.securitytoken}" rel="nofollow" onclick="return mark_forum_and_threads_read({vb:raw foruminfo.forumid});">

Can't use the modification from 3.8 Not sure what to do about this error... vB tech is stumped.

If this is an issue with a modification, ask in the appropriate modification thread. If it's a general issue, create a new thread in the appropriate section -- in your case vBulletin 4 General Discussions.

Either way, this isn't the right place.