Łopatologia dla shoutbox

Zaczęty przez Onibusek, 4 Luty 2014, 19:12

0 użytkowników i 1 Gość przegląda ten wątek.

Onibusek

Mam zainstalowany SMFPacks Shoutbox 1.0.4, wersja SMF 2.0.7 i mam pytanie czy ktoś w sposób zrozumiały dla laika może wytłumaczyć mi jak go przenieść na dół bo wyświetla się na górze.
Dziękuję za zrozumienie, bo nie każdy jest gwiazdą i orłem. ;)

Proszę o pomoc.

Stanley

Moje fora: pesnext.pl, appgroup.org.pl

Specjalista od niczego.

Pomogłem?, - [Pomógł]

Onibusek

No jak już mnie tak kopnąłeś to znalazłem ;)

Onibusek

#3
Jednak nie wszystko jest takie jasne i proste.
Mój styl to Core SMF 2.0.7
Mój - BoardIndex.template.php
Cytat
   }

   
   
        echo'<br />';
    //SMFPacks Shoutbox -->
    if (function_exists('template_shoutbox')) template_shoutbox('main');
    // <-- SMFPacks Shoutbox
        echo'<br />';
    template_info_center();

}

W dalszym ciągu SB jest na górze i nie wiem jak obniżyć do na dół.

loUUU

Ja w stylu core mam ten kod, tylko w index.template.php
Po prostu wycinasz to:

//SMFPacks Shoutbox -->
   if (function_exists('template_shoutbox')) template_shoutbox('main');
// <-- SMFPacks Shoutbox

i umieszczasz go np nad stopką

Onibusek

Jest jakiś postęp, mam go teraz na samym dole, ale jak go dać przed "CENTRUM INFORMACJI"

Cytat
    // Show a random news item? (or you could pick one from news_lines...)
    if (!empty($settings['enable_news']))
        echo '
            <div id="random_news"><h3>', $txt['news'], ':</h3><p>', $context['random_news_line'], '</p></div>';

    echo '
        </div>
    </div>';

    // Define the upper_section toggle in JavaScript.
    echo '
    <script type="text/javascript"><!-- // --><![CDATA[
        var oMainHeaderToggle = new smc_Toggle({
            bToggleEnabled: true,
            bCurrentlyCollapsed: ', empty($options['collapse_header']) ? 'false' : 'true', ',
            aSwappableContainers: [
                \'user_section\',
                \'news_section\'
            ],
            aSwapImages: [
                {
                    sId: \'upshrink\',
                    srcExpanded: smf_images_url + \'/upshrink.gif\',
                    altExpanded: ', JavaScriptEscape($txt['upshrink_description']), ',
                    srcCollapsed: smf_images_url + \'/upshrink2.gif\',
                    altCollapsed: ', JavaScriptEscape($txt['upshrink_description']), '
                }
            ],
            oThemeOptions: {
                bUseThemeSettings: ', $context['user']['is_guest'] ? 'false' : 'true', ',
                sOptionName: \'collapse_header\',
                sSessionVar: ', JavaScriptEscape($context['session_var']), ',
                sSessionId: ', JavaScriptEscape($context['session_id']), '
            },
            oCookieOptions: {
                bUseCookie: ', $context['user']['is_guest'] ? 'true' : 'false', ',
                sCookieName: \'upshrink\'
            }
        });
    // ]]></script>';

    // Show the menu here, according to the menu sub template.
    template_menu();
   
    // Show the navigation tree.
    theme_linktree();

    // The main content should go here.
    echo '
    <div id="bodyarea">';


}

function template_body_below()
{
    //SMFPacks Shoutbox -->
    if (function_exists('template_shoutbox')) template_shoutbox('main');
    // <-- SMFPacks Shoutbox
    global $context, $settings, $options, $scripturl, $txt, $modSettings;
    echo '
    </div>';

    // Show the "Powered by" and "Valid" logos, as well as the copyright. Remember, the copyright must be somewhere!
    echo '

    <div id="footerarea" class="headerpadding topmargin clearfix">
          <ul class="reset smalltext">
            <li class="copyright">', theme_copyright(), '</li>
            <li><a id="button_xhtml" href="http://validator.w3.org/check?uri=referer" target="_blank" class="new_win" title="', $txt['valid_xhtml'], '"><span>', $txt['xhtml'], '</span></a></li>
            ', !empty($modSettings['xmlnews_enable']) && (!empty($modSettings['allow_guestAccess']) || $context['user']['is_logged']) ? '<li><a id="button_rss" href="' . $scripturl . '?action=.xml;type=rss" class="new_win"><span>' . $txt['rss'] . '</span></a></li>' : '', '
            <li class="last"><a id="button_wap2" href="', $scripturl , '?wap2" class="new_win"><span>', $txt['wap2'], '</span></a></li>
        </ul>';

    // Show the load time?
    if ($context['show_load_time'])
        echo '
        <p class="smalltext" id="show_loadtime">', $txt['page_created'], $context['load_time'], $txt['seconds_with'], $context['load_queries'], $txt['queries'], '</p>';

    echo '
    </div>
</div>';
}

function template_html_below()
{
    global $context, $settings, $options, $scripturl, $txt, $modSettings;

    echo '
</body></html>';