Support

  1. klox7
  2. General
  3. Friday, April 17 2015, 09:27 AM
Hello,

I'm using your EasyProfile for registration and profiles and JFBConnect for login with social account. I know you haven't done any integrations with JFB but I need some guidance.

As I said I use JFB for social login. With it I can pass values inserted in user social profile to Easy Profile table (birthday, website, about,...). But I can't pass values that are not in those social accounts.

So my question is if I can have field in Easy Profile and make one of it's values default so it will be populated? Ex. I have a User Type field which is not visible on edit profile but only on registration page. When I first log in with social account it redirects me to edit profile page to enter some more data. But since this User Type field is hidden there will be now value. How to populate this with some default value?

Another question is how to get avatar from JFBConnect to EasyProfile?

Regards
admin Accepted Answer
Admin
Hi,
So my question is if I can have field in Easy Profile and make one of it's values default so it will be populated?
Try to set default value for column in DB (table is #__jsn_users), to do this you can use software like phpmyadmin.

Another question is how to get avatar from JFBConnect to EasyProfile?
Sorry we not have experience with JFBConnect, but to do this you can put the path of image into avatar column in table #__jsn_users on DB.
  1. more than a month ago
  2. General
  3. # 1
klox7 Accepted Answer
Content Protected
  1. more than a month ago
  2. General
  3. # 2
klox7 Accepted Answer
Content Protected
  1. more than a month ago
  2. General
  3. # 3
admin Accepted Answer
Admin
Hi,
to check problem I need to see your site, for example I see for Google Maps location,location_lat and location_lng fields, this mean that you have some javascript problem.
  1. more than a month ago
  2. General
  3. # 4
klox7 Accepted Answer
I also thought there is js problem but there is nothing in console. I added site details but they won't be useful because on production I don't have this enabled.
  1. more than a month ago
  2. General
  3. # 5
admin Accepted Answer
Admin
Have you solved? Now seems correct.

Small Issue, in Google Map field missing Marker icon (see screenshot), try to download and reinstall Easy Profile to solve this.
Attachments (1)
  1. more than a month ago
  2. General
  3. # 6
klox7 Accepted Answer
Content Protected
  1. more than a month ago
  2. General
  3. # 7
admin Accepted Answer
Admin
Ok,
now I have understand, sorry but we have no experience with JFBConnect.

Easy Profile is designed to extends Joomla user management so some Javascript output is generated only on com_users component.

Example:
try to see the file /administrator/components/com_jsn/helpers/fields/gmap.php at line 95, I have this:
if(JRequest::getVar('layout','')=='edit' || JRequest::getVar('view','')=='registration')


so at link like https://thermespa.com/component/jfbconnect/?view=loginregister&;provider=twitter&return=L3NpZ251cA==
the code is not rendered

example if you have some link like https://thermespa.com/component/jfbconnect/?view=loginregister&;provider=twitter&return=L3NpZ251cA==&layout=edit the code works*

*another issue: we (and Joomla) use form like Boostrap but in JFBConnect are not respected bootstrap standards. So some Javascript not work properly (see screenshot)
Attachments (1)
  1. more than a month ago
  2. General
  3. # 8
klox7 Accepted Answer
Ok, now I managed to modify this JFB template with one exception. Fields that are supposed to be hidden (conditional fields in easyprofile) are not. Do you maybe have any suggestion how to make them behave like in EP?
  1. more than a month ago
  2. General
  3. # 9
admin Accepted Answer
Admin
Hi,
Javascript code to show/hide fields is into our System Plugin, as Google Map javascript this code is rendered only when are met some conditions, try to see file /plugins/system/jsn_system/jsn_system.php at lines 232,244 and 254
  1. more than a month ago
  2. General
  3. # 10
klox7 Accepted Answer
So can I somehow include your system plugin to jfb template?
  1. more than a month ago
  2. General
  3. # 11
admin Accepted Answer
Admin
Hi,
yes, but you need to edit /plugins/system/jsn_system/jsn_system.php at lines 232,244 and 254.
  1. more than a month ago
  2. General
  3. # 12
  • 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.

Request Support

Support is currently Online

Support Availability

Working days: Monday to Friday. The support staff is not available on weekends; in the most of cases tickets will not be answered during that time.

Reply time: Depending on the complexity of your support issue it's usually between a few minutes and 24 hours for paid members and about one week for free members. When we expect longer delays we will notify you.

Guidelines

Before you post: read the documentation and search the forums for an answer to your question.

When you post: include Site Details if you request a support (you can use the form below the reply in Site Details tab).

Auto Solved Question: If after a week the author of the post does not reply to a request by moderator, the question will be marked as resolved.

Language: only English

Search Users

Easy Profile® is not affiliated with or endorsed by Open Source Matters or the Joomla Project. Joomla is Free Software released under the GNU/GPL License.