Szybkie menu

Założony przez raZor.

Witajcie!

Zastanawiam się jak w MyBB 1.4 zrobić szybkie menu (rozwijane z niektórych stylów) podobne do tego z vbulletina. Macie jakieś pomysły?
U siebie na forum mam właśnie takie menu, oto jak wygląda:

nie rozwinięte: http://i40.tinypic.com/1tan2u.jpg
rozwinięte: http://i42.tinypic.com/2ylp84o.png

a oto templatki: (nie wiem dokładnie gdzie jest menu więc daję całość, nagłówek wygląda w 99% jak vbulletin :P ale może nie pasować do Twojej skórki, lepiej zrób kopię. )

header

<div id="logo"><a href="{$mybb->settings['bburl']}/index.php"><img src="{$theme['logo']}" alt="{$mybb->settings['bbname']}" title="{$mybb->settings['bbname']}" /></a></div>
<div id="submenu"><div id="submenu_left"><strong><a href="{$mybb->settings['bburl']}/portal.php">Portal</a><a href="{$mybb->settings['bburl']}/index.php">Forum</a></strong></div><div id="submenu_right"><strong><a href="{$mybb->settings['bburl']}/search.php">{$lang->toplinks_search}</a><a href="{$mybb->settings['bburl']}/memberlist.php">{$lang->toplinks_memberlist}</a><a href="{$mybb->settings['bburl']}/calendar.php">{$lang->toplinks_calendar}</a><a href="{$mybb->settings['bburl']}/misc.php?action=help">{$lang->toplinks_help}</a></strong><br /></div></div>
<div id="container">
<a name="top" id="top"></a>
<div id="header">
<hr class="hidden" />

</div>
<hr class="hidden" />
<br class="clear" />
<div id="content">
{$welcomeblock}

{$bannedwarning}
{$bbclosedwarning}
{$pm_notice}
{$unreadreports}
<br class="clear" />

header_welcomeblock_guest

<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="trow3" 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">{$lang->username}</span></strong>&nbsp;&nbsp;</td>
<td><input type="text" class="textbox" name="username" title="{$lang->login_username}" value="{$lang->login_username}" 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">{$lang->password}</span></strong>&nbsp;&nbsp;</td>
<td><input type="password" class="textbox" name="password" title="{$lang->login_password}" value="{$lang->login_password}" 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="trow6">
<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>
</div>

header_welcomeblock_member

<table border="0" cellspacing="{$theme['borderwidth']}" cellpadding="{$theme['tablespace']}" class="tborder" align="center">
<tr>
<td class="trow1" width="100%"><navigation></td>
<td class="trow3" nowrap="nowrap" style="padding:6px; font-size:11px">
{$lang->welcome_back}<br />
{$lang->welcome_current_time}<br />
<a href="{$mybb->settings['bburl']}/private.php">{$lang->welcome_pms}</a> {$lang->welcome_pms_usage}
</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="trow6">
<td class="nav_menu_control"><a href="{$mybb->settings['bburl']}/usercp.php"><strong>{$lang->welcome_usercp}</strong></a></td>{$modcplink}{$admincplink}
<td class="nav_menu_control"><a href="{$mybb->settings['bburl']}/misc.php?action=help"><b>{$lang->toplinks_help}</b></a></td>
<td class="nav_menu_control"><a href="{$mybb->settings['bburl']}/memberlist.php"><b>{$lang->toplinks_memberlist}</b></a></td>
<td class="nav_menu_control"><a href="{$mybb->settings['bburl']}/calendar.php"><b>{$lang->toplinks_calendar}</b></a></td>
<td class="nav_menu_control"><a href="{$mybb->settings['bburl']}/search.php"><b>{$lang->toplinks_search}</b></a></td>
<td class="nav_menu_control">
<a href="#" id="quicklinks"><b>Szybkie Menu<b><img src="{$theme['imgdir']}/menu_open.gif" alt="" /></a></span>
<script type="text/javascript">
document.write("<div id=\"quicklinks_popup\" class=\"popup_menu\" style=\"display: none;\"><div class=\"tcat\"><strong>Szybkie menu<\/strong><\/div><div class=\"popup_item_container\"><a href=\"search.php?action=getdaily\" class=\"popup_item\">Dzisiejsze posty<\/a><\/div><div class=\"popup_item_container\"><a href=\"misc.php?action=markread\" class=\"popup_item\">Oznacz wszystkie fora jako przeczytane<\/a><\/div><div class=\"popup_item_container\"><a href=\"#\" onclick=\"MyBB.popupWindow('misc.php?action=buddypopup', 'buddyList', 170, 300);\" class=\"popup_item\">Otwórz okno kontaktów<\/a><\/div><div class=\"tcat\"><strong>Panel użytkownika<\/strong><\/div><div class=\"popup_item_container\"><a href=\"usercp.php?action=editsig\" class=\"popup_item\">Edytuj sygnaturę<\/a><\/div><div class=\"popup_item_container\"><a href=\"usercp.php?action=profile\" class=\"popup_item\">Edytuj Swój profil<\/a><\/div><div class=\"popup_item_container\"><a href=\"usercp.php?action=options\" class=\"popup_item\">Edycja opcji<\/a><\/div><div class=\"tcat\"><strong>Różne<\/strong><\/div><div class=\"popup_item_container\"><a href=\"usercp.php?action=subscriptions\" class=\"popup_item\">Subskrypcje tematów<\/a><\/div><div class=\"popup_item_container\"><a href=\"usercp.php?action=editlists\" class=\"popup_item\">Edycja listy kontaktów<\/a><\/div><div class=\"popup_item_container\"><a href=\"member.php?action=profile&uid={$mybb->user['uid']}\" class=\"popup_item\">Twój Profil<\/a><\/div><div class=\"popup_item_container\"><a href=\"online.php\" class=\"popup_item\">Kto jest Online<\/a><\/div><\/div>");
new PopupMenu("quicklinks");
</script>
</td>
<td class="nav_menu_control"><a href="{$mybb->settings['bburl']}/search.php?action=getnew"><b>{$lang->welcome_newposts}</b></a></td>
<td class="nav_menu_control"><a href="{$mybb->settings['bburl']}/member.php?action=logout&amp;logoutkey={$mybb->user['logoutkey']}"><b>{$lang->welcome_logout}</b></a></td>
</tr>
</table>
</div>

header_welcomeblock_member_admin

<td class="nav_menu_control"><a href="{$mybb->settings['bburl']}/{$config['admin_dir']}/index.php"><strong>{$lang->welcome_admin}</strong></a></td>

header_welcomeblock_member_moderator

<td class="nav_menu_control"><a href="{$mybb->settings['bburl']}/modcp.php"><strong>{$lang->welcome_modcp}</strong></a></td>

Pozdrawiam :P
Podziękowali: raZor, kamilrys112

Podobne wątki

Szukam Jak zrobić szybkie linki

14.06.2016, 17:18
Ostatni post: Polak96

Szybkie linki.

01.03.2016, 18:34
Ostatni post: Conors

Szukam Szybkie Linki Jak to zrobić

06.11.2015, 19:32
Ostatni post: Kacper Wojciechowski

Szybkie linki jak na tym forum

19.09.2015, 13:42
Ostatni post: Maxer

Inne Poprawa kodu Szybkie Linki

11.02.2015, 23:15
Ostatni post: Tymczasowy

Skocz do:

Użytkownicy przeglądający ten wątek:

1 gości