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.


All times are GMT. The time now is 09:05 AM.

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.01228 seconds
  • Memory Usage 1,728KB
  • 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
  • (2)bbcode_code_printable
  • (1)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (1)pagenav_pagelink
  • (1)post_thanks_navbar_search
  • (1)printthread
  • (10)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
  • pagenav_page
  • pagenav_complete
  • bbcode_fetch_tags
  • bbcode_create
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • printthread_post
  • printthread_complete