cotonti.com : login fields in header and index https://www.cotonti.com Neueste Themenbeiträge Cotonti en Sun, 05 Jul 2026 21:35:55 -0000 Franco i know it's an old bump, but appartently the <!-- BEGIN: USER --> isn't working either in the index, and if i use <!-- IF {PHP.usr.id} > 1 --> or <!-- IF {PHP.usr.maingrp} > 1 --> it has some kind of conflict with the IF of the avatar and admin panel

]]>
So, 24 Jul 2011 23:47:34 -0000
zboy812 Mi, 29 Sep 2010 03:38:18 -0000 pieter
<!-- IF {PHP.usr.id} < 1 -->
CODE YOU WANT TO BE VIEWED BY GUESTS
<!-- ENDIF -->
]]>
Di, 28 Sep 2010 15:53:48 -0000
zboy812 not working in index. now how to do?]]> Di, 28 Sep 2010 07:47:22 -0000 fraze
is there anything i need to change elsewhere?]]>
So, 05 Sep 2010 22:24:08 -0000
pieter
#header #userBar .text ul { padding:0; margin:0; }
#header #userBar .text li { display:inline; list-style:none; padding:0; margin:0; }
]]>
So, 05 Sep 2010 18:53:03 -0000
fraze
thanks :)]]>
So, 05 Sep 2010 17:32:09 -0000
pieter Sa, 04 Sep 2010 19:50:23 -0000 Kort Sa, 04 Sep 2010 15:10:50 -0000 pieter Sa, 04 Sep 2010 14:49:40 -0000 Kort <ul> <!-- BEGIN: GUEST --> <form name="login" action="{HEADER_GUEST_SEND}" method="post"> <li>{PHP.skinlang.header.Welcome}</li> <li><input type="text" class="tinput" name="rusername" maxlength="32" value="{PHP.L.User}" onfocus="if(this.value=='{PHP.L.User}') this.value=''" onblur="if(this.value=='') this.value='{PHP.L.User}'" /></li> <li><input type="password" class="tinput" name="rpassword" maxlength="32" value="{PHP.L.Password}" onfocus="if(this.value=='{PHP.L.Password}') this.value=''" onblur="if(this.value=='') this.value='{PHP.L.Password}'"/></li> <li><label><input type="checkbox" name="rremember" />{PHP.skinlang.usersauth.Rememberme}</label></li> <li><input type="submit" class="tinput" value="{PHP.L.Login}" /></li> <li><a href=https://www.cotonti.com/"users.php?m=register">{PHP.L.Register}</a></li> <li><a href=https://www.cotonti.com/"plug.php?e=passrecover">{PHP.skinlang.usersauth.Lostpassword}</a></li> </form> <!-- END: GUEST --> <!-- BEGIN: USER --> <li>{PHP.L.User}: {PHP.usr.name}</li> <!-- IF {PHP.usr.profile.user_avatar} --> <li><img src=https://www.cotonti.com/"{PHP.usr.profile.user_avatar}" alt="{PHP.L.Avatar}" /></li> <!-- ELSE --> <li><img src=https://www.cotonti.com/"datas/defaultav/blank.png" alt="{PHP.L.Avatar}" /></li> <!-- ENDIF --> <!-- IF {PHP.usr.isadmin} --> <li><a href=https://www.cotonti.com/"admin.php" title="{PHP.L.Adminpanel}">{PHP.L.Adminpanel}</a></li> <!-- ENDIF --> <li><a href=https://www.cotonti.com/"users.php?m=profile" title="{PHP.L.Profile}">{PHP.L.Profile}</a></li> <li><a href=https://www.cotonti.com/"users.php" title="{PHP.L.Users}">{PHP.L.Users}</a></li> <li><a href=https://www.cotonti.com/"pfs.php" title="{PHP.L.PFS}">{PHP.L.PFS}</a></li> <li><a href=https://www.cotonti.com/"pm.php" title="{PHP.L.Private_Messages}">{PHP.L.PM}</a></li> <li><a href=https://www.cotonti.com/"{PHP.out.loginout_url}" title="{PHP.L.Logout}">{PHP.L.Logout}</a></li> <!-- END: USER --> </ul>Placing login form in index.tpl requires
<form name="login" action="{PHP.cfg.mainurl}/users.php?m=auth&a=check" method="post">
Leetlogin can be discarded in Cotonti.]]>
Sa, 04 Sep 2010 14:25:40 -0000
pieter
Standard template the login is in an other screen.

Here at cotonti it is in the header.
How can we do this.
Can it also be done in the index?

Before we needed the leetlogin

Thx]]>
Sa, 04 Sep 2010 14:10:34 -0000