PDA

View Full Version : wrong profile.php?do=dst link


wfcmod
03-29-2008, 07:58 AM
I have an full integration of photopost with vbulletin on my site, which is working as a beauty. But everytime when we change from winter to summertime I have a lot of problems with members that cannot login. Only when I manually disable their vbulletin profile settings for the time options (automatic adjust summertime correction) they can login again.

What I think is that the link that is adjusting this in their profile is wrong. Members that cannot login are automaticly forwarded to /profile.php?do=dst which does not exist (I have vbulletin installed in the subdirectory /vb3) and therefor cannot continue their visit at my site.

Anyone that has a solution or encountered similar problems?

Lynne
03-29-2008, 03:25 PM
I've had this happen before on my site. I fixed it by adding the full path to the profile page in the footer, like this:
<if condition="$show['dst_correction']">
<!-- auto DST correction code -->
<!-- added full url to form action -->
<form action="/forums/profile.php?do=dst" method="post" name="dstform">
<input type="hidden" name="s" value="$session[sessionhash]" />
<input type="hidden" name="do" value="dst" />
</form>