форум vBSupport.ru > vBulletin > Old vB versions (3.0.x & 2.x.x) > vBulletin 3.6.x > vBulletin [3.6] Troubleshooting and Problems
  • »
VBsupport перешел с домена .ORG на родной .RU Ура! Пожалуйста, обновите свои закладки - VBsupport.ru
 
 
 
 
Obstinate
Простоузер
Question Разделители между постами
0

Например в IPB видел такое:


Как сделать такой разделитель? Ведь каждый пост находится в отдельной таблице
Или это невозможно?
Bot
Yandex Bot Yandex Bot is online now
 
Join Date: 05.05.2005
Реклама на форуме А что у нас тут интересного? =)
 
 
g0rn
Гуру
Default
0

<br />?
 
 
Obstinate
Простоузер
Default
0

Quote:
Originally Posted by g0rn View Post
<br />?
Это добавит пустую строку между постами. А между ними и так есть расстояние. Нужно, чтобы было как на рисунке - разделительная строка между двумя соседними таблицами постов, т.е. все посты как бы в одной таблице.
 
 
nebesa
Знаток
 
nebesa's Avatar
Default
0

Obstinate, тогда может быть так <hr></hr>

Добавлено через 30 секунд
или ка там полоса что то забыл

Last edited by nebesa : 08-03-2007 at 03:35 PM. Reason: Добавлено сообщение
 
 
KaiKimera
Эксперт
 
KaiKimera's Avatar
Default
0

nebesa, это линия.
 
 
Obstinate
Простоузер
Default
1

Я нашел решение.

Если кому-то интересно, сделать надо следующее:

Содержимое шаблона postbit_wrapper заменяем на
HTML Code:
<!-- post #$post[postid] -->
<if condition="$show['spacer']">
	$spacer_open
<if condition="$post['islastshown']"><div id="edit$post[postid]" style="padding:0px 0px $stylevar[cellpadding]px 0px"></if>
	<if condition="!$post['islastshown']"><!-- this is not the last post shown on the page --></if>	
</if>

$postbit

<if condition="$show['spacer']">
<if condition="$post['islastshown']"></div></if>
	$spacer_close
</if>
<!-- / post #$post[postid] -->
В шаблоне postbit_legacy ищем конец первой таблицы:
HTML Code:
</table>
Ниже добавляем:
HTML Code:
<if condition="!$post[islastshown]">
	 <table cellpadding="0" bgcolor="ЦВЕТ_РАЗДЕЛИТЕЛЯ" style="border: 1px solid ЦВЕТ_РАМКИ; height: 1px; border-top-width: 0px; border-bottom-width: 0px;" width="100%" align="center"><tr><td></td></td></table>
</if>
Примерно так.

Last edited by Obstinate : 08-04-2007 at 12:19 AM.
 
 
vAST
Простоузер
Default
0

а нельзя вообще убрать разделитель?
 
 
AleX
Гость
Default

vAST, всё тоже что показано, только наоброт. По-моему я делал это через navbar.
 


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:09 AM.


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