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

Подскажите, пожалуйста, как сделать условие типа
Quote:
<if condition="in_array($forumid, array(1,2,3))" AND ($thread == closed) AND (this is first post)>
blabla
<else>
blabla2
</if>
Т.е. условие, при котором ID разделов форума = 2 или 3 или 4, тема является закрытой и пост в теме является первым.

Хочу просто в background закрытых тем в "Купле-Продаже" засунуть картинку.

З.Ы. - Вобла 3.6.11, если это имеет значение.

Last edited by Dragster : 10-15-2008 at 02:19 PM.
Bot
Yandex Bot Yandex Bot is online now
 
Join Date: 05.05.2005
Реклама на форуме А что у нас тут интересного? =)
 
 
Dragster
Знаток
 
Dragster's Avatar
Default
0

Ап :(
Никто не знает?
Я вот навоял такой вариант, но не пашет:
PHP Code:
<if condition="in_array($forumid, array(25,26,27)) AND $show['closethread'] AND $post[postcount] == 1"
...................... 

Last edited by Dragster : 10-16-2008 at 08:21 PM.
 
 
Dragster
Знаток
 
Dragster's Avatar
Default
0

Ап!
 
 
kerk
k0t
 
kerk's Avatar
Default
1

Code:
<if condition="in_array($thread[forumid], array(25,26,27)) AND $thread[open] == 0 AND $isfirstpost">
как то так, точно не помню
 

Tags
условие


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 04:34 PM.


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