I've been reading the documentation and was hoping to get some info, hopefully someone can help point me in the right direction.

Basically, I want to pull user info so that when I'm logged into my account, I can see other users data in the postbit associated to their account.


I'm logged in as John Smith and another user Jane Doe posts on the forum, if Jane Doe has 150 EasySocial Points, I want to see her total EasySocial points display in the postbit instead of mine.

- - - - -

Below is the code I found in the documentation, however, it displays the total points associated to my currently logged in account rather than the other user.

require_once(JPATH_ADMINISTRATOR . '/components/com_easysocial/includes/easysocial.php');
$my = ES::user();
$points = $my->getPoints();

What would I have to change in the code above so that other users info will show up in the associated Kunena postbit rather than my own info?

I'm also interested in retrieving custom profile fields as well to display in the postbit.

Thanks and I appreciate any assistance that can be provided :)

*Edit - Realized this should probably go in the Tutorials category, hopefully that's correct.

*Edit - I found the solution to my problem. I haven't tried retrieving extra fields from users, will try this eventually but if someone has a few pointers in the meantime, that would be great.

This section can only be seen by users with a valid subscription.
If you have a valid subscription, please login now

Support is

It is currently off working hours and most of us aren't around.

Rest assured that we will get back to your issues as soon as the day starts tomorrow!

Your time
Stack Ideas time