форум vBSupport.ru > vBulletin > Old vB versions (3.0.x & 2.x.x) > vBulletin 3.5.x > Hacks, mods and scripts [3.5.x]
  • »
VBsupport перешел с домена .ORG на родной .RU Ура! Пожалуйста, обновите свои закладки - VBsupport.ru
 
 
 
 
КотЪ
Администратор
Неадекватный
 
КотЪ's Avatar
Default Subforum Panel / Меню форума inline
3

Добавляет открывающееся дроп-даун меню прямо под названием форума.
Скриншоты и код установки - в аттаче.
--------


Description. This is a Mod to make sub-forums appear in a small panel that can be toggled on and off. I just feel the Subforum Drop-down Menu mod is not enough so I have made this one. Select either one as your liking!!

The state of on/off is saved in cookies
Hierachy show for at most 2 level of sub-forums
------
Screenshots and instructions in attach.
Bot
Yandex Bot Yandex Bot is online now
 
Join Date: 05.05.2005
Реклама на форуме А что у нас тут интересного? =)
 
 
S_Andrey
Продвинутый
Default
0

Step 4. Open:
Common Templates

Add to the bottom:

Code:
<script type="text/javascript">
function getItem(id)
{
var itm = false;
if(document.getElementById)
itm = document.getElementById(id);
else if(document.all)
itm = document.all[id];
else if(document.layers)
itm = document.layers[id];

return itm;
}

function toggleSubforumList(id,use_cookie)
{
itm = getItem(id);

if(!itm)
return false;

if(itm.style.display == 'none')
{
var expireDate = new Date();
expireDate.setYear(expireDate.getFullYear()+1);
itm.style.display = '';
if (use_cookie) set_cookie(id,'Y',expireDate);
}
else
{
itm.style.display = 'none';
if (use_cookie) delete_cookie(id);


Вот в этом месте хака не понял куда и как что вставить! Подскажите.
 
 
MaxElc
На доске почёта
клон
 
banned nax
Default
0

Add to the bottom - Добавьте к основанию (с) Промт

То есть в конец
 
 
S_Andrey
Продвинутый
Default
0

Quote:
Originally Posted by MaxElc
Add to the bottom - Добавьте к основанию (с) Промт

То есть в конец
В конец чего добавить? не пойму в какой шаблон или куда...
 
 
S_Andrey
Продвинутый
Default
0

Неужели ни кто не подскажет???
 
 
kerk
k0t
 
kerk's Avatar
Default
1

Common Templates = Общие шаблоны
я так понял в headinclude нужно запихать этот код =))
 
 
S_Andrey
Продвинутый
Default
0

Quote:
Originally Posted by kerk
Common Templates = Общие шаблоны
я так понял в headinclude нужно запихать этот код =))
Нет не работает этот хак. У кого нибудь заработал???
 
 
mA_sat
Продвинутый
Default Большая просьба
0

Прикрепите аттач по-новой

и куда они деваются ?
шайтан..
 
 
sdavis6
Простоузер
Default
0

uh, and where is the attach?
 
 
COLD
Продвинутый
 
COLD's Avatar
Default
0

Quote:
Originally Posted by КотЪ
Скриншоты и код установки - в аттаче.
жжош!
аттач верните!!
 


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off




All times are GMT +4. The time now is 05:49 AM.


Powered by vBulletin® Version 3.0.18
Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
Loading...