заходим в AdminCP/Look&Feel/Post Content/BBCode Management/(создаем BB-Code вручную)
Custom BBCode: download Custom BBCode Description: Download tag Custom BBCode Example: [download]Some hidden links[/download] Custom BBCode Tag: download Single Tag Only: NO Use Option in tag?: NO Option is optional?: NO Switch option and content?: NO Prevent other codes parsing?: NO Custom BBCode Replacement:
<div style="margin:20px; margin-top:5px">
<div class="smallfont" style="margin-bottom:2px">
<p class="Boton Green">
<input type="button" id="contador" value="DOWNLOAD" style="width:100px;height=30px;font-weight:bold;font-size:12px;margin:0px;padding:0px;" onClick="ventanaSecundaria()"></div>
<div class="alt2" style="margin: 0px; padding: 0px; border: 0px inset;">
<div id="hide" style="display: none;">
</p>
<div class="info_bbc">{content}</div></div></div></div>
Which groups can use this BBCode?: All current and future groups Where can the BBCode be used?: Available in all sections BBCode Application: System BBCode Image: download.png
- его загружаем в (/public/style_extra/bbcode_icons)
Enter 'content' dialogue text: Enter the text to be masked
__________ 2 ______________
заходим в AdminCP/Look&Feel/Manage Skin Set & Templates/ Твой стиль /GlobalTemplate
в самом конце перед
</body>
</html>
вставляем
<!--DOWNLOAD FULL SCRIT-->
<src="/images/links1.png" border="0" /><br>
<br>
<script>function ventanaSecundaria(){t=11;timer=window.setInterval("contador()",1000);hija=window.open("Ваш линк анонса или url того что откроется в Pop-UP","ventana1","width=640,height=425,scrollbars=0")}function contador(){if(hija!=null){if(hija.closed){alert("Debes tener ventana de publicidad abierta hasta que termine el contador. Gracias");clearInterval(timer);t=10;document.getElementById("contador").value="DOWNLOAD";return}if(hija.frames.length!=3){t=t-1;if(t<=0){clearInterval(timer);document.getElementById("hide").style.display="";t="THANKS"}document.getElementById("contador").value=t;return false}}}</script>
<!--FIN DOWNLOAD FULL SCRIT-->
должно выглядеть так
вот DEMO:
__skidrowforo.com/topic/2839-forum-runner-tapatalk-gratis/#entry8585
Я не профессионал в этом, есть ошибки , так что исправляет сами, ну и делитесь тоже чтоб довести его до конца.
Наблюдение:
BB-Code можно только использовать 1-ин раз в теме (на 1 тему 1 BB-Code)
Bо 2-ом коде найдите строчку
Ваш линк анонса или url того что откроется в Pop-UP
Замените ее на URL анонса или URL вашего интереса.
Стоимость в инете:
Wordpress: 30$
vBulletin: 20$
Создал ББ-Код: я (SKiDROW)
,спасибо за ответ. У меня в Форуме люди странные, не учатся нечему и все делают на оборот. Если ктото знает название этого Хук-а , подскажите пожалуйсто.
Вопрос: Можно добавить-изменить кнопки репутации , чтоб работал как "Хук Thahks", чтоб открывал спрятанное "Hide Content" содержание и при этом работал также как и всегда, репутация
Нашел, вот этот Хук позволяет убрать цитату с 1 Сообщения
[Hook] Hide Quote Button from First Post 1.0.0