1. wan
  2. Features Request
  3. Wednesday, August 12 2015, 12:54 PM
Is there anyway that the "Upload with User Crop & Webcam" can be used in JomSocial 4?
admin Accepted Answer
Admin
Hi,
sorry I don't know, Jomsocial have own avatar upload method. You should ask to Jomsocial support if this product have some avatar integration with Easy Profile.
  1. more than a month ago
  2. Features Request
  3. # 1
wan Accepted Answer
Hi, in Easy Profile is there anyway to use the webcam in changing the Avatar or Profile Picture in JomSocial.
  1. more than a month ago
  2. Features Request
  3. # 2
admin Accepted Answer
Admin
Hi,
there are 2 problems:

1. Easy Profile extends Joomla user profile, so registration/edit profile pages are the same of Joomla. You need to check if Jomsocial allow to use normal users registration instead their form.

2. I don't know if Jomsocial allow avatar integration from third-party components, if this is not possible you need to write plugin to copy avatar from Easy Profile to Jomsocial on each profile update

Some tip to write this plugin:
- Download, install and enable our Skeleton Plugin (you can download this at the end of this page: https://www.easy-profile.com/docs/44-triggers.html )
- Open file /plugins/jsn/skeleton/skeleton.php
- Remove samples functions: triggerFieldAvatarUpdate, triggerProfileUpdate
- write function like this
triggerProfileUpdate($user,&$data,$changed,$isNew){ 
if(!isNew && count($changed))
{
// Retrieve data from Easy Profile
$avatar_url=$data['avatar'];
// add code to copy avatar or link jomsocial avatar to new url
}
}

NOTE: we not have experience with Jomsocial, so we can't help you to write this code
  1. more than a month ago
  2. Features Request
  3. # 3
  • Page :
  • 1


There are no replies made for this post yet.
However, you are not allowed to reply to this post.
Sorry, the discussion is currently locked. You will not be able to post a reply at the moment.