MyBB Community Forums

Full Version: Hide Admins Post Count and Join Date
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
Is there a way I can do this?

I just want to hide the admins, not any other users.
You'll either need the template conditionals plugin or a custom plugin to do this.
You may have to use the template conditionals plugin

AND modify postbit_author_user template (in Post Bit Templates)

find code similar to below :
{$lang->postbit_posts} {$post['postnum']} 

change to :
<if $post[usergroup] != 4 then>{$lang->postbit_posts} {$post['postnum']}</if> 

Hope this helps ya!
(2014-06-04, 02:35 PM)dragonexpert Wrote: [ -> ]You'll either need the template conditionals plugin or a custom plugin to do this.

How can I do it with the "template conditionals" plugin?
(2014-06-04, 02:38 PM)masijio Wrote: [ -> ]
(2014-06-04, 02:35 PM)dragonexpert Wrote: [ -> ]You'll either need the template conditionals plugin or a custom plugin to do this.

How can I do it with the "template conditionals" plugin?

The plugin allows you to use: if statements. So you could do something like(im do this in php)

if (id == 4)
{
//Show Admins only
}

else if(id != 4)
{
//Show everyone else code except group 4 (AKA remove the post).
}