Мод позволяет редактировать всю шапку (меню,лого) в админ панели
если кому нить нужен, забирайте,а нет проходите мимо
[th]http://s001.youpic.su/pictures/1291226400/c374836b6637f378ad0ae09325f5b7c3.png[/th] [th]http://s001.youpic.su/pictures/1291226400/fba64869405487e8a92ae8cc4eed73ed.png[/th] [th]http://s001.youpic.su/pictures/1291226400/c6b39ea252dc9388d4bd64f212143ef0.png[/th]
Код:
INSERT INTO bb_config values ('nav_pic1', 'images/navpics/faq.GIF' );
INSERT INTO bb_config values ('nav_text1', 'FAQ' );
INSERT INTO bb_config values ('nav_link1', 'faq.php' );
INSERT INTO bb_config values ('nav_pic2', 'images/navpics/search.GIF' );
INSERT INTO bb_config values ('nav_text2', 'SEARCH' );
INSERT INTO bb_config values ('nav_link2', 'search.php' );
INSERT INTO bb_config values ('nav_pic3', 'images/navpics/memberlist.GIF' );
INSERT INTO bb_config values ('nav_text3', 'Member list' );
INSERT INTO bb_config values ('nav_link3', 'memberlist.php' );
INSERT INTO bb_config values ('nav_pic4', 'images/navpics/Usergroups.GIF' );
INSERT INTO bb_config values ('nav_text4', 'Usergroups ' );
INSERT INTO bb_config values ('nav_link4', 'groupcp.php' );
INSERT INTO bb_config values ('nav_pic5', 'images/navpics/Register.GIF' );
INSERT INTO bb_config values ('nav_text5', 'Register ' );
INSERT INTO bb_config values ('nav_link5', 'profile.php?mode=register' );
INSERT INTO bb_config values ('nav_pic6', '' );
INSERT INTO bb_config values ('nav_text6', '' );
INSERT INTO bb_config values ('nav_link6', '' );
INSERT INTO bb_config values ('nav_pic7', '' );
INSERT INTO bb_config values ('nav_text7', '' );
INSERT INTO bb_config values ('nav_link7', '' );
INSERT INTO bb_config values ('nav_pic8', 'images/navpics/Profile.GIF' );
INSERT INTO bb_config values ('nav_text8', 'Profile' );
INSERT INTO bb_config values ('nav_link8', 'profile.php?mode=editprofile' );
INSERT INTO bb_config values ('nav_pic9', '' );
INSERT INTO bb_config values ('nav_text9', '' );
INSERT INTO bb_config values ('nav_link9', '' );
INSERT INTO bb_config values ('nav_pic10', '' );
INSERT INTO bb_config values ('nav_text10', '' );
INSERT INTO bb_config values ('nav_link10', '' );
INSERT INTO bb_config values ('nav_pic11', '' );
INSERT INTO bb_config values ('nav_text11', '' );
INSERT INTO bb_config values ('nav_link11', '' );
INSERT INTO bb_config values ('nav_pic12', '' );
INSERT INTO bb_config values ('nav_text12', '' );
INSERT INTO bb_config values ('nav_link12', '' );
INSERT INTO bb_config values ('nav_pic13', '' );
INSERT INTO bb_config values ('nav_text13', '' );
INSERT INTO bb_config values ('nav_link13', '' );
INSERT INTO bb_config values ('nav_pic14', '' );
INSERT INTO bb_config values ('nav_text14', '' );
INSERT INTO bb_config values ('nav_link14', '' );
INSERT INTO bb_config values ('nav_h1', '12' );
INSERT INTO bb_config values ('nav_w1', '13' );
INSERT INTO bb_config values ('nav_h2', '12' );
INSERT INTO bb_config values ('nav_w2', '13' );
INSERT INTO bb_config values ('nav_h3', '12' );
INSERT INTO bb_config values ('nav_w3', '13' );
INSERT INTO bb_config values ('nav_h4', '12' );
INSERT INTO bb_config values ('nav_w4', '13' );
INSERT INTO bb_config values ('nav_h5', '12' );
INSERT INTO bb_config values ('nav_w5', '13' );
INSERT INTO bb_config values ('nav_h6', '12' );
INSERT INTO bb_config values ('nav_w6', '13' );
INSERT INTO bb_config values ('nav_h7', '12' );
INSERT INTO bb_config values ('nav_w7', '13' );
INSERT INTO bb_config values ('nav_h8', '12' );
INSERT INTO bb_config values ('nav_w8', '13' );
INSERT INTO bb_config values ('nav_h9', '12' );
INSERT INTO bb_config values ('nav_w9', '13' );
INSERT INTO bb_config values ('nav_h10', '12' );
INSERT INTO bb_config values ('nav_w10', '13' );
INSERT INTO bb_config values ('nav_h11', '12' );
INSERT INTO bb_config values ('nav_w11', '13' );
INSERT INTO bb_config values ('nav_h12', '12' );
INSERT INTO bb_config values ('nav_w12', '13' );
INSERT INTO bb_config values ('nav_h13', '12' );
INSERT INTO bb_config values ('nav_w13', '13' );
INSERT INTO bb_config values ('nav_h14', '12' );
INSERT INTO bb_config values ('nav_w14', '13' );
INSERT INTO bb_config values ('banner_source', 'images/banners/logo_bb.gif' );
INSERT INTO bb_config values ('banner_path', 'images/banners' );
INSERT INTO bb_config values ('banner_link', 'index.php' );
INSERT INTO bb_config values ('banner_cols', '2' );
INSERT INTO bb_config values ('banner_width', '200' );
INSERT INTO bb_config values ('banner_height', '91' );
открыть
language/lang_russian/lang_admin.php ,в самом конце добавляем
Код:
// Start add - Complete Header Mod
$lang['banner_title'] = 'Изменить банер';
$lang['banner_text'] = 'Этот мод позволит вам изменить лого форума выбрав его и директории вашего сайта';
$lang['banner_caption'] = 'Выберите баннер';
$lang['banner_choose'] = 'Изменение баннер';
$lang['banner_success'] = 'Баннер был успешно изменен';
$lang['Click_return_banner'] = 'Click %sHere%s to return to the banner menu.';
$lang['banner_settings'] = "Настройки баннера";
$lang['banner_source'] = "Logo Address";
$lang['banner_source_explain'] = "Это Адрес баннера например-http://www.rustrek.ru/logo.gif или images /logo/logo.gif";
$lang['banner_path'] = "Banner path";
$lang['banner_path_explain'] = "путь, где ваши баннеры форума хранятся относительно каталога, в BB корень";
$lang['banner_cols'] = "столбцов, отображаемых в изменении модуля баннер";
$lang['banner_cols_explain'] = "Количество столбцов в таблице модуля изменения баннер";
$lang['banner_link'] = "Link of Banner";
$lang['banner_link_explain'] = "This is where you are going to link the banner to a page";
$lang['banner_width'] = 'Banner Dimensions ';
$lang['banner_width_explain'] = 'Banner logo Dimensions Width x Height';
$lang['banner_height'] = 'Banner Height';
$lang['banner_height_explain'] = 'Banner Width x Height in pixles';
$lang['banner_size'] = 'Banner Dimensions';
$lang['banner_size_explain'] = '(Width x Height in pixels)';
$lang['banner_location'] = 'Banner Location';
$lang['banner_location_explain'] = 'This is where the location of the banner is going to be';
// End add - Complete Header Mod
открыть
includes/page_header.php ,ищем
Код:
'T_INDEX' => sprintf($lang['Forum_Index'], $bb_cfg['sitename']),
ниже добавляем
Код:
// Start - Complete Header Mod
'NAV_PIC1' => $bb_cfg['nav_pic1'],
'NAV_TEXT1' => $bb_cfg ['nav_text1'],
'NAV_LINK1' => $bb_cfg['nav_link1'],
'NAV_PIC2' => $bb_cfg['nav_pic2'],
'NAV_TEXT2' => $bb_cfg ['nav_text2'],
'NAV_LINK2' => $bb_cfg['nav_link2'],
'NAV_PIC3' => $bb_cfg['nav_pic3'],
'NAV_TEXT3' => $bb_cfg ['nav_text3'],
'NAV_LINK3' => $bb_cfg['nav_link3'],
'NAV_PIC4' => $bb_cfg['nav_pic4'],
'NAV_TEXT4' => $bb_cfg ['nav_text4'],
'NAV_LINK4' => $bb_cfg['nav_link4'],
'NAV_PIC5' => $bb_cfg['nav_pic5'],
'NAV_TEXT5' => $bb_cfg ['nav_text5'],
'NAV_LINK5' => $bb_cfg['nav_link5'],
'NAV_PIC6' => $bb_cfg['nav_pic6'],
'NAV_TEXT6' => $bb_cfg ['nav_text6'],
'NAV_LINK6' => $bb_cfg['nav_link6'],
'NAV_PIC7' => $bb_cfg['nav_pic7'],
'NAV_TEXT7' => $bb_cfg ['nav_text7'],
'NAV_LINK7' => $bb_cfg['nav_link7'],
'NAV_PIC8' => $bb_cfg['nav_pic8'],
'NAV_TEXT8' => $bb_cfg ['nav_text8'],
'NAV_LINK8' => $bb_cfg['nav_link8'],
'NAV_PIC9' => $bb_cfg['nav_pic9'],
'NAV_TEXT9' => $bb_cfg ['nav_text9'],
'NAV_LINK9' => $bb_cfg['nav_link9'],
'NAV_PIC10' => $bb_cfg['nav_pic10'],
'NAV_TEXT10' => $bb_cfg ['nav_text10'],
'NAV_LINK10' => $bb_cfg['nav_link10'],
'NAV_PIC11' => $bb_cfg['nav_pic11'],
'NAV_TEXT11' => $bb_cfg ['nav_text11'],
'NAV_LINK11' => $bb_cfg['nav_link11'],
'NAV_PIC12' => $bb_cfg['nav_pic12'],
'NAV_TEXT12' => $bb_cfg ['nav_text12'],
'NAV_LINK12' => $bb_cfg['nav_link12'],
'NAV_PIC13' => $bb_cfg['nav_pic13'],
'NAV_TEXT13' => $bb_cfg ['nav_text13'],
'NAV_LINK13' => $bb_cfg['nav_link13'],
'NAV_PIC14' => $bb_cfg['nav_pic14'],
'NAV_TEXT14' => $bb_cfg ['nav_text14'],
'NAV_LINK14' => $bb_cfg['nav_link14'],
'NAV_H1' => $bb_cfg['nav_h1'],
'NAV_W1' => $bb_cfg['nav_w1'],
'NAV_H2' => $bb_cfg['nav_h2'],
'NAV_W2' => $bb_cfg['nav_w2'],
'NAV_H3' => $bb_cfg['nav_h3'],
'NAV_W3' => $bb_cfg['nav_w3'],
'NAV_H4' => $bb_cfg['nav_h4'],
'NAV_W4' => $bb_cfg['nav_w4'],
'NAV_H5' => $bb_cfg['nav_h5'],
'NAV_W5' => $bb_cfg['nav_w5'],
'NAV_H6' => $bb_cfg['nav_h6'],
'NAV_W6' => $bb_cfg['nav_w6'],
'NAV_H7' => $bb_cfg['nav_h7'],
'NAV_W7' => $bb_cfg['nav_w7'],
'NAV_H8' => $bb_cfg['nav_h8'],
'NAV_W8' => $bb_cfg['nav_w8'],
'NAV_H9' => $bb_cfg['nav_h9'],
'NAV_W9' => $bb_cfg['nav_w9'],
'NAV_H10' => $bb_cfg['nav_h10'],
'NAV_W10' => $bb_cfg['nav_w10'],
'NAV_H11' => $bb_cfg['nav_h11'],
'NAV_W11' => $bb_cfg['nav_w11'],
'NAV_H12' => $bb_cfg['nav_h12'],
'NAV_W12' => $bb_cfg['nav_w12'],
'NAV_H13' => $bb_cfg['nav_h13'],
'NAV_W13' => $bb_cfg['nav_w13'],
'NAV_H14' => $bb_cfg['nav_h14'],
'NAV_W14' => $bb_cfg['nav_w14'],
'BANNER_SOURCE' => $bb_cfg['banner_source'],
'BANNER_LINK' => $bb_cfg ['banner_link'],
'BANNER_PATH' => $bb_cfg['banner_path'],
'BANNER_WIDTH' => $bb_cfg['banner_width'],
'BANNER_HEIGHT' => $bb_cfg['banner_height'],
// End - Complete Header Mod
открываем
page_header.tpl, ищем
Код:
<div id="main-nav" style="height: 17px;">
<table width="100%" cellpadding="0" cellspacing="0">
<tr>
<td class="nowrap">
<a href="{U_INDEX}"><b>{L_HOME}</b></a>·
<a href="{U_TRACKER}"><b>{L_TRACKER}</b></a>·
<a href="{U_SEARCH}"><b>{L_SEARCH}</b></a>·
<a href="{U_TERMS}"><b>{L_TERMS}</b></a>·
<a href="{U_FAQ}"><b style="color: #993300;">{L_FAQ}</b></a>·
<a href="{U_PRIVATEMSGS}"><b>{L_PRIVATE_MESSAGES}</b></a>·
<a href="{U_GROUP_CP}"><b>{L_USERGROUPS}</b></a>·
<a href="{U_MEMBERLIST}"><b>{L_MEMBERLIST}</b></a>
</td>
</tr>
</table>
</div>
<!--/main_nav-->
<!--logo-->
<div id="logo">
<!--<h1>{SITENAME}</h1>
<h6>{SITE_DESCRIPTION}</h6> -->
<a href="{U_INDEX}"><img src="images/logo/logo.gif" alt="{SITENAME}" /></a>
</div>
заменяем на это
Код:
<div id="preload" style="position: absolute; overflow: hidden; top: 0; left: 0; height: 1px; width: 1px;"></div>
<table width="100%" cellspacing="0" cellpadding="10" border="0" align="center">
<tr>
<td class="bodyline"><table width="100%" cellspacing="0" cellpadding="0" border="0">
<tr>
<td><a href="{BANNER_LINK}"><img src="{BANNER_SOURCE}" border="0" width="{BANNER_WIDTH}" height="{BANNER_HEIGHT}" alt="{L_INDEX}" vspace="1" /></a></td>
<td align="center" width="100%" valign="middle"><span class="maintitle">{SITENAME}</span><br /><span class="gen">{SITE_DESCRIPTION}<br /> </span>
<table cellspacing="0" cellpadding="2" border="0">
<tr>
<td align="center" valign="top" nowrap="nowrap"><span class="mainmenu"> <a href="{NAV_LINK1}" class="mainmenu"><img src="{NAV_PIC1}" width="{NAV_W1}" height="{NAV_H1}" border="0" alt="{L_FAQ}" hspace="3" />{NAV_TEXT1}</a></span><span class="mainmenu"> <a href="{NAV_LINK2}" class="mainmenu"><img src="{NAV_PIC2}" width="{NAV_W2}" height="{NAV_H2}" border="0" alt="{L_SEARCH}" hspace="3" />{NAV_TEXT2}</a> <a href="{NAV_LINK3}" class="mainmenu"><img src="{NAV_PIC3}" width="{NAV_W3}" height="{NAV_H3}" border="0" alt="" hspace="3" />{NAV_TEXT3}</a> <a href="{NAV_LINK4}" class="mainmenu"><img src="{NAV_PIC4}" width="{NAV_W4}" height="{NAV_H4}" border="0" alt="{L_USERGROUPS}" hspace="3" />{NAV_TEXT4}</a> <a href="{NAV_LINK6}" class="mainmenu"><img src="{NAV_PIC6}" width="{NAV_W6}" height="{NAV_H6}" border="0" alt="{L_USERGROUPS}" hspace="3" />{NAV_TEXT6}</a>  <a href="{NAV_LINK7}" class="mainmenu"><img src="{NAV_PIC7}" width="{NAV_W7}" height="{NAV_H7}" border="0" alt="{L_USERGROUPS}" hspace="3" />{NAV_TEXT7}</a> 
<!-- BEGIN switch_user_logged_out -->
<a href="{U_REGISTER}" class="mainmenu"><img src="templates/default/images/icon_mini_register.gif" width="12" height="13" border="0" alt="{L_REGISTER}" hspace="3" />{L_REGISTER}</a></span>
<!-- END switch_user_logged_out -->
</td>
</tr>
<tr>
<td height="25" align="center" valign="top" nowrap="nowrap"><span class="mainmenu"> <a href="{NAV_LINK8}" class="mainmenu"><img src="{NAV_PIC8}" width="{NAV_W8}" height="{NAV_H8}" border="0" alt="{L_PROFILE}" hspace="3" />{NAV_TEXT8}</a> <a href="{U_PRIVATEMSGS}" class="mainmenu"><img src="templates/default/images/icon_mini_message.gif" width="12" height="13" border="0" alt="{PRIVATE_MESSAGE_INFO}" hspace="3" />{PRIVATE_MESSAGE_INFO}</a> <a href="{U_LOGIN_LOGOUT}" class="mainmenu"><img src="templates/default/images/icon_mini_login.gif" width="12" height="13" border="0" alt="{L_LOGOUT}" hspace="3" />{L_LOGOUT}</a> </span></td>
</tr>
<tr>
<td height="25" align="center" valign="top" nowrap="nowrap"><span class="mainmenu"> <a href="{NAV_LINK9}" class="mainmenu"><img src="{NAV_PIC9}" width="{NAV_W9}" height="{NAV_H9}" border="0" alt="{L_PROFILE}" hspace="3" />{NAV_TEXT9}</a>   <a href="{NAV_LINK10}" class="mainmenu"><img src="{NAV_PIC10}" width="{NAV_W10}" height="{NAV_H10}" border="0" alt="{L_PROFILE}" hspace="3" />{NAV_TEXT10}</a>  <a href="{NAV_LINK11}" class="mainmenu"><img src="{NAV_PIC11}" width="{NAV_H11}" height="{NAV_H11}" border="0" alt="{L_PROFILE}" hspace="3" />{NAV_TEXT11}</a>  <a href="{NAV_LINK12}" class="mainmenu"><img src="{NAV_PIC12}" width="{NAV_W12}" height="{NAV_H12}" border="0" alt="{L_PROFILE}" hspace="3" />{NAV_TEXT12}</a>  <a href="{NAV_LINK13}" class="mainmenu"><img src="{NAV_PIC13}" width="{NAV_W13}" height="{NAV_H13}" border="0" alt="{L_PROFILE}" hspace="3" />{NAV_TEXT13}</a>  <a href="{NAV_LINK14}" class="mainmenu"><img src="{NAV_PIC14}" width="{NAV_W14}" height="{NAV_H14}" border="0" alt="{L_PROFILE}" hspace="3" />{NAV_TEXT14}</a>  </span></td>
</tr>
</table></td>
</tr>
</table>
</div>
файлы с архива,распихать по папкам
[hide]архив качать отсюда -
rustrek.header.rar[/hide]