Dołącz do zespołu ekspertów! Backend lub Frontend Developer?

Sprawdź najnowsze oferty pracy naszego partnera - 8lines.io!

Logowanie/Rejestracja i wyszukiwarka w górnej belce

Założony przez  Espex.

wersja skryptu MyBB:1.8.3
adres forum:FORUM
na czym polega problem (screen, opis, komunikaty, nazwa stylu/theme/szablonu): Jak zmienić położenie Logowanie/Rejestracja i wyszukiwarka do górnej belki (Tak jak na Screenie)

[Obrazek: 11.png]
... .....
Przenieś szablon header_welcomeblock_guest i header_quicksearch w miejsce gdzie chcesz by to było.
Niezbytnio mi to wychodzi, iż jak dodaje
<span class="welcome"> <a href="http://e-board.xaa.pl/member.php?action=login" onclick="$('#quick_login').modal({ fadeDuration: 250, keepelement: true }); return false;" class="login">Logowanie</a> <a href="http://e-board.xaa.pl/member.php?action=register" class="register">Rejestracja</a></span

to górna belka się powiększa i wygląda to w ten sposób:

[Obrazek: 12312321.png]
... .....
Pokaż tutaj szablon header. Style i szablony>Szablony>Default_Templates>Nagłówek>header.
<div id="container">
        <
a name="top" id="top"></a>
        <
div id="header">
          
          
          <
div id="uptoolbar">
                  <
div class="header_container">
                      <
ul class="menu" style="float: left;">
                      <
div position="absolute; margin-top: -5px; ">
                        
                        
                        
                        
                        <
a href=""><span style="color: #ffffff; font-size: 1.4em; vertical-align: middle; margin-top: -5px; position: absolute; margin-left: 135px;"></span></a>
                      </
div>
                    </
ul>
                        <
div class="navbar_wrapper">
    
                                                                           
                                      </
div>   
                                </
div>
                                <
div style="clear: both; ">

                                </
div>
                              </
div>
          
          
          
            <
div id="logo">
                <
div class="wrapper">
                    <
a href="{$mybb->settings['bburl']}/index.php"><img src="{$theme['logo']}alt="{$mybb->settings['bbname']}title="{$mybb->settings['bbname']}/></a>
                    <
ul class="menu top_links">
                        {
$menu_portal}
                        {
$menu_search}
                        {
$menu_memberlist}
                        {
$menu_calendar}
                        <
li><a href="{$mybb->settings['bburl']}/misc.php?action=help" class="help">{$lang->toplinks_help}</a></li>
                    </
ul>
                </
div>
            </
div>
            <
div id="panel">
                <
div class="upper">
                    <
div class="wrapper">
                        {
$quicksearch}
                        {
$welcomeblock}
                    <!-- </
divin header_welcomeblock_member and header_welcomeblock_guest -->
                <!-- </
divin header_welcomeblock_member and header_welcomeblock_guest -->
            </
div>
        </
div>
        <
div id="content">
            <
div class="wrapper">
                {
$pm_notice}
                {
$bannedwarning}
                {
$bbclosedwarning}
                {
$unreadreports}
                {
$pending_joinrequests}
                {
$awaitingusers}
                <
navigation>
                <
br /> 
... .....
Jestem amatorem jeśli chodzi o te sprawy ale spróbuj podmienić header na ten kod. Masz na forum obecną wersję więc możesz spróbować.

<div id="container">
        <a name="top" id="top"></a>
        <div id="header">
           <div id="panel">
                <div class="upper">
                    <div class="wrapper">
                        {$quicksearch}
                        {$welcomeblock}
                    <!-- </div> in header_welcomeblock_member and header_welcomeblock_guest -->
                <!-- </div> in header_welcomeblock_member and header_welcomeblock_guest -->
            </div>
        </div>
          
         <div id="logo">
                <div class="wrapper">
                    <a href="{$mybb->settings['bburl']}/index.php"><img src="{$theme['logo']}" alt="{$mybb->settings['bbname']}" title="{$mybb->settings['bbname']}" /></a>
                    <ul class="menu top_links">
                        {$menu_portal}
                        {$menu_search}
                        {$menu_memberlist}
                        {$menu_calendar}
                        <li><a href="{$mybb->settings['bburl']}/misc.php?action=help" class="help">{$lang->toplinks_help}</a></li>
                    </ul>
                </div>
            </div>
          
           <div id="content">
            <div class="wrapper">
                {$pm_notice}
                {$bannedwarning}
                {$bbclosedwarning}
                {$unreadreports}
                {$pending_joinrequests}
                {$awaitingusers}
                <navigation>
                <br />
