LinkedIn link on member page
Could there be a form to add a LinkedIn profile URL at the member page (e.g., https://commons.gc.cuny.edu/members/khatchad)? There is already one for twitter and GitHub. Thanks!
#1 Updated by Raffi Khatchadourian over 3 years ago
Interestingly, there is a field for LinkedIn on https://commons.gc.cuny.edu/members/khatchad/profile/edit/group/1/. But, despite populating that field, I don't see a LinkedIn line on the profile.
#2 Updated by Boone Gorges over 3 years ago
- File bp-social-media-profiles.diff bp-social-media-profiles.diff added
- Status changed from New to Assigned
- Assignee set to Daniel Jones
- Target version set to 1.10.7
Thanks for the report, Raffi.
There was a bug in the way that the Commons's profile fields were being mapped onto the social media sites, such that the lookup was failing when the name of the profile field (such as "LinkedIn Profile Link") wasn't exactly the same as the social network's name ("LinkedIn").
Dan, I think you were the last to touch this. I've attached the patch that I've applied as a hotfix to the production site. It seems to correct the logic for me, but I would like a second look from you.
#14 Updated by Daniel Jones about 3 years ago
Sorry - thought I had already committed this and pushed it. https://github.com/cuny-academic-commons/cac/commit/8c678f97607719e495a0dc3c61aa43436f508ce6