2010-11-04, 10:06 AM
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
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