Quote:
Originally Posted by Hasann
Try this code for search enginee access with this mod
PHP Code:
<!-- message -->
<if condition="$show['search_engine']">
<div id="post_message_$post[postid]">
$ad_location[ad_showthread_firstpost_start]
$post[message]</div>
</if>
<if condition="$show['member']">
<div id="post_message_$post[postid]">
$ad_location[ad_showthread_firstpost_start]
$post[message]</div>
<else />
<if condition="$post[postcount] == 1">
<div id="post_message_$post[postid]">
$ad_location[ad_showthread_firstpost_start]
$post[message]</div>
</if>
<else />
<if condition="$show['guest']">
<if condition="$post[postcount] != 1">
<div class='warning-box'>
<img src='images/misc/warn.png' alt='Warning' />
<h2><strong>Warning</strong></h2>
<h1><font color="#000000"><br /><br />Konunun devamindaki mesajlari okuyabilmek icin ?ye olmaniz gerekmektedir. <br />L?tfen ?ye Olmak icin <a href=register.php>BURAYA</a> Tiklayin.
</font></h1>
<br /><br />
</div>
<br /><br />
</if></if></if>
<!-- / message -->
|
Hi Hassan, how would i work another condition in? you display only the first post to guests and display a message i would like to display only the first post to unconfirmed users but display a different message, like
PHP Code:
<if condition="is_member_of($bbuserinfo, 3)">PLEASE COMPLETE YOUR REGISTRATION</if>
could you help?