Topic-icon Avatars from JFBConnect

Active Subscriptions:

None
1 year 9 months ago - 1 year 8 months ago #68109 by romagromov
1. How to implement JFBConnect avatars in 3rd party extensions?
2. How to change (upload) user avatar? Now we have only 1 menu item "Account Settings" and there is no any settings - we can only link/unlink social accounts.
Last edit: 1 year 8 months ago by romagromov.
The topic has been locked.
Support Specialist
1 year 9 months ago #68119 by alzander
Replied by alzander on topic Avatars from JFBConnect
1) To integrate with other extensions, you need to use a Social Profile plugin which can push the avatar from a social network into those extensions.

We include some 3rd party integrations for systems like Kunena, JomSocial, Community Builder and others to do this and other extensions have built their own.

If there isn't a plugin available for your 3rd party extension, you'd need to add some code or create a profile plugin in order to push the avatar into that extension. We can help guide you on that as needed.

Can you let us know what extension you're trying to integrate with?

2) JFBConnect doesn't display a user's avatar by default. We aren't a profile/community extension, but we integrate with many other social networks. Because of that, we don't offer a way to override the avatar of a user, we rely on functionality in other extensions to allow that functionality.

I hope that helps explain, but if you need anything else, please let us know.

Thanks,
Alex
The topic has been locked.
Active Subscriptions:

None
1 year 9 months ago - 1 year 9 months ago #68120 by romagromov
Replied by romagromov on topic Avatars from JFBConnect
I need to get user avatars in FlexiContent.
Usually, for example EasyDiscuss have documentation, how to integrate avatars in other extentions.

Here is code
require_once(JPATH_ROOT . '/administrator/components/com_easydiscuss/includes/easydiscuss.php');
$user = ED::user();
$permalink = $user->getLink();
$avatar = $user->getAvatar();
In this way we can integrate EasySocial avatars anywhere.
Last edit: 1 year 9 months ago by romagromov.
The topic has been locked.
Support Specialist
1 year 8 months ago #68191 by alzander
Replied by alzander on topic Avatars from JFBConnect
I'm so sorry for the delay in getting back to this. Somehow it slipped through my reminders.

JFBConnect uses a profile plugin system to import data from a social network at the time of login/registration. JFBConnect does not have a profile system built-in to store the user's profile data, so you'd need to create a profile plugin for Flexicontent to import the fields or avatar at registration as the avatar won't already be a file on your server.

Our documentation for creating a profile plugin can be found below:
www.sourcecoast.com/jfbconnect/docs/gene...ing-a-profile-plugin

I hope that helps explain, but if you have any questions or run into issues with our documentation, please let us know. We made some updates to the profile system in JFBConnect v9, so I'd recommend using an existing plugin as a guide as well as the documentation.

Thanks,
Alex
The topic has been locked.