Quote:
Originally Posted by Dan Clement
Hi folks,
I was having the same error but I seem to have been able to resolve it. I'll run you through what I did in the hopes it'll sort you out too.
In the Admin CP, drop down Styles & Templates, then go to Style Manager. Find the skin you're having trouble with and go to Edit Templates. Find your 'footer' template and find the following snippet of code:
Code:
<!-- auto DST correction code -->
<form action="profile.php?do=dst" method="post" name="dstform">
<input type="hidden" name="s" value="$session[sessionhash]" />
</form>
From what I can make out, the error arises because the lines that calls upon the user's security token are omitted leading vB to think that the user doesn't have one. You need to add in a couple of lines to make vB call the security token. To do this, replace the code above with this:
Code:
<!-- auto DST correction 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>
Save your changes and try accessing your User CP again. Should have fixed you right up. If not, give me a shout.
Just to re-iterate, you should not have to edit profile.php at all to fix this error and in trying to do so you're probably more likely to break something!
|
Thanks, I have tried this solution and will post up on whether it works.
For some time now new users have been receiving the security token message and were unable to participate in the forum upon registering. I recently, within the last week, started receiving the "security token" message every time I tried to access my own user CP and sometimes when I tried to preview some of my posts. Today this issue mysteriously disappeared for me prior to executing the above solution. dunno why
I have read the available threads on this forum and so I have done my part.

Any advice or help would be most appreciated.
This security token issue also happens to myself and others when I try to use the basic forum search function. Advanced search works just fine.
We are still in Beta but do have enough members that all these security token issues cause a great deal of consternation.
We are currently running VB 3.8.3 and are using a skin originally from vbskins.com which we totally customized for our site. It's awesome but until we fix these issues with some new members being unable to register and participate, as well as jacked basic search function we are dead in the water.