MyBB Community Forums

Full Version: postbit template edit
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
Hi,

I want to edit the postbit template and get the username and uid of that user that made the post, and another custom field called "realm"
I tried
<?php
echo $mybb->user['uid'];
echo $mybb->user['realm'];
?> but it gets the logged in user details not the details of that who made that post.

Help...
echo $post['uid] will do the trick Smile