PDA

View Full Version : Security token issue on "Mark Forums Read"


Fungsten
06-22-2010, 05:31 PM
I have VB 4.0.4. It happens to me as Administrator. TIA.

Seven Skins
06-22-2010, 07:21 PM
Does this happen when you use defualt skin, if not then your skin needs updating.

Fungsten
06-22-2010, 07:24 PM
Does this happen when you use defualt skin, if not then your skin needs updating.

Happens there too.

Fungsten
06-26-2010, 06:56 PM
Bump.

KevinL
06-26-2010, 07:44 PM
Beautiful error in the vb4 series lol

http://www.vbulletin.com/forum/showthread.php?350975-Invalid-Security-Token-Error-on-Mark-Forums-Read

so simple why fix it?

Fungsten
06-26-2010, 09:30 PM
Beautiful error in the vb4 series lol

http://www.vbulletin.com/forum/showthread.php?350975-Invalid-Security-Token-Error-on-Mark-Forums-Read

so simple why fix it?

I searched for that at VB and couldn't find anything!! Thanks!!

On Edit:

Can't find any of it in the templates!

KevinL
06-26-2010, 10:30 PM
Search for it in each template.makes it easier

Fungsten
06-28-2010, 05:28 PM
I searched using the other terms at the link and could not find anything.

The only thing I can find is this:


<script type="text/javascript" src="clientscript/vbulletin_read_marker.js?v={vb:raw vboptions.simpleversion}"></script>
<script type="text/javascript">
<!--
vbphrase['doubleclick_forum_markread'] = "{vb:rawphrase doubleclick_forum_markread}";
init_forum_readmarker_system();
//-->
</script>


And it's in the forumhome_markread_script template.

KevinL
06-28-2010, 05:31 PM
Go into each template that it tells you...then at the bottom it will say search...search for:

do=markread


Then make them look the same ;)

Fungsten
06-28-2010, 05:56 PM
Go into each template that it tells you...then at the bottom it will say search...search for:

do=markread


Then make them look the same ;)


I found this in the forumdisplay template:


<a href="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_read({vb:raw foruminfo.forumid});">
{vb:rawphrase mark_this_forum_read}
</a>


What do I replace it with? What was said in the link.

(Even though I've had VB for a while I don't know that much about coding with the new VB4.)

KevinL
06-29-2010, 07:13 PM
I think that one is actually OK. Like it says you should find 3 templates with that line. When I found it I think it was fixed already on 2 out of 3...

Fungsten
06-29-2010, 08:12 PM
I think that one is actually OK. Like it says you should find 3 templates with that line. When I found it I think it was fixed already on 2 out of 3...

Still didn't work.

KevinL
06-29-2010, 08:22 PM
And you fixed the ones in the forumhome and navbar? Because that one is correct.

post back :)

Fungsten
06-29-2010, 08:38 PM
And you fixed the ones in the forumhome and navbar? Because that one is correct.

post back :)

Fixed them all.

KevinL
06-29-2010, 08:48 PM
Is it all your styles or just one? And dumb question...but are you fixing them in ALL styles? I know it is an obvious question but I have to ask. Which styles is it happening in?

Fungsten
06-29-2010, 08:52 PM
Is it all your styles or just one? And dumb question...but are you fixing them in ALL styles? I know it is an obvious question but I have to ask. Which styles is it happening in?

All of them.

KevinL
06-29-2010, 09:06 PM
All of them.

It is happening in all of them or you fixed all templates in all of them hah