Webboard

Pełna wersja: Zmiana wyglądu panelu logowania
Aktualnie przeglądasz uproszczoną wersję forum. Kliknij tutaj, by zobaczyć wersję z pełnym formatowaniem.
wersja skryptu MyBB:1.6.8
adres forum:http://freehead.hpbf.pl
na czym polega problem (screen, opis, komunikaty):
Witam proszę o pomoc w uzyskaniu takiego efektu jak widać poniżej na zdjęciu

[Obrazek: logowanko.png]
Daj szablon header_welcomeblock_guest ( w nagłówku jest)
dodam dwa header_welcomeblock_guest:

Kod PHP:
<table border="0" cellspacing="$theme[borderwidth]cellpadding="$theme[tablespace]class="tborder">
<
tr>
<
td class="trow1" width="60%" rowspan="2"><navigation></td>
<
td width="27%" class="trow2" style="font-size:11px">
<
form action="member.php" method="post">
<
input type="hidden" name="action" value="do_login" />
<
table border="0" cellspacing="0" cellpadding="0">
<
tr>
<
td><strong><span class="smalltext">Nazwa użytkownika</span></strong>&nbsp;&nbsp;</td>
<
td><input type="text" class="textbox" name="username" title="{$lang->login_username}value="Nazwa użytkownika" onfocus="this.value=''" />

<
label for="remember">
<
input type="checkbox" name="remember" id="remember" value="yes" checked="checked"  />

</
td>
</
tr>
<
tr>
<
td><strong><span class="smalltext">Hasło</span></strong>&nbsp;&nbsp;</td>
<
td><input type="password" class="textbox" name="password" title="{$lang->login_password}value="" onfocus="this.value=''" />&nbsp;&nbsp;<input type="submit" class="button" name="submit" value="{$lang->welcome_login}/></td>
</
tr>
</
table>
</
form>
</
td>
</
tr>
</
table>
<
div align="center">
<
table class="tborder" border="0" cellspacing="0" cellpadding="3" align="center" style="border-top-width:0px; font-size:11px">
<
tr align="center" class="thead">
<
td class="welcome"><a href="{$mybb->settings['bburl']}/member.php?action=register"><b>{$lang->welcome_register}</b></a></td>
<
td class="welcome"><a href="{$mybb->settings['bburl']}/misc.php?action=help"><b>{$lang->toplinks_help}</b></a></td>
<
td class="welcome"><a href="{$mybb->settings['bburl']}/memberlist.php"><b>{$lang->toplinks_memberlist}</b></a></td>
<
td class="welcome"><a href="{$mybb->settings['bburl']}/calendar.php"><b>{$lang->toplinks_calendar}</b></a></td>
<
td class="welcome"><a href="search.php?action=getnew"><b>{$lang->welcome_newposts}</b></a></td>
<
td class="welcome"><a href="{$mybb->settings['bburl']}/search.php?action=getdaily"><b>{$lang->welcome_todaysposts}</b></a></td>
<
td class="welcome"><a href="$settings[bburl]/search.php"><b>{$lang->toplinks_search}</b></a></td>
</
tr>
</
table


oraz header_welcomeblock_member

Kod PHP:
</table>
<
div align="Center">
<
table class="tborder" border="0" cellspacing="0" cellpadding="3" align="center"
 
style="border-top-width:0px; font-size:11px">
<
tr align="center" class="thead">
<
td class="welcome"><a href="http://..../showthread.php?tid=1"><span style="color: red"><b><u>Regulamin</u></b></span></a></td>
<
td class="welcome"><a href="{$mybb->settings['bburl']}/usercp.php"><span style="color: black"><b>{$lang->welcome_usercp}</b></span></a></td>
<
td class="welcome"><a href="http://..../chat.php"><span style="color: yellow"><b>Czat</b></span></a></td>
<
td class="welcome"><a href="http://..../games.php"><span style="color: white"><b>Gry</b></span></a></td>
<
td class="welcome"><a href="{$mybb->settings['bburl']}/modcp.php"><span style="color: blue"><b>MCP</b></span></a></td>
<
td class="welcome"><a href="http://freehead.hpbf.pl/admin/index.php"><span style="color: red"><b>ACP</b></span</a></td>
<
td class="welcome"><a href="{$mybb->settings['bburl']}/member.php?action=logout&amp;logoutkey={$mybb->user['logoutkey']}"><span style="color: white"><b>Wyloguj się</b></span></a></td>
<
td class="welcome"><a href="misc.php?action=markread"><b>{$lang->markread}</b></b></td>
<
td class="welcome"><a href="showteam.php"><b>{$lang->forumteam}</b></a></td>
<
td class="welcome"><a href="stats.php"><b>{$lang->forumstats}</b></a></td>
</
tr>
</
table>
</
div>               

