PEAK XOOPS - Auto login and 7Dana round in englishin japanese

Auto login and 7Dana round

  • You cannot open a new topic into this forum
  • Guests cannot post into this forum
Previous post - Next post | Parent - Children.1 | Posted on 2004/12/25 6:53
jseymour  ¾åÅùʼ From: Gainesville Florida, USA  Posts: 40
I followed the ideas in the auto login + theme thread, but it does not work for me. Trying to use the login built into my theme instead of block.

Here is what I have:
Quote:
href="<{$xoops_url}>/user.php"><{$xoops_uname}></a> !<{else}>
<form onkeyup="highlight(event)" onclick="highlight(event)" style="margin-top: 2px; margin-bottom: 0px" action="<{$xoops_url}>/user.php" method="post">
<input name="uname" onblur="if(this.value=='') this.value='Username';" onfocus="if(this.value=='Username') this.value='';" type="text" value="Username" size="10" />
<input onblur="if(this.value=='') this.value='Password';" onfocus="if(this.value=='Password') this.value='';" value="Password" name="pass" type="password" size="10" />
<input type="hidden" name="op" value="login" />
<input name="submit" type="submit" value="Login" />
<input type="checkbox" name="rememberme" value="On" class ="formButton" />remember me <br/>
</form>
<{/if}></td>
<td align="left" class="headercenter"> <{if $xoops_isuser}> <{else}>
<form style="margin-top: 2px; margin-bottom: 0px" action="<{$xoops_url}>/register.php" method="post">
<input name="submit" type="submit" value=" Join " />
</form>
<{/if}> </td>

What do I need to change?

TIA and Merry Christmas.
Votes:2 Average:0.00
Previous post - Next post | Parent - Children.1 | Posted on 2004/12/25 18:58
GIJOE  ÀèǤ·³Áâ   Posts: 4110
hi seymour.

It looks nothing should be changed with theme.

Are you success to enable auto-login hack via login-block?

If not, retry overwriting the files.

Votes:1 Average:0.00
Previous post - Next post | Parent - Children.1 | Posted on 2004/12/25 19:33
jseymour  ¾åÅùʼ From: Gainesville Florida, USA  Posts: 40
Yes it works through the login block. But when I use the theme login, I stay logged in until I close the browser, then if I return I am asked to login again.

So is there something missing in the theme login form, I tried to compair with the block template but cannot, or do not, know what differences would cause this.
Votes:2 Average:5.00
Previous post - Next post | Parent - Children.1 | Posted on 2004/12/25 19:48
GIJOE  ÀèǤ·³Áâ   Posts: 4110
I've found your typo.

href="<{$xoops_url}>/user.php"><{$xoops_uname}></a> !<{else}> 
            <form onkeyup="highlight(event)" onclick="highlight(event)" style="margin-top: 2px; margin-bottom: 0px" action="<{$xoops_url}>/user.php" method="post"> 
              <input name="uname" onblur="if(this.value=='') this.value='Username';" onfocus="if(this.value=='Username') this.value='';" type="text" value="Username" size="10" /> 
              <input onblur="if(this.value=='') this.value='Password';" onfocus="if(this.value=='Password') this.value='';" value="Password" name="pass" type="password" size="10" /> 
              <input type="hidden" name="op" value="login" /> 
              <input type="hidden" name="xoops_redirect" value="<{$xoops_requesturi}>" />
              <input name="submit" type="submit" value="Login" />
<input type="checkbox" name="rememberme" value="On" class ="formButton" />remember me <br/>
            </form> 
<{/if}></td> 
          <td align="left" class="headercenter"> <{if $xoops_isuser}> <{else}> 
            <form style="margin-top: 2px; margin-bottom: 0px" action="<{$xoops_url}>/register.php" method="post"> 
              <input name="submit" type="submit" value=" Join " /> 
            </form> 
<{/if}> </td> 
Votes:1 Average:10.00
Previous post - Next post | Parent - Children.1 | Posted on 2004/12/25 20:00
jseymour  ¾åÅùʼ From: Gainesville Florida, USA  Posts: 40
Thanks for the quick reply, and Merry Christmas.

I have edited the files and will test when my server lets me upload. Currently getting a disk full error from my ftp client.
Votes:3 Average:3.33
Previous post - Next post | Parent - Children.1 | Posted on 2004/12/26 2:21
jseymour  ¾åÅùʼ From: Gainesville Florida, USA  Posts: 40
Well, thanks again. Tested and it is working fine.

Now on the Xoops site 2.0.9 final has been released. Should this hack work with that version?
Votes:1 Average:10.00

question Re: Auto login and 7Dana round

msg# 1.1.1.1.1.1.1
Previous post - Next post | Parent - No child | Posted on 2004/12/26 6:47
GIJOE  ÀèǤ·³Áâ   Posts: 4110
It sounds good.

Quote:
Now on the Xoops site 2.0.9 final has been released. Should this hack work with that version?
No.
I'll make the new patch files.

But it will be not so soon.
Votes:2 Average:5.00

  Advanced search


Login
Username or e-mail:

Password:

Remember Me

Lost Password?

Register now!