By Michael Guthrie on Tuesday, 17 March 2015
Posted in General Issues
Replies 9
Likes 0
Views 589
Votes 0
Hi again,
Yesterday I upgraded ES to the latest version but now when I try to register using JFBConnect (using the ES registration form) none of the fields are pre-populated with FB data. I recently got the FB app approved and so it should be getting name, email, gender, birthday, website and education info. I tested it yesterday and it worked. The only other thing I did was to grant EasyBlog access to the same app to setup autoposting.
Thanks for looking into it,
Michael
Hi Michael Guthrie,

Sorry for late reply to this,
I've applied some fix in this file JoomlaFolder\components\com_easysocial\views\registration\view.html.php
It should work fine now.
·
Friday, 20 March 2015 02:59
·
0 Likes
·
0 Votes
·
0 Comments
·
Hi again,
Actually it seems the behaviour was caused by renaming the default profile type. When I rename it back to Expedition 2015 and run maintenance, the registration fields get populated correctly, however the last steps shows an error

1146 - Table 'c2041065_2041.jos_social_privacy' doesn't exist SQL=INSERT INTO `tw41_social_privacy_items` (`privacy_id`, `user_id`, `uid`, `type`, `value`) SELECT `d`.`id` AS `privacy_id`, '969' AS `user_id`, `a`.`id` AS `uid`, `d`.`type`, `d`.`value` FROM `tw41_social_fields` AS `a` LEFT JOIN `tw41_social_fields_steps` AS `b` ON `b`.`id` = `a`.`step_id` LEFT JOIN `tw41_social_apps` AS `c` ON `c`.`id` = `a`.`app_id` LEFT JOIN (select pi.`id`, pi.type, pi.rule, ifnull(pim.`value`, pi.value) as `value` from jos_social_privacy as pi left join jos_social_privacy_map as pim on pi.`id` = pim.`privacy_id` and pim.`utype` = 'profiles' and pim.`uid` = '2' where pi.`type` = 'field') AS `d` ON `d`.`rule` = `c`.`element` WHERE `d`.`type` = 'field' AND `b`.`type` = 'profiles' AND `b`.`uid` = '2' AND `a`.`id` NOT IN (SELECT `e`.`uid` FROM `tw41_social_privacy_items` AS `e` WHERE `e`.`type` = 'field' AND `e`.`user_id` = '969')


I created a new profile type (Alumni) and made it default but I get the same error as above.
Thanks,
Michael
·
Tuesday, 17 March 2015 18:44
·
0 Likes
·
0 Votes
·
0 Comments
·
Hi Michael,

Sorry for late reply to this,
We are still investigate on this issues and get back to you as soon as possible.
·
Wednesday, 18 March 2015 02:19
·
0 Likes
·
0 Votes
·
0 Comments
·
Hi Michael,

I have apply some fix on your site. Can you please check this for me is your issue is now fixed?

Please advise.
·
Wednesday, 18 March 2015 13:17
·
0 Likes
·
0 Votes
·
0 Comments
·
Hi Mohd,
The first time I checked it worked perfectly, however then I disabled the test profile to see if the registration still works without the profile selector (I cleared the ES cache as well as my browser cache). The fields were correctly populated but then step 3 appeared (avatar and cover) which would usually get skipped when registering using FB. However the profile was correctly registered and the avatar/cover imported.

The third time I tried I cleared both my cache and cookies and the fields appeared empty. I went ahead and re-enabled the test profile, returned to registration, selected Alumni and the fields appeared correctly populated. Same after I disabled test again and returned to registration. However every time I clear my cache and cookies the fields of the registration form don't get populated. I was able to recreate this behaviour by doing this:
1) clear cache and cookies
2) try to register using FB, the fields are empty
3) re-enable test profile
4) return to registration, select alumni, the fields are populated
5) disable test profile, return to registration, the fields are populated
6) clear cache and cookies, return to registration, the fields appear empty again
Thanks,
Michael
·
Wednesday, 18 March 2015 17:42
·
0 Likes
·
0 Votes
·
0 Comments
·
Hi Michael Guthrie,

Sorry for late reply to this,
We are still investigate on this issues, may i know do you only allow your new user only register in this "Alumni" profile type?

Because I noticed you set this profile type "Expedition 2015" allow registration to NO ( http://screen.stackideas.com/2015-03-19_1323.png ).

Also may i know when you're using older version of Easysocial, when the user click on "Facebook button" from your Easysocial page, what is the happening on your next page?
·
Thursday, 19 March 2015 13:28
·
0 Likes
·
0 Votes
·
0 Comments
·
Hello Arlex,
At this time there will only be one user profile you can register with - Alumni. In the future there will be more.
The way it should work is upon clicking the FB button and logging in with the FB credentials, I should see the ES registration form with name, email, password (automatically generated), gender, age, website and education info populated with information from Facebook. Right now sometimes it works (when there's more than 1 profile type allowed at registration) and sometimes the fields appear empty (when there's just one).
Thanks,
Michael
·
Thursday, 19 March 2015 17:37
·
0 Likes
·
0 Votes
·
0 Comments
·
Thanks Arlex, works now! Is it going to be included in the next version?
Cheers,
Michael
·
Friday, 20 March 2015 17:46
·
0 Likes
·
0 Votes
·
0 Comments
·
Hi Michael Guthrie,

You're welcome, my fix will not include in next release version. So you have to keep this file until you create multiple profile type for user registration. Hope this help.
·
Friday, 20 March 2015 19:22
·
0 Likes
·
0 Votes
·
0 Comments
·
View Full Post