![]() |
Показаны 3 сообщений на этой странице |
Форум сетевых администраторов (http://netadmin.ws/forum/index.php)
- VBulletin 3.x.x (http://netadmin.ws/forum/forumdisplay.php?forumid=74)
-- Хак бб-кода цитаты (http://netadmin.ws/forum/showthread.php?threadid=10365)
Хак бб-кода цитаты
_http://www.vbulletin.nl/community/showpost.php?p=84426&postcount=6
что это за модификация бб-кода цитаты? У кого-то есть мануал как такое сделать?
дык это... =))
никакой мануал ненужен, просто в шаблоне bbcode_quote измени тот код, что там есть на это:
<div style="margin:20px; margin-top:5px">
<fieldset class="fieldset">
<legend>$vbphrase[quote]: <phrase 1="$username">$vbphrase[originally_posted_by_x]</phrase></legend>
<table style="margin-left:5px; margin-top:5px" cellpadding="$stylevar[cellpadding]" cellspacing="5" border="0" width="80%">
<tr>
<if condition="$show['username']">
<div style="font-style:italic">$message</div>
<else />
$message
</if>
</tr>
</table>
</fieldset>
</div>
Спасибо, с меня 5! Только так вот правильнее будет:
<div style="margin:20px; margin-top:5px; <if condition="$show['iewidthfix']">width: 100%;</if>">
<fieldset class="fieldset">
<if condition="$show['username']">
<legend>$vbphrase[quote]: <phrase 1="$username">$vbphrase[originally_posted_by_x]</phrase></legend>
<else />
<legend>$vbphrase[quote]</legend>
</if>
<table style="margin-left:5px; margin-top:5px" cellpadding="$stylevar[cellpadding]" cellspacing="5" border="0" width="80%">
<tr>
<if condition="$show['username']">
<div style="font-style:italic">$message</div>
<else />
$message
</if>
</tr>
</table>
</fieldset>
</div>
| Формат времени GMT. Текущее время 05:38. | Показаны 3 сообщений на этой странице |
Powered by: vBulletin Version 2.2.4
Copyright © Jelsoft Enterprises Limited 2000, 2001.