vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vB3 General Discussions (https://vborg.vbsupport.ru/forumdisplay.php?f=111)
-   -   security token in mark read forums (https://vborg.vbsupport.ru/showthread.php?t=238090)

Taringa! CS 03-12-2010 10:55 AM

security token in mark read forums
 
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?
Code:

<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

Quote:

Originally Posted by Speysider (Post 2003539)
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):
Code:

<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

Quote:

Originally Posted by Speysider (Post 2003560)
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

Quote:

Originally Posted by RedHotChili (Post 2006125)
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

Code:

<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

Quote:

Originally Posted by jefferis (Post 2420691)
Code:

<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.


All times are GMT. The time now is 04:54 PM.

Powered by vBulletin® Version 3.8.12 by vBS
Copyright ©2000 - 2025, vBulletin Solutions Inc.

X vBulletin 3.8.12 by vBS Debug Information
  • Page Generation 0.01191 seconds
  • Memory Usage 1,752KB
  • Queries Executed 10 (?)
More Information
Template Usage:
  • (1)ad_footer_end
  • (1)ad_footer_start
  • (1)ad_header_end
  • (1)ad_header_logo
  • (1)ad_navbar_below
  • (4)bbcode_code_printable
  • (4)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)post_thanks_navbar_search
  • (1)printthread
  • (19)printthreadbit
  • (1)spacer_close
  • (1)spacer_open 

Phrase Groups Available:
  • global
  • postbit
  • showthread
Included Files:
  • ./printthread.php
  • ./global.php
  • ./includes/init.php
  • ./includes/class_core.php
  • ./includes/config.php
  • ./includes/functions.php
  • ./includes/class_hook.php
  • ./includes/modsystem_functions.php
  • ./includes/class_bbcode_alt.php
  • ./includes/class_bbcode.php
  • ./includes/functions_bigthree.php 

Hooks Called:
  • init_startup
  • init_startup_session_setup_start
  • init_startup_session_setup_complete
  • cache_permissions
  • fetch_threadinfo_query
  • fetch_threadinfo
  • fetch_foruminfo
  • style_fetch
  • cache_templates
  • global_start
  • parse_templates
  • global_setup_complete
  • printthread_start
  • bbcode_fetch_tags
  • bbcode_create
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • printthread_post
  • printthread_complete