Project

General

Profile

Feature #2248

Create Profile link to academia.edu profile

Added by Matt Gold almost 9 years ago. Updated almost 9 years ago.

Status:
Resolved
Priority name:
Low
Category name:
BuddyPress (misc)
Target version:
Start date:
2012-11-14
Due date:
% Done:

0%

Estimated time:

Description

From a user request:

https://cunycommons.uservoice.com/admin/forums/35103-general/suggestions/3350867-create-a-profile-field-for-a-link-to-one-s-academi

I assume that in addition to creating the actual profile field, we'll also have to incorporate an icon to keep it in line with our other social media links.


Related issues

Related to CUNY Academic Commons - Feature #2800: Add Vimeo & Github social media account fields to ProfilesResolved2013-09-22

History

#1 Updated by Dominic Giglio almost 9 years ago

Boone,

I think I've found the code responsible for this in the bp-social-media-profiles plugin. I'm not sure if this plugin exists outside of our repo, but if you want to reassign this to me I think I can copy some of the existing code to create an additional profile field for academia.edu. It looks like I could simply duplicate the Facebook Profile link code.

Feel free to kick this over to me, if it's as simple as it looks I might be able to get it in to 1.4.x.

#2 Updated by Boone Gorges almost 9 years ago

  • Assignee changed from Boone Gorges to Dominic Giglio

Dom - Yes, bp-social-media-profiles is the plugin responsible for turning those fields into icons. If you'd like to have a go at adding academia.edu support, that'd be great. Here's the repo: https://github.com/boonebgorges/bp-social-media-profiles Fork and send a pull request when you've got something :)

#4 Updated by Boone Gorges almost 9 years ago

I've merged the pull request. Dom, please put the merged version into the CAC codebase, and make sure it works as expected on your local install before committing it. Thanks.

#5 Updated by Dominic Giglio almost 9 years ago

  • Status changed from Assigned to Resolved
  • Target version changed from 1.4.12 to 1.4.11

I've updated the repo with the latest changes to bp-social-media-profiles to support academia.edu profile links (after testing in my local env).

Boone, at some point we need to revisit this plugin on Github. Some changes to bp-social-media-profiles.php were preventing the icons from showing up on a user's profile page. I basically updated our repo with all the new files except that one. The master branch appears to have had some functions removed?

There's way too much going on right now to worry about this, but we should revisit in the future to make sure the plugin works the way it's supposed to.

I've also added a note to ACTION_REQUIRED to let the original reporter know that this functionality has been added to the commons.

Commit: https://github.com/castiron/cac/commit/36e279cc014a96727b23a74e47c971361e127f64

#6 Updated by Boone Gorges almost 9 years ago

This looks good on the updated site.

I don't have access to contact the original reporter. Matt, perhaps you can do so?

#7 Updated by Matt Gold almost 9 years ago

Yes, I'll get in touch with the originator. Thanks for your work on this, Dom and Boone.

Also available in: Atom PDF