MyBB Hacks

Full Version: warning (only show) for user zero posting or even not give post at all.
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
I want to display a warning to the members in my forum. but the warning only appear to the user that the number of posts the member is less than 5 or even not give post at all.

how to make the warning with "Template Conditionals"?

[attachment=1007]
just an example. but the sentence is more or less appears like this

Code:
<username> ... bla...bla... bla... member for haven't posted anything yet or zero posting counts. Be noted that we are deleting zero-posters (user) from time to time.

after trying a few references but still not successful. and I tried the following code but it still does not work the way I want.

Code:
<if $GLOBALS['mybb']->post['postnum'] < 10 then>
Counting Down Time for delete inactive or zero post user.
</if>


Quote:note:here I just wanted to show ranked number to members who do not have the number of posts or zero posts.
AFAIK, there is no $mybb->post['postnum']
You can try $mybb->user['postnum']
thanks you RateU, works very well. Yipi
Reference URL's