The Arcive of Official vBulletin Modifications Site.It is not a VB3 engine, just a parsed copy! |
|
#1
|
|||
|
|||
![]()
Hi all,
What does this do profile.php?do=dst ? Alot of members are receiving this: Your submission could not be processed because a security token was missing. If this occurred unexpectedly, please inform the administrator and describe the action you performed before you received this error. -------------------------------- Referring Page: http://www.joshandfriends.com.au/for...ile.php?do=dst When i try and view the offending page: http://www.joshandfriends.com.au/for...ile.php?do=dst . I get a blank screen. Any ideas? Josh |
#2
|
||||
|
||||
![]()
It has to do with the daylight savings time. Make sure your footer has the required securitytoken in it (this is for 3.8.0, you can find what should be in your version by clicking on Show Default in the template):
HTML 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> <script type="text/javascript"> <!-- var tzOffset = $bbuserinfo[timezoneoffset] + $bbuserinfo[dstonoff]; var utcOffset = new Date().getTimezoneOffset() / 60; if (Math.abs(tzOffset + utcOffset) == 1) { // Dst offset is 1 so its changed document.forms.dstform.submit(); } //--> </script> <!-- / auto DST correction code --> |
#3
|
|||
|
|||
![]()
Thanks heaps. I think my vb advanced template was out of date. There was a copy of this in the adv_portal template.
|
#4
|
|||
|
|||
![]()
thanks, that seemed to fix my issue with that as well
|
![]() |
|
|
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
![]() |
|
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|