1. Важное и срочное обновление IPB 3.4.5 - https://nulled.cc/threads/243375/

[Помощь] Помогите разобраться

Тема в разделе "IPB", создана пользователем jeri979, 22 авг 2009.

Статус темы:
Закрыта.
Модераторы: Maybe
  1. jeri979

    jeri979 Писатель

    Регистр.:
    8 фев 2009
    Сообщения:
    4
    Симпатии:
    0
    Всем привет!
    Друзья помогите , передвинуть меню пользователя вверх
    (друзья ,админка, личные сообщения и т.д !
    [​IMG]
    и убрать
    [​IMG]
    Заранее благодарен !
    :thenks:
     
  2. Shehrozs

    Shehrozs Создатель

    Регистр.:
    7 май 2009
    Сообщения:
    10
    Симпатии:
    0
    Я не экстрасенс,кинь хотя бы шаблон)
     
  3. Lgame

    Lgame Постоялец

    Регистр.:
    8 фев 2007
    Сообщения:
    66
    Симпатии:
    5
    Какая версия форума и название шаблона?
     
  4. jeri979

    jeri979 Писатель

    Регистр.:
    8 фев 2009
    Сообщения:
    4
    Симпатии:
    0
    Версия : v2.3.6 (ID: 23010)
    Шаблон помесь
    PHP:
    <script type="text/javascript">
    //<![CDATA[
        
    var ipb_var_blog_id "{$blog['blog_id']}";
        var 
    ipb_var_blog_url "{$blog['blog_url']}";
        var 
    ipb_lang_blog_sure_delcblock "{$this->ipsclass->lang['blog_sure_delcblock']}";
        var 
    ipb_lang_theme_reset_confirm "{$this->ipsclass->lang['blog_theme_reset']}";
        function 
    delete_entry(theURL)
        {
            if (
    confirm"{$this->ipsclass->lang['sure_delentry']}))
            {
                
    window.location.href=theURL;
            }
            else
            {
                
    alert "{$this->ipsclass->lang['del_no_action']});
            }
        }
        function 
    delete_comment(theURL)
        {
            if (
    confirm"{$this->ipsclass->lang['sure_delcomment']}))
            {
                
    window.location.href=theURL;
            }
            else
            {
                
    alert "{$this->ipsclass->lang['del_no_action']});
            }
        }
        function 
    sendtrackback_pop(eid)
        {
            
    ShowHide("modmenuopen_"+eid"modmenuclosed_"+eid);
            
    window.open("{$this->ipsclass->vars['board_url']}/index.{$this->ipsclass->vars['php_ext']}?autocom=blog&req=sendtrackback&eid="+eid+"&s={$this->ipsclass->session_id}","SendTrackback","width=600,height=300,resizable=yes,scrollbars=yes");
        }
        function 
    permalink_to_entry(eid){
            
    temp prompt"{$this->ipsclass->lang['permalink_prompt']}""{$this->ipsclass->base_url}autocom=blog&blogid={$blog['blog_id']}&showentry="+eid );
            return 
    false;
        }
        function 
    emo_popformobj )
        {
            
    emoticon = function( ecodeeobjeurl ){
                
    document.getElementByIdformobj ).value += ' ' ecode ' ';
            }
            
    window.open("{$this->ipsclass->vars['board_url']}/index.{$this->ipsclass->vars['php_ext']}?act=legends&CODE=emoticons&s={$this->ipsclass->session_id}","Legends","width=250,height=500,resizable=yes,scrollbars=yes");
        }
        function 
    bbc_pop()
        {
            
    window.open("{$this->ipsclass->vars['board_url']}/index.{$this->ipsclass->vars['php_ext']}?act=legends&CODE=bbcode&s={$this->ipsclass->session_id}","Legends","width=700,height=500,resizable=yes,scrollbars=yes");
        }
    //]]>
    </script>
    <div class="borderwrap" style="border-bottom: 0;">
        <div id="submenu">
            <!--ipb.leftlinks.start-->
            <a style="text-decoration: none;" class="ipb-top-right-link" href="{$this->ipsclass->vars['blog_url']}">{$blog['blog_name']}</a>
            <!--ipb.leftlinks.end-->
            <!--ipb.rightlinks.start-->
            <a style="text-decoration: none;" class="ipb-top-right-link" href="{$this->ipsclass->base_url}act=Help">{$this->ipsclass->lang['tb_help']}</a>
            <a style="text-decoration: none;" class="ipb-top-right-link" href="{$this->ipsclass->base_url}act=Search&amp;f={$this->ipsclass->input['f']}">{$this->ipsclass->lang['tb_search']}</a>
            <a style="text-decoration: none;" class="ipb-top-right-link" href="{$this->ipsclass->base_url}act=Members">{$this->ipsclass->lang['tb_mlist']}</a>
            <a style="text-decoration: none; border-right: 1px solid #161e26; padding-left: 7px; padding-right: 7px;" class="ipb-top-right-link" href="{$this->ipsclass->base_url}act=calendar">{$this->ipsclass->lang['tb_calendar']}</a>
            <if="$component_links != """>
                {$component_links}
            </if>
            <div class='popupmenu-new' id='ipb-tl-search_menu' style='display:none;width:210px'>
                <form action="{$this->ipsclass->base_url}act=Search&amp;CODE=01" method="post">
                    <input type='hidden' name='forums' id='gbl-search-forums' value='all' /> 
                    <input type="text" size="20" name="keywords" id='ipb-tl-search-box' />
                    <input class="button" type="image" style='border:0px' src="{$this->ipsclass->vars['img_url']}/login-button.gif" />
                    <if="($this->ipsclass->input['act'] == 'sf' OR $this->ipsclass->input['act'] == 'st') AND $this->ipsclass->input['f']">
                        <br /><input type='checkbox' id='gbl-search-checkbox' value='1' onclick='gbl_check_search_box()' checked='checked' /> {$this->ipsclass->lang['gbl_forum_search']}
                    </if>
                </form>
                <div style='padding:4px'>
                    <a href='{$this->ipsclass->base_url}act=Search'>{$this->ipsclass->lang['gbl_more_search']}</a>
                </div>
            </div>
            <script type="text/javascript">
                ipsmenu.register( "ipb-tl-search", 'document.getElementById("ipb-tl-search-box").focus();' );
                gbl_check_search_box();
            </script>
            <!--ipb.rightlinks.end-->
        </div>
    <if="$blog['header_image']">
    <div id="logostrip"><center><a href='{$this->ipsclass->base_url}'><!--ipb.logo.start--><img src='style_images/<#IMG_DIR#>/logo4.png' style='vertical-align:top' alt='IPB' border='0' /><!--ipb.logo.end--></a></center></div>
    <else />
    <div id="logostrip"><center><a href='{$this->ipsclass->base_url}'><!--ipb.logo.start--><img src='style_images/<#IMG_DIR#>/logo4.png' style='vertical-align:top' alt='IPB' border='0' /><!--ipb.logo.end--></a></center></div>
    </if>
    </div>
    <!--BLOG.TEMPLATE.MEMBERBAR-->
    <table width="100%" cellspacing="2" cellpadding="0">
    <tr><td width='99%'>
    <!--BLOG.TEMPLATE.NAVIGATION-->
    </td>
        <if="$this->ipsclass->member['id'] == $blog['member_id']">
            <td width='1%'>
                <div class='popmenubutton'><a href='javascript:blogsettings_pop();'>{$this->ipsclass->lang['blog_settings_link']}</a></div>
            </td>
            <td width='1%'>
                <div class='popmenubutton' id='cblock-options'><a href='#cblockoptions'>{$this->ipsclass->lang['cblocks_menu']}</a> <img src='{$this->ipsclass->vars['img_url']}/menu_action_down.gif' alt='V' title='{$this->ipsclass->lang['global_open_menu']}' border='0' /></div>
            </td>
            <if="$this->ipsclass->vars['blog_headers'] AND $header_js">
            <td width='1%'>
                <div class='popmenubutton' id='headers-menu'><a href='#headersmenu'>{$this->ipsclass->lang['headers_menu']}</a> <img src='{$this->ipsclass->vars['img_url']}/menu_action_down.gif' alt='V' title='{$this->ipsclass->lang['global_open_menu']}' border='0' /></div>
    <script type='text/javascript'>
    //<![CDATA[
    menu_build_menu(
      "headers-menu",
      new Array( {$header_js} ) );
    //]]>
    </script>
            </td>
            </if>
            <if="$this->ipsclass->vars['blog_themes'] AND $theme_js">
            <td width='1%'>
                <div class='popmenubutton' id='themes-menu'><a href='#themesmenu'>{$this->ipsclass->lang['themes_menu']}</a> <img src='{$this->ipsclass->vars['img_url']}/menu_action_down.gif' alt='V' title='{$this->ipsclass->lang['global_open_menu']}' border='0' /></div>
    <script type='text/javascript'>
    //<![CDATA[
    menu_build_menu(
      "themes-menu",
      new Array( {$theme_js} ) );
    //]]>
    </script>
            </td>
            </if>
    <script type='text/javascript'>
    //<![CDATA[
    {$cblock_js}
    //]]>
    </script>
        </if>
        <if="$blog['allow_entry']">
            <td width='1%'>
                <div class='popmenubutton' id='entry-menu'><a href='{$this->ipsclass->vars['blog_url']}req=postblog'>{$this->ipsclass->lang['entries_menu']}</a> <img src='{$this->ipsclass->vars['img_url']}/menu_action_down.gif' alt='V' title='{$this->ipsclass->lang['global_open_menu']}' border='0' /></div>
    <script type='text/javascript'>
    //<![CDATA[
    menu_build_menu(
      "entry-menu",
      new Array( img_item + " <a href='{$this->ipsclass->vars['blog_url']}req=postblog'>{$this->ipsclass->lang['add_entry']}</a>",
                 img_item + " {$toggle_draft}" ) );
    //]]>
    </script>
            </td>
        </if>
        <if="$this->ipsclass->vars['blog_enable_rating']">
            <td width='1%'>
            <if="$blog['_allow_rating']">
                <div class='popmenubutton' id='blog-rating'>
                    <a href='#blograting'>{$this->ipsclass->lang['blog_rating']}</a>
                    {$blog['_blog_rate_img']} <img src='{$this->ipsclass->vars['img_url']}/menu_action_down.gif' alt='V' title='{$this->ipsclass->lang['global_open_menu']}' border='0' />
                </div>
            <else />
                <div class='popmenubutton' id='blog-rating'>
                    {$this->ipsclass->lang['blog_rating']} {$blog['_blog_rate_img']}
                </div>
            </if>
            <if="$blog['_allow_rating']">
                <div id='blog-rating_menu' class='popupmenu-new' style='display:none;width:140px'>
                    <div class='popupmenu-item'>
                        <div id='blog-rating-wrapper'></div>
                    </div>
                    <div class='popupmenu-item'>
                        {$this->ipsclass->lang['you_have_rated_x']} <span id='blog-rating-my-rating'>{$blog['current_rating']}</span>
                    </div>
                    <div class='popupmenu-item-last'>
                        {$this->ipsclass->lang['total_ratings']} <span id='blog-rating-hits'>{$blog['blog_rating_count']}</span>
                        <if="$this->ipsclass->vars['blog_rating_treshhold'] > 0 AND $blog['blog_rating_count'] < $this->ipsclass->vars['blog_rating_treshhold']">
                            <br />{$this->ipsclass->lang['blog_rating_treshhold']} {$this->ipsclass->vars['blog_rating_treshhold']}
                        </if>
                    </div>
                </div>
                <script type='text/javascript'>
                    ipsmenu.register( "blog-rating" );
                </script>
            </if>
            </td>
        </if>
    </tr>
    </table>
    <if="$this->ipsclass->member['id']">
    <script type="text/javascript">
    //<![CDATA[
    blog_rate.settings['allow_rating']       = parseInt("{$blog['_allow_rating']}");
    blog_rate.settings['default_rating']     = parseInt("{$blog['_rate_int']}");
    blog_rate.settings['img_base_url']       = ipb_var_image_url + '/folder_topic_view';
    blog_rate.settings['div_rating_wrapper'] = 'blog-rating-wrapper';
    blog_rate.settings['text_rating_image']  = 'blog-rating-img-';
    blog_rate.languages['img_alt_rate']      = "{$this->ipsclass->lang['blog_img_alt_rate']}";
    blog_rate.languages['rate_me']           = "{$this->ipsclass->lang['blog_rate_me']}";
    blog_rate.init_rating_images();
    //]]>
    </script>
    </if>
    <if="$this->ipsclass->member['id'] == $blog['member_id']">
    <div class='borderwrap' id='theme_form' style='display:none;width:480px;'>
     <div class='maintitle' id='theme-drag' title='{$this->ipsclass->lang['click_n_hold']}'>
         <div style='float:right'><a href='#' onclick='return colorpickerHide();'>[X]</a></div>
         <div>{$this->ipsclass->lang['blog_theme_editor']}</div>
     </div>
     <form action='{$this->ipsclass->base_url}autocom=blog&amp;req=saveTheme' method='post'>
     <div id='theme-content' style='overflow-x:auto;'>
     <div id='update_div' class='tablepad' style='display:none;'></div>
     <div class='tablepad'>
            <table>
                <tr>
                    <td valign="top">
                        <div id="cp1_ColorMap"></div>
                    </td>
                    <td valign="top">
                        <div id="cp1_ColorBar"></div>
                    </td>
                    <td valign="top">
                        <table>
                            <tr>
                                <td colspan="3">
                                    <div id="cp1_Preview" style="background-color: #fff; width: 60px; height: 60px; padding: 0; margin: 0; border: solid 1px #000;">
                                        <br />
                                    </div>
                                </td>
                            </tr>
                            <tr>
                                <td>
                                    <input type="radio" id="cp1_HueRadio" name="cp1_Mode" value="0" />
                                </td>
                                <td>
                                    <label for="cp1_HueRadio">H:</label>
                                </td>
                                <td>
                                    <input type="text" id="cp1_Hue" value="0" style="width: 40px;" /> &deg;
                                </td>
                            </tr>
                            <tr>
                                <td>
                                    <input type="radio" id="cp1_SaturationRadio" name="cp1_Mode" value="1" />
                                </td>
                                <td>
                                    <label for="cp1_SaturationRadio">S:</label>
                                </td>
                                <td>
                                    <input type="text" id="cp1_Saturation" value="100" style="width: 40px;" /> %
                                </td>
                            </tr>
                            <tr>
                                <td>
                                    <input type="radio" id="cp1_BrightnessRadio" name="cp1_Mode" value="2" />
                                </td>
                                <td>
                                    <label for="cp1_BrightnessRadio">B:</label>
                                </td>
                                <td>
                                    <input type="text" id="cp1_Brightness" value="100" style="width: 40px;" /> %
                                </td>
                            </tr>
                            <tr>
                                <td colspan="3" height="5">
                                </td>
                            </tr>
                            <tr>
                                <td>
                                    <input type="radio" id="cp1_RedRadio" name="cp1_Mode" value="r" />
                                </td>
                                <td>
                                    <label for="cp1_RedRadio">R:</label>
                                </td>
                                <td>
                                    <input type="text" id="cp1_Red" value="255" style="width: 40px;" />
                                </td>
                            </tr>
                            <tr>
                                <td>
                                    <input type="radio" id="cp1_GreenRadio" name="cp1_Mode" value="g" />
                                </td>
                                <td>
                                    <label for="cp1_GreenRadio">G:</label>
                                </td>
                                <td>
                                    <input type="text" id="cp1_Green" value="0" style="width: 40px;" />
                                </td>
                            </tr>
                            <tr>
                                <td>
                                    <input type="radio" id="cp1_BlueRadio" name="cp1_Mode" value="b" />
                                </td>
                                <td>
                                    <label for="cp1_BlueRadio">B:</label>
                                </td>
                                <td>
                                    <input type="text" id="cp1_Blue" value="0" style="width: 40px;" />
                                </td>
                            </tr>
                            <tr>
                                <td>
                                    #:
                                </td>
                                <td colspan="2">
                                    <input type="text" id="cp1_Hex" value="FF0000" style="width: 60px;" />
                                </td>
                            </tr>
                        </table>
                    </td>
                </tr>
            </table>
        <div style="display:none;">
            <img src="{$this->ipsclass->vars['board_url']}/jscripts/colorpicker/images/rangearrows.gif" />
            <img src="{$this->ipsclass->vars['board_url']}/jscripts/colorpicker/images/mappoint.gif" />
            <img src="{$this->ipsclass->vars['board_url']}/jscripts/colorpicker/images/bar-saturation.png" />
            <img src="{$this->ipsclass->vars['board_url']}/jscripts/colorpicker/images/bar-brightness.png" />
            <img src="{$this->ipsclass->vars['board_url']}/jscripts/colorpicker/images/bar-blue-tl.png" />
            <img src="{$this->ipsclass->vars['board_url']}/jscripts/colorpicker/images/bar-blue-tr.png" />
            <img src="{$this->ipsclass->vars['board_url']}/jscripts/colorpicker/images/bar-blue-bl.png" />
            <img src="{$this->ipsclass->vars['board_url']}/jscripts/colorpicker/images/bar-blue-br.png" />
            <img src="{$this->ipsclass->vars['board_url']}/jscripts/colorpicker/images/bar-red-tl.png" />
            <img src="{$this->ipsclass->vars['board_url']}/jscripts/colorpicker/images/bar-red-tr.png" />
            <img src="{$this->ipsclass->vars['board_url']}/jscripts/colorpicker/images/bar-red-bl.png" />
            <img src="{$this->ipsclass->vars['board_url']}/jscripts/colorpicker/images/bar-red-br.png" />    
            <img src="{$this->ipsclass->vars['board_url']}/jscripts/colorpicker/images/bar-green-tl.png" />
            <img src="{$this->ipsclass->vars['board_url']}/jscripts/colorpicker/images/bar-green-tr.png" />
            <img src="{$this->ipsclass->vars['board_url']}/jscripts/colorpicker/images/bar-green-bl.png" />
            <img src="{$this->ipsclass->vars['board_url']}/jscripts/colorpicker/images/bar-green-br.png" />
            <img src="{$this->ipsclass->vars['board_url']}/jscripts/colorpicker/images/map-red-max.png" />
            <img src="{$this->ipsclass->vars['board_url']}/jscripts/colorpicker/images/map-red-min.png" />
            <img src="{$this->ipsclass->vars['board_url']}/jscripts/colorpicker/images/map-green-max.png" />
            <img src="{$this->ipsclass->vars['board_url']}/jscripts/colorpicker/images/map-green-min.png" />
            <img src="{$this->ipsclass->vars['board_url']}/jscripts/colorpicker/images/map-blue-max.png" />
            <img src="{$this->ipsclass->vars['board_url']}/jscripts/colorpicker/images/map-blue-min.png" />
            <img src="{$this->ipsclass->vars['board_url']}/jscripts/colorpicker/images/map-saturation.png" />
            <img src="{$this->ipsclass->vars['board_url']}/jscripts/colorpicker/images/map-saturation-overlay.png" />
            <img src="{$this->ipsclass->vars['board_url']}/jscripts/colorpicker/images/map-brightness.png" />
            <img src="{$this->ipsclass->vars['board_url']}/jscripts/colorpicker/images/map-hue.png" />
        </div>
     </div>
     <table cellpadding='4' cellspacing='1' width='100%'>
      <tr>
        <td class='row2' width='40%'><b>{$this->ipsclass->lang['blog_theme_css']}</b><div class='forumdesc'>{$this->ipsclass->lang['blog_theme_css_desc']}</div></td>
        <td class='row1'><textarea name='themeContent' id='themeContent' rows='10' cols='29'><if="$blog['blog_theme_custom']">{$blog['blog_theme_custom']}<else /><if="$blog['blog_theme_final']">{$blog['blog_theme_final']}<else /><if="$blog['blog_theme_id']">{$this->ipsclass->cache['blog_themes'][ $blog['blog_theme_id'] ]['theme_css']}</if></if></if></textarea></td>
      </tr>
      <tr>
        <td class='formbuttonrow' colspan='2' align='center'><input type='submit' value='{$this->ipsclass->lang['blog_theme_save']}' onclick='return save_theme();' /> &nbsp; <input type='submit' value='{$this->ipsclass->lang['blog_theme_preview']}' onclick='return theme_preview();' /></td>
      </tr>
     </table>
     </div>
     </form>
    </div>
    </if>
    Мой сайт
     
Статус темы:
Закрыта.