MyBB Central

Full Version: How to find a certain membergroup with a certain amount of posts.
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
How to find a certain membergroup with a certain amount of posts.
How is that defined? ['mybb']->user['postnum'] == 15
I have a board at my forum that is only for users with 15 posts and I want to show a message at board index to all the members with less than 15 posts. Thanks.
You need a plugin as mybb doesn't support template conditionals.

What you will use is :

if($mybb->user['postnum'] > 15)
{
$damessage
}


You will need to add $damessage variable to the template too via admincp.