Prawie uzyskałem efekt ale

[Obrazek: 1234124.png]
... .....
Jeszcze raz podmień tylko na taki kod i sprawdź.

<div id="container">
        <a name="top" id="top"></a>
        <div id="header">
           <div id="panel">
                <div class="upper">
                    <div class="wrapper">
                        {$quicksearch}
                        {$welcomeblock}
                    <!-- </div> in header_welcomeblock_member and header_welcomeblock_guest -->
                <!-- </div> in header_welcomeblock_member and header_welcomeblock_guest -->
            </div>
        
          
         <div id="logo">
                <div class="wrapper">
                    <a href="{$mybb->settings['bburl']}/index.php"><img src="{$theme['logo']}" alt="{$mybb->settings['bbname']}" title="{$mybb->settings['bbname']}" /></a>
                    <ul class="menu top_links">
                        {$menu_portal}
                        {$menu_search}
                        {$menu_memberlist}
                        {$menu_calendar}
                        <li><a href="{$mybb->settings['bburl']}/misc.php?action=help" class="help">{$lang->toplinks_help}</a></li>
                    </ul>
                </div>
            </div>
          </div>
           <div id="content">
            <div class="wrapper">
                {$pm_notice}
                {$bannedwarning}
                {$bbclosedwarning}
                {$unreadreports}
                {$pending_joinrequests}
                {$awaitingusers}
                <navigation>
                <br />
już lepiej ale dolna belka znikła
... .....
Espex napisał(a):już lepiej ale dolna belka znikła
Co konkretniej!?
Prośby na PW dotyczące wsparcia z problemami będą ignorowane. Pomoc poza forum - odpłatna; kontakt: snakemybboard@gmail.com.
Tak mam (ale bez tego efektu co chce osiągnąć)
[Obrazek: 22222222222.png]

Gdy dam KOD header-u ten co tabaluga podesłał to wygląda on tak (brakuje dolnej belki) :
[Obrazek: 11111111111.png]
... .....
Zamieść ten kod. Powinno być ok.
<div id="container">
        <a name="top" id="top"></a>
        <div id="header">
           <div id="panel">
                <div class="upper">
                    <div class="wrapper">
                        {$quicksearch}
                        {$welcomeblock}
                    <!-- </div> in header_welcomeblock_member and header_welcomeblock_guest -->
                <!-- </div> in header_welcomeblock_member and header_welcomeblock_guest -->
            </div>
        
          
         <div id="logo">
                <div class="wrapper">
                    <a href="{$mybb->settings['bburl']}/index.php"><img src="{$theme['logo']}" alt="{$mybb->settings['bbname']}" title="{$mybb->settings['bbname']}" /></a>
                    <ul class="menu top_links">
                        {$menu_portal}
                        {$menu_search}
                        {$menu_memberlist}
                        {$menu_calendar}
                        <li><a href="{$mybb->settings['bburl']}/misc.php?action=help" class="help">{$lang->toplinks_help}</a></li>
                    </ul>
                </div>
            </div>
          </div>
          
            <div id="uptoolbar">
                  <div class="header_container">
                      <ul class="menu" style="float: left;">
                      <div position="absolute; margin-top: -5px; ">
                        
                        
                        
                        
                        <a href=""><span style="color: #ffffff; font-size: 1.4em; vertical-align: middle; margin-top: -5px; position: absolute; margin-left: 135px;"></span></a>
                      </div>
                    </ul>
                        <div class="navbar_wrapper">
    
                                                                          
                                      </div>  
                                </div>
                                <div style="clear: both; ">

                                </div>
                              </div>
          
          
           <div id="content">
            <div class="wrapper">
                {$pm_notice}
                {$bannedwarning}
                {$bbclosedwarning}
                {$unreadreports}
                {$pending_joinrequests}
                {$awaitingusers}
                <navigation>
                <br />



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

1 gości