1
dave_uk
help with code please
  • 2006/12/1 1:45

  • dave_uk

  • Not too shy to talk

  • Posts: 113

  • Since: 2005/11/27


can someone help me please i want to add in to my theme a feature so that somewhere on the page it says

you are logged in as "username"
or
you are not logged in click here to log in or register

if anyone could help me with this code it would be apreciated

thanks
dave
Wii Plaza - Wii Fansite community

2
Lance_
Re: help with code please
  • 2006/12/1 1:52

  • Lance_

  • Home away from home

  • Posts: 983

  • Since: 2004/1/12


<{if $xoops_isuser}> 
Hello <a href="<{$xoops_url}>/user.php"><{$xoops_uname}>a>
&
nbsp;&nbsp;&nbsp;<a href="<{$xoops_url}>/user.php">My Profile a>&nbsp;
 <{else}>
 <
strong>Welcome!strong> &nbsp;&nbsp;&nbsp;
<
a href="<{$xoops_url}>/register.php">Register nowa>  <{/if}>
 <
span class="right">
<{if 
$xoops_isuser}>
<
a href="<{$xoops_url}>/user.php?op=logout">Logouta> <{else}> &nbsp;&nbsp;&nbsp;
<
a href="<{$xoops_url}>/user.php">Logina
<{/if}>span>

Taken from geometric_red from xoopsdesign.com
GDL-Web.com :: Website development.
Xoopslance.com::Freelancing and Projects
thelionsden-arena.net:: Clan/League/Ladder Hosting

3
dave_uk
Re: help with code please
  • 2006/12/1 2:29

  • dave_uk

  • Not too shy to talk

  • Posts: 113

  • Since: 2005/11/27


thanks lance was exactly what i needed
Wii Plaza - Wii Fansite community

Login

Who's Online

243 user(s) are online (126 user(s) are browsing Support Forums)


Members: 0


Guests: 243


more...

Donat-O-Meter

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

Latest GitHub Commits