Pagina 1 din 1
Login Box
Scris: 29-Dec-2006, 15:53:20
de ZooMLess
Care stie cum sa puna login box in partea dreapta a forumului ? Spuneti-mi si mie va rog login box cum este pe phpbb.ro cum este pe superforumul

lui Aliniuz si multe altele ? Care stie cum pun si eu ?

Scris: 29-Dec-2006, 17:24:18
de sorelsorel
Sidebar login & quickregister, daca sti elimini inregistrarea, sau daca nu ai rabdare 5 minute ca iti dau eu codul necesar.
Scris: 29-Dec-2006, 17:29:51
de ZooMLess
Am rabdare 5 min

! Dar sa imi zici si unde sa il bag te rog !

Scris: 29-Dec-2006, 17:35:12
de sorelsorel
Deci:
Deschizi index_body.tpl(din template)
Cauti:
Cod: Selectaţi tot
<table>
<table width="100%" cellspacing="0" cellpadding="2" border="0" align="center">
<tr>
<td align="left" valign="bottom"><span class="gensmall">
<!-- BEGIN switch_user_logged_in -->
Inainte, Adaugi:
Cod: Selectaţi tot
<table width="100%" border="0" align="center" cellpadding="2" cellspacing="0">
<tr valign="top">
<td>
Cauti:
Cod: Selectaţi tot
<td><span class="gensmall">{L_FORUM_LOCKED}</span></td>
</tr>
</table>
Dupa, adaugi:
Cod: Selectaţi tot
</td>
<td width="150">
<form method="post" action="{S_LOGIN_ACTION}">
<table width="100%" cellpadding="3" cellspacing="1" border="0" class="forumline">
<tr>
<td height="25" class="catHead"> Login</td>
</tr>
<tr>
<td class="row1" align="center" valign="middle"><span class="gensmall">{L_USERNAME}:<br>
<input class="post" type="text" name="username" size="10" />
<br>
{L_PASSWORD}:<br>
<input class="post" type="password" name="password" size="10" />
<br>
Auto Login :
<input class="text" type="checkbox" name="autologin" />
<br>
<input type="submit" class="mainoption" name="login" value="{L_LOGIN}" />
</span> </td>
</tr>
</table>
</form>
</td>
<!-- END switch_user_logged_out -->
</tr>
</table>
Cauti si stergi:(daca vrei sa iti scoata login-ul din josul paginii, mie mi se pare inutil sa ai 2 login-uri in aceasi pagina...
Cod: Selectaţi tot
<!-- BEGIN switch_user_logged_out -->
<form method="post" action="{S_LOGIN_ACTION}">
<table width="100%" cellpadding="3" cellspacing="1" border="0" class="forumline">
<tr>
<td class="catHead" height="28"><a name="login"></a><span class="cattitle">{L_LOGIN_LOGOUT}</span></td>
</tr>
<tr>
<td class="row1" align="center" valign="middle" height="28"><span class="gensmall">{L_USERNAME}:
<input class="post" type="text" name="username" size="10" />
{L_PASSWORD}:
<input class="post" type="password" name="password" size="10" />
{L_AUTO_LOGIN}
<input class="text" type="checkbox" name="autologin" />
<input type="submit" class="mainoption" name="login" value="{L_LOGIN}" />
</span> </td>
</tr>
</table>
</form>
<!-- END switch_user_logged_out -->
Deci e modificarea
SideBar login & quickregister, doar ca nu are quickregister.. sa nu se inteleag altceva..
[edit]: Scuze nu dezactivasem HTML
Scris: 29-Dec-2006, 17:37:05
de ZooMLess
Ok,s Mersi Mult !
