Hi can you help me to show this message only to users with 0 posts
<if $mybb->user['uid'] then>
<p class="boardmessages"><strong>News</strong></p>
</if>
<if $mybb->user['uid'] && $mybb->user['postnum'] == 0 then>
<p class="boardmessages"><strong>News</strong></p>
</if>
I love you
Thank you so much +1 from me
how to use it??? will u guide me please?
(2013-07-13, 03:30 PM)shahroze Wrote: [ -> ]how to use it??? will u guide me please?
Download Template Conditionals
http://mybbhacks.zingaburga.com/showthread.php?tid=464 (tplcond-1.7.7z), put the files in the right folders (.txt and .php to inc/plugins), activate it.
Then add the above (or any other conditional) code to your templates where it's possible to use the conditional variables - the one in this topics works in any template.