1
MaFIa
Need help with login on hp
  • 2010/9/21 6:42

  • MaFIa

  • Just popping in

  • Posts: 88

  • Since: 2005/2/28


Resized Image

2
Bleekk
Re: Need help with login on hp
  • 2010/9/21 7:03

  • Bleekk

  • Theme Designer

  • Posts: 940

  • Since: 2002/12/14


open "/themes/xt-game/modules/system/blocks/system_block_login.html"

add at the end
<a href="<{$xoops_url}>/register.php" title="<{$block.lang_registernow}>"><{$block.lang_registernow}></a>


the original login block is in "/modules/system/templates/blocks/system_block_login.html"

3
MaFIa
Re: Need help with login on hp
  • 2010/9/21 7:13

  • MaFIa

  • Just popping in

  • Posts: 88

  • Since: 2005/2/28


That is how its is now in "/themes/xt-game/modules/system/blocks/system_block_login.html"

<div style="padding-left:30px; margin-top:5px;">
<form style="margin-top: 0px;" action="<{$xoops_url}>/user.php" method="post">
<{$block.lang_username}><br />
<input type="text" name="uname" size="12" value="<{$block.unamevalue}>" maxlength="25" style="border:1px solid #E2DFDF; height:18px" /><br />
<{$block.lang_password}><br />
<input type="password" name="pass" size="12" maxlength="32" style="border:1px solid #E2DFDF; height:18px" /><br />
<{if $block.rememberme }>
<input type="checkbox" name="rememberme" value="On" /><{$block.lang_rememberme}><br />
<{/if}>
<input type="hidden" name="xoops_redirect" value="<{$xoops_requesturi}>" />
<input type="hidden" name="op" value="login" />
<input type="image" src="<{xoImgUrl images/login.gif}>" value="<{$block.lang_login}>" style="border:none; margin-top:3px; margin-bottom:3px; margin-left: 6px;" />
<br />
<{$block.sslloginlink}>
</form>
<a href="<{$xoops_url}>/user.php#lost" title="<{$block.lang_lostpass}>" ><{$block.lang_lostpass}></a>

<{if $block.registration }>
<br /><br />
<a href="<{$xoops_url}>/register.php" title="<{$block.lang_registernow}>" ><{$block.lang_registernow}></a>
<{/if}>
</div>

4
Bleekk
Re: Need help with login on hp
  • 2010/9/21 7:22

  • Bleekk

  • Theme Designer

  • Posts: 940

  • Since: 2002/12/14


in the last line please delete
<{if $block.registration }>

and
<{/if}>


I hope you posted the code from "/themes/xt-game/modules/system/blocks/system_block_login.html"

5
MaFIa
Re: Need help with login on hp
  • 2010/9/21 7:26

  • MaFIa

  • Just popping in

  • Posts: 88

  • Since: 2005/2/28


Yes the code from are from there

Still the same

6
MaFIa
Re: Need help with login on hp
  • 2010/9/21 7:32

  • MaFIa

  • Just popping in

  • Posts: 88

  • Since: 2005/2/28


This is from "/themes/xt-game/modules/system/blocks/system_block_login.html"

<div style="padding-left:30px; margin-top:5px;">
<form style="margin-top: 0px;" action="<{$xoops_url}>/user.php" method="post">
<{$block.lang_username}><br />
<input type="text" name="uname" size="12" value="<{$block.unamevalue}>" maxlength="25" style="border:1px solid #E2DFDF; height:18px" /><br />
<{$block.lang_password}><br />
<input type="password" name="pass" size="12" maxlength="32" style="border:1px solid #E2DFDF; height:18px" /><br />
<{if $block.rememberme }>
<input type="checkbox" name="rememberme" value="On" /><{$block.lang_rememberme}><br />
<{/if}>
<input type="hidden" name="xoops_redirect" value="<{$xoops_requesturi}>" />
<input type="hidden" name="op" value="login" />
<input type="image" src="<{xoImgUrl images/login.gif}>" value="<{$block.lang_login}>" style="border:none; margin-top:3px; margin-bottom:3px; margin-left: 6px;" />
<br />
<{$block.sslloginlink}>
</form>
<a href="<{$xoops_url}>/user.php#lost" title="<{$block.lang_lostpass}>" ><{$block.lang_lostpass}></a>

<br /><br />
<a href="<{$xoops_url}>/register.php" title="<{$block.lang_registernow}>" ><{$block.lang_registernow}></a>
</div>


and this is the original login block is in "/modules/system/templates/blocks/system_block_login.html"

<form style="margin-top: 0px;" action="<{$xoops_url}>/user.php" method="post">
<{$block.lang_username}><br />
<input type="text" name="uname" size="12" value="<{$block.unamevalue}>" maxlength="25" /><br />
<{$block.lang_password}><br />
<input type="password" name="pass" size="12" maxlength="32" /><br />
<{if isset($block.lang_rememberme)}>
<input type="checkbox" name="rememberme" value="On" class ="formButton" /><{$block.lang_rememberme}><br />
<{/if}>
<br />
<input type="hidden" name="xoops_redirect" value="<{$xoops_requesturi}>" />
<input type="hidden" name="op" value="login" />
<input type="submit" value="<{$block.lang_login}>" /><br />
<{$block.sslloginlink}>
</form>
<br />
<a href="<{$xoops_url}>/user.php#lost" title="<{$block.lang_lostpass}>"><{$block.lang_lostpass}></a>
<br /><br />
<a href="<{$xoops_url}>/register.php" title="<{$block.lang_registernow}>"><{$block.lang_registernow}></a>

7
Bleekk
Re: Need help with login on hp
  • 2010/9/21 7:34

  • Bleekk

  • Theme Designer

  • Posts: 940

  • Since: 2002/12/14


in general settings activate "Check templates for modifications ?"

8
MaFIa
Re: Need help with login on hp
  • 2010/9/21 7:39

  • MaFIa

  • Just popping in

  • Posts: 88

  • Since: 2005/2/28


I have set it to yes and no and now its is no

themes/your theme/templates <---there right??

9
MaFIa
Re: Need help with login on hp
  • 2010/9/21 7:40

  • MaFIa

  • Just popping in

  • Posts: 88

  • Since: 2005/2/28


wow i just set it to yes and now its work shot i put it back to no??

10
MaFIa
Re: Need help with login on hp
  • 2010/9/21 7:48

  • MaFIa

  • Just popping in

  • Posts: 88

  • Since: 2005/2/28


I want to say thanks for helping me.

Login

Who's Online

236 user(s) are online (147 user(s) are browsing Support Forums)


Members: 0


Guests: 236


more...

Donat-O-Meter

Stats
Goal: $100.00
Due Date: Mar 31
Gross Amount: $0.00
Net Balance: $0.00
Left to go: $100.00
Make donations with PayPal!

Latest GitHub Commits