Respected Posted May 2, 2012 Report Share Posted May 2, 2012 Название: [HQ] Fake Category ADS 1.0.0 Добавил: Respected Добавлен: 02 Май 2012 Категория: Хуки, Модификации для IP.Board Название по-русски : Реклама в виде категории Версия IP.Board: 3.4.x, 3.3.x Хук Fake Category ADS 1.0.0 позволяет администратору создать рекламную категорий на форуме с возможностью указания: 1. Групп, которые смогут просматривать рекламу 2. Названия категории 3. Бэкграунда категории 4. Расположения категории с рекламой: После всех категорий В случайном порядке После нескольких категорий Karlos, AlexBrtn, Envy and 1 other 4 Quote Link to comment Share on other sites More sharing options...
jack007 Posted June 9, 2013 Report Share Posted June 9, 2013 Поставил, весь форум поехал просто Quote Link to comment Share on other sites More sharing options...
WOLF Posted June 9, 2013 Report Share Posted June 9, 2013 Поставил, весь форум поехал просто далеко уехал то? меня что не взяли с собой? Efremov, RealUser, Пыжик and 1 other 4 Quote Link to comment Share on other sites More sharing options...
AUS Posted November 27, 2013 Report Share Posted November 27, 2013 В настройках хука отключаю возможность сворачивать категорию. Но настройка не пашет. Даже гость может свернуть псевдораздел. Подскажите как исправить !? Quote Link to comment Share on other sites More sharing options...
Respected Posted November 27, 2013 Author Report Share Posted November 27, 2013 Так убери вообще этот блок из шаблона хука, останется только рекламный блок Quote Link to comment Share on other sites More sharing options...
AUS Posted November 27, 2013 Report Share Posted November 27, 2013 (edited) Respected, сори, но как его убрать? Искал в шаблонах не нашел этого хука поиском по "fake" подскажи имя шаблона и какой блок кода вырезать, плиз обновление: кажется это hookFooterAds но что из кода вырезать ? <script type='text/javascript'> function toggleFADS() { if ( $('fads_body').hasClassName('collapsedFADS') ) { $('fads_body').removeClassName('collapsedFADS'); new Effect.BlindDown( $( $('fads_body') ) ); ipb.Cookie.set( 'footerAds', 0, 1 ); $('fads_expand').hide(); $('fads_collapse').show(); } else { $('fads_body').addClassName('collapsedFADS'); new Effect.BlindUp( $( $('fads_body') ) ); ipb.Cookie.set( 'footerAds', 1, 1 ); $('fads_expand').show(); $('fads_collapse').hide(); } } </script> <div id="fads_body" class="category_block block_wrap"> <p id="fads_body"<if test="$this->settings['expcol_fads'] && $state == 'collapsed'"> class='collapsedFADS' style='display: none;'</if>> <h3 class="maintitle" <if test="$this->settings['colorbg_fads'] != 'default'">style='background: {$this->settings['colorbg_fads']};border-color:{$this->settings['colorbg_fads']};box-shadow:inset 0px 1px 0 {$this->settings['colorbg_fads']};'</if>>{$this->settings['fads_name']}<a class="toggle right" href="javascript:toggleMRT()" title="Toggle">Toggle</a> </h3> <div class="ipsBox table_wrap"> <center>{$this->settings['fads_code']}</center> </div> <br></p> </div> Edited November 27, 2013 by AUS Quote Link to comment Share on other sites More sharing options...
Respected Posted November 27, 2013 Author Report Share Posted November 27, 2013 Вот этот код скрывает блок: <a class="toggle right" href="javascript:toggleMRT()" title="Toggle">Toggle</a> Я бы удалил весь хэдер вообще: <h3 class="maintitle" <if test="$this->settings['colorbg_fads'] != 'default'">style='background: {$this->settings['colorbg_fads']};border-color:{$this->settings['colorbg_fads']};box-shadow:inset 0px 1px 0 {$this->settings['colorbg_fads']};'</if>>{$this->settings['fads_name']}<a class="toggle right" href="javascript:toggleMRT()" title="Toggle">Toggle</a> </h3> AlexBrtn and AUS 2 Quote Link to comment Share on other sites More sharing options...
Hepster Posted January 21, 2014 Report Share Posted January 21, 2014 Доброго времени суток насколько понял этот хук выводит банер рекламы между каталогами форума на 3,4,6 он работае ? Quote Link to comment Share on other sites More sharing options...
WOLF Posted February 8, 2014 Report Share Posted February 8, 2014 Написано же, для 3.3.х и 3.4.х Quote Link to comment Share on other sites More sharing options...
usergeuv1 Posted March 16, 2014 Report Share Posted March 16, 2014 Там есть настройка "Через сколько категории", а как вставить после каждой категории? Quote Link to comment Share on other sites More sharing options...
WOLF Posted March 16, 2014 Report Share Posted March 16, 2014 Там есть настройка "Через сколько категории", а как вставить после каждой категории? это уже править файлы компонента, и не мало сил. Quote Link to comment Share on other sites More sharing options...
LvsF Posted March 17, 2014 Report Share Posted March 17, 2014 это уже править файлы компонента, и не мало сил. Какого компонента? Это хук Там есть настройка "Через сколько категории", а как вставить после каждой категории? Самое простое - вставить код в шаблон. Посложнее - править хук. Или наоборот. Для каждого по разному. Quote Link to comment Share on other sites More sharing options...
Bluesman Posted May 20, 2014 Report Share Posted May 20, 2014 А как можно продублировать этот хук, но с другим баннером? Можно вообще? Quote Link to comment Share on other sites More sharing options...
Respected Posted May 20, 2014 Author Report Share Posted May 20, 2014 Прикрепляю шесть таких же хуков fcatADS2.xml fcatADS20.xml fcatADS21.xml fcatADS23.xml fcatADS24.xml fcatADS25.xml Bluesman 1 Quote Link to comment Share on other sites More sharing options...
Bluesman Posted May 22, 2014 Report Share Posted May 22, 2014 А еще вопрос. Можно, если стоит чат, вставить блок после него? Сейчас параметр 1 - это после 1-го блока, но не после чата. 0 - не работает. Quote Link to comment Share on other sites More sharing options...
Respected Posted May 22, 2014 Author Report Share Posted May 22, 2014 Хук привязывается к циклу категорий, по-этому использовать в других местах не получится. Bluesman 1 Quote Link to comment Share on other sites More sharing options...
greed74 Posted July 5, 2015 Report Share Posted July 5, 2015 как его включить не понял? Quote Link to comment Share on other sites More sharing options...
grebovich Posted January 27, 2016 Report Share Posted January 27, 2016 В 02.05.2012 в 16:46, Respected сказал: Обновите пожалуйста файл, не могу скачать " File not found" Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.