1
alfredxz
incorrect login name
  • 2003/11/2 17:17

  • alfredxz

  • Just popping in

  • Posts: 15

  • Since: 2003/2/11


ok, i wanted to make a welcome msg in the home page, something like "welcome back, (username). What's up?". So i put the fllowing code in theme.html:
<div>
<{if !$xoops_isuser}>
<form action="<{$xoops_url}>/user.php" method="post"><b>User: </b>
<input type='text' name='uname' value='username';">
<b>Pass: </b>
<input type="password" name="pass"/>
<input type="hidden" name="op" value="login" />
<input type="submit" value="login" /> 
<a href="<{$xoops_url}>/register.php"><b>
Join</b></a>
</form>
<{else}>
&nbsp;&nbsp;Welcome back, <b><{$user.name}></b>. What's up?
<{/if}>
</div>


...but every user that logs in always gets displayed the name of one of the two webmasters (and not his one)!
Any idea? Something wrong in the code?

2
alfredxz
Re: incorrect login name
  • 2003/11/10 16:44

  • alfredxz

  • Just popping in

  • Posts: 15

  • Since: 2003/2/11


i miss something...
i run XOOPS 2.0.5 on a winnt server, php 4.3.1

Login

Who's Online

216 user(s) are online (142 user(s) are browsing Support Forums)


Members: 0


Guests: 216


more...

Donat-O-Meter

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

Latest GitHub Commits