форум vBSupport.ru > vBulletin > Вопрос — Ответ
  • »
VBsupport перешел с домена .ORG на родной .RU Ура! Пожалуйста, обновите свои закладки - VBsupport.ru
 
 
 
 
retaranana
Простоузер
Default Код спасибки в рамке
0

Как правильно взять Сказал(а) спасибо: 0
Поблагодарили 0 раз(а) в 0 сообщениях в рамку?

Вот получаеться так

Код post_thanks_postbit_info

Code:
<if condition="$post[userid]">
	<div>$vbphrase[post_thanks_thanks]: $post[post_thanks_user_amount_formatted]</div>
	<div>
		<if condition="$post[post_thanks_thanked_times] == 1">
			$vbphrase[post_thanks_time_post]
		<else />
			<if condition="$post[post_thanks_thanked_posts] == 1">
				<phrase 1="$post[post_thanks_thanked_times_formatted]">$vbphrase[post_thanks_times_post]</phrase>
			<else />
				<phrase 1="$post[post_thanks_thanked_times_formatted]" 2="$post[post_thanks_thanked_posts_formatted]">$vbphrase[post_thanks_times_posts]</phrase>
			</if>
		</if>
	</div>
</if>


Помогите. Буду очень благодарен
Bot
Yandex Bot Yandex Bot is online now
 
Join Date: 05.05.2005
Реклама на форуме А что у нас тут интересного? =)
 
 
Anonymous
Специалист
 
Anonymous's Avatar
Default
0

<div class="postinfo"> - про это вопрос?
 
 
retaranana
Простоузер
Default
0

В каком смысле? Мне надо чтобы код етот как скрин кинул в рамке был как и репутация и другие рамки.
 
 
Anonymous
Специалист
 
Anonymous's Avatar
Default
0

Quote:
Originally Posted by retaranana View Post
В каком смысле?
в прямом. класс добавить и будет рамка. если я ваще понял правильно вопрос.
 
 
retaranana
Простоузер
Default
0

Вот скрин посмотрите сверху. Я хочу чтобы тот текст с спасибками был в рамке как и остальные. Что надо добавить в код? Добавьте пжл если можно! А то вдруг непойму
 
 
Anonymous
Специалист
 
Anonymous's Avatar
Default
0

Quote:
Originally Posted by retaranana View Post
Что надо добавить в код?
да я вроде уже два раза сказал...

<div>
заменить на
<div class="postinfo">
так понятнее?
 
 
retaranana
Простоузер
Default
0

Получаеться такой код?

Code:
<if condition="$post[userid]">
	<div>$vbphrase[post_thanks_thanks]: $post[post_thanks_user_amount_formatted]</div>
	<div class="postinfo">
		<if condition="$post[post_thanks_thanked_times] == 1">
			$vbphrase[post_thanks_time_post]
		<else />
			<if condition="$post[post_thanks_thanked_posts] == 1">
				<phrase 1="$post[post_thanks_thanked_times_formatted]">$vbphrase[post_thanks_times_post]</phrase>
			<else />
				<phrase 1="$post[post_thanks_thanked_times_formatted]" 2="$post[post_thanks_thanked_posts_formatted]">$vbphrase[post_thanks_times_posts]</phrase>
			</if>
		</if>
	</div>
</if>
Нету рамки
 
 
Anonymous
Специалист
 
Anonymous's Avatar
Default
0

Quote:
Originally Posted by retaranana View Post
Нету рамки
ну дива два и вставлять надо на первом... а во-вторых, может у вас и класс по другому называется... див выше этого можно процитировать?
 
 
Luvilla
Гость
Default

 
 
Anonymous
Специалист
 
Anonymous's Avatar
Default
0

Quote:
Originally Posted by Luvilla View Post
все так плохо на самом деле?
 


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:35 PM.


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