vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vB3 General Discussions (https://vborg.vbsupport.ru/forumdisplay.php?f=111)
-   -   Security Tokens (https://vborg.vbsupport.ru/showthread.php?t=212444)

chrisbeau 04-29-2009 04:31 PM

Security Tokens
 
Im having a problem with security tokens.

When a new member joins and they go to edit there profile they get a security tokens message.

New registrations are
PHP Code:

Is DST currently in effect ? = no 

I change it from this to yes and the problem stops, but come the time when the clocks go forward or back, we have to manually do this for everyone. :(

Can someone please advise, this has been going on for months now, I tried disabling all products, and have removed all themes/skins bar the two originals but it has made no difference.


Failing that is there any mod/hack that allows the changing of
PHP Code:

Is DST currently in effect 

for all users rather than me having to do it individually ?

Lynne 04-29-2009 04:50 PM

Make sure your footer template has been updated to have the security token present. And make sure the link to profile.php in the footer is correct for every page (like if you have some pages outside the forum directory that uses this footer, it won't be correct using the default link).

chrisbeau 04-30-2009 06:21 AM

Quote:

Originally Posted by Lynne (Post 1801266)
Make sure your footer template has been updated to have the security token present. And make sure the link to profile.php in the footer is correct for every page (like if you have some pages outside the forum directory that uses this footer, it won't be correct using the default link).

Link code in the footer is as follows:
PHP Code:

<form action="profile.php?do=dst" method="post" name="dstform">
    <
input type="hidden" name="s" value="$session[sessionhash]/>
    <
input type="hidden" name="do" value="dst" />
</
form

Seem ok ?

Not sure what you mean by make sure it has the security token present, what piece of code should I be looking for ?

I dont have any pages outside the forum root.

Jimandbob 04-30-2009 11:35 AM

The code should be,

PHP Code:

<form action="profile.php?do=dst" method="post" name="dstform">
    <
input type="hidden" name="s" value="$session[sessionhash]/>
    <
input type="hidden" name="securitytoken" value="$bbuserinfo[securitytoken]/>
    <
input type="hidden" name="do" value="dst" />
</
form


chrisbeau 04-30-2009 06:11 PM

Cheers guys that seems to have cleared it all up :)


All times are GMT. The time now is 06:47 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.02239 seconds
  • Memory Usage 1,739KB
  • 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_php_printable
  • (1)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)post_thanks_navbar_search
  • (1)printthread
  • (5)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