B
B
BelarusOK2019-01-10 19:36:34
IPB
BelarusOK, 2019-01-10 19:36:34

2 IF conditions into one?

Greetings, it’s impossible to combine it into one condition, it should work like this, if there is no user group, this is a guest and there is a message in the topic, then an ad block is displayed after it.

<if="ipb.member['id'] == 0">
<if="this->post_style_count++ == 0">
</if></if>

This way doesn't work...
<if="ipb.member['id'] == 0" AND if="this->post_style_count++ == 0">
<if="ipb.member['id'] == 0" && if="this->post_style_count++ == 0">

Answer the question

In order to leave comments, you need to log in

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question