23.07.2009, 18:02 | #1 | |
Member
TorrentBar v.0.3. for VBulletin
Адаптировал torrentbar под VBulletin. Установка проста. Если что ReadMe.txt в архиве :)
Для того чтобы отобразить свой торрентбар в профиле (как на торрентпир) нужно сделать следующее: Код HTML:
Открываем шаблон USERCP Найти: <!-- ############## SUBSCRIBED THREADS ############## --> ПОСЛЕ, добавить: <table class="tborder" cellpadding="$stylevar[cellpadding]" cellspacing="$stylevar[cellspacing]" border="0" width="100%" align="center"> <thead> <tr> <td class="tcat" colspan="$subscribedthreadscolspan"> Ваш ТоррентБар<span class="normal">:</span> </td> </tr> <tr> <td class="alt1" align="center" colspan="$subscribedthreadscolspan"><img src="http://tracker.torrentsvl.ru/torrentbar/$bbuserinfo[userid]-torrentsvl.png" alt="" border="0" /> <br /> <br /> <strong>Ваш код:</strong> <input type="text" style="width: 750px" class=Открываем шаблон USERCP Найти: <!-- ############## SUBSCRIBED THREADS ############## --> ПОСЛЕ, добавить: <table class="tborder" cellpadding="$stylevar[cellpadding]" cellspacing="$stylevar[cellspacing]" border="0" width="100%" align="center"> <thead> <tr> <td class="tcat" colspan="$subscribedthreadscolspan"> Ваш ТоррентБар<span class="normal">:</span> </td> </tr> <tr> <td class="alt1" align="center" colspan="$subscribedthreadscolspan"><img src="http://tracker.torrentsvl.ru/torrentbar/$bbuserinfo[userid]-torrentsvl.png" alt="" border="0" /> <br /> <br /> <strong>Ваш код:</strong> <input type="text" style="width: 750px" class="textbox" value="[url=http://tracker.torrentsvl.ru/member.php?u=$bbuserinfo[userid]][img]http://tracker.torrentsvl.ru/torrentbar/$bbuserinfo[userid].png[/img][/url]"></td> </tr> </thead> </table> <br /> Без подключения .htaccess: http://127.0.0.1/torrentbar/torrentbar.php/USERID.png http://127.0.0.1/torrentbar/torrentbar.php?id=USERID C подключенным .htaccess: http://127.0.0.1/torrentbar/USERID.png http://127.0.0.1/torrentbar/USERID-STYLENAME.png C использованием стиля http://127.0.0.1/torrentbar/USERID-style.png http://tracker.torrentsvl.net/torren...torrentsvl.png Примеры баров: http://tracker.torrentsvl.net/torrentbar/2-default.png http://tracker.torrentsvl.net/torren...ault_alpha.png http://tracker.torrentsvl.net/torren...fault_cyan.png http://tracker.torrentsvl.net/torren...torrentsvl.png Updated 26.07: Цитата:
Последний раз редактировалось Voltick; 26.07.2009 в 04:24. |
||