<
table border="0" cellspacing="{$theme['borderwidth']}cellpadding="{$theme['tablespace']}class="tborder" align="center"><tr>
<
td class="trow2" width="100%"><navigation></td>
<
td class="trow1" nowrap="nowrap" style="padding:6px">
<
strong>Witaj, </strong><a href="http://http://freehead.hpbf.pl/usercp.php"><strong>{$mybb->user['username']}</strong></a>. 
<
br /><strong>Ostatnia wizyta:</strong><span class="smalltext"><em>{$lang->member_welcome_lastvisit}</em> {$lastvisit}<br />

<
a href="{$mybb->settings['bburl']}/private.php">{$lang->welcome_pms}</a> {$lang->welcome_pms_usage}</td>
</
tr>
</
table>

</
tr>
</
table>
<
div align="center">
<
table class="tborder" border="0" cellspacing="0" cellpadding="3" align="center" style="border-top-width:0px; font-size:11px">
<
tr align="center" class="thead">
<
td class="welcome"><a href="{$mybb->settings['bburl']}/memberlist.php"><span style="color: withe"><b>Użytkownicy</b></span></a></td>
<
td class="welcome"><a href="#" onclick="MyBB.popupWindow('{$mybb->settings['bburl']}/misc.php?action=buddypopup', 'buddyList', 200, 300);">
<
span style="color: white"><b>{$lang->welcome_open_buddy_list}</b></span></a></td>
<
td class="welcome"><a href="search.php?action=getnew"><span style="color: white"><b>{$lang->welcome_newposts}</span></a></td>
<
td class="welcome"><a href="{$mybb->settings['bburl']}/calendar.php"><span style="color: white"><b>Kalendarz</b></span></a></td>
<
td class="welcome"><a href="$settings[bburl]/search.php"><span style="color: white"><b>Szukaj</b></span></a></td>
<
td class="welcome"><a href="{$mybb->settings['bburl']}/misc.php?action=help"><span style="color: white"><b>Pomoc</b></span></a></td>
</
tr>
</
table>
</
div
Z input.textbox w global.css wywal border: solid 1px #costam; oraz dodaj width:100px;

Kod:
<table border="0" cellspacing="$theme[borderwidth]" cellpadding="$theme[tablespace]" class="tborder">
<tr>
<td class="trow1" width="57%" rowspan="2"><navigation></td>
<td width="30%" class="trow2" style="font-size:10px">
<form action="member.php" method="post">
<input type="hidden" name="action" value="do_login" />
<table border="0" cellspacing="0" cellpadding="0">
<tr>
<td><span class="smalltext">Nazwa użytkownika</span>&nbsp;&nbsp;</td>
<td><input type="text" class="textbox" name="username" title="{$lang->login_username}" value="Login" onfocus="this.value=''" />

<label for="remember">
<input type="checkbox" name="remember" id="remember" value="yes" checked="checked" /> Zapamiętaj

</td>
</tr>
<tr>
<td><span class="smalltext">Hasło</span>&nbsp;&nbsp;</td>
<td><input type="password" class="textbox" name="password" title="{$lang->login_password}" value="" onfocus="this.value=''" />&nbsp;&nbsp;<input type="submit" class="button" name="submit" value="Zaloguj się" /></td>
</tr>
</table>
</form>
</td>
</tr>
</table>
<div align="center">
<table class="tborder" border="0" cellspacing="0" cellpadding="3" align="center" style="border-top-width:0px; font-size:11px">
<tr align="center" class="thead">
<td class="welcome"><a href="{$mybb->settings['bburl']}/member.php?action=register"><b>{$lang->welcome_register}</b></a></td>
<td class="welcome"><a href="{$mybb->settings['bburl']}/misc.php?action=help"><b>{$lang->toplinks_help}</b></a></td>
<td class="welcome"><a href="{$mybb->settings['bburl']}/memberlist.php"><b>{$lang->toplinks_memberlist}</b></a></td>
<td class="welcome"><a href="{$mybb->settings['bburl']}/calendar.php"><b>{$lang->toplinks_calendar}</b></a></td>
<td class="welcome"><a href="search.php?action=getnew"><b>{$lang->welcome_newposts}</b></a></td>
<td class="welcome"><a href="{$mybb->settings['bburl']}/search.php?action=getdaily"><b>{$lang->welcome_todaysposts}</b></a></td>
<td class="welcome"><a href="$settings[bburl]/search.php"><b>{$lang->toplinks_search}</b></a></td>
</tr>
</table>
Chyba chodziło o taki efekt