Project

General

Profile

Outreach #1560

Add social media icons/info to About page and Contact Us page

Added by Matt Gold over 7 years ago. Updated about 7 years ago.

Status:
Resolved
Priority name:
Normal
Assignee:
Category name:
BuddyPress (misc)
Target version:
Start date:
2012-01-20
Due date:
% Done:

100%

Estimated time:

Description

Google Plus, Facebook, twitter

2012-04-07_131933.png (24.5 KB) 2012-04-07_131933.png Raymond Hoh, 2012-04-07 04:23 PM
2012-04-09_110327.png (33.9 KB) 2012-04-09_110327.png Raymond Hoh, 2012-04-09 02:10 PM

Related issues

Blocks CUNY Academic Commons - Outreach #1561: Add Social Media Icons back to top of side column of News pageResolved2012-01-20

History

#1 Updated by Boone Gorges about 7 years ago

  • Status changed from Assigned to Reporter Feedback
  • Assignee changed from Boone Gorges to Raymond Hoh

Matt, can you give a hint about where you'd like them to appear, and how you'd like them to look?

Ray, I had originally just written a little bit of HTML in a text widget, and put it on the sidebar for the News page. (See #1258, #1561.) At some point, our theme barfed and the widgets were reset, so I lost that HTML. I was thinking it might be nice to register a shortcode that spits out the HTML, so that it could be put wherever (or the callback could be called directly in a template file). Can I ask you to work something up? #1258 has the proper links (note that the G+ and FB links are corrected further down in the thread).

#2 Updated by Raymond Hoh about 7 years ago

I've attached a screenshot of what I have on my local box.

Is this what you guys had in mind?

The Facebook Like button would like the CUNY FB page, not the Commons homepage. If you'd like me to change this to the Commons homepage, let me know.

#3 Updated by Matt Gold about 7 years ago

Thank you, Chris -- I think that mockup looks great. And if, as I suspect, the difference between liking the Commons FB page and liking the Commons itself involves the difference between keeping the interaction on FB and letting FB's tracking codes infiltrate the Commons, then, yes, let's have the button like the Commons FB page.

#4 Updated by Boone Gorges about 7 years ago

Matt - you said "Chris" and I think you meant "Ray" :)

Also, I guess these buttons are different from the ones I was remembering. I recall static icons that just linked to the pages in question, as opposed to these action buttons (Like, Follow, +1). I think that I'm remembering the buttons as they appeared in the sidebar of the News page (see #1561). If it's not too much trouble, and if you go with the shortcode method, maybe you could have a shortcode parameter like

format="links"
that would toggle between two different versions.

Thanks, Ray!

#5 Updated by Matt Gold about 7 years ago

Oops -- thanks, Ray. Sorry for the mixup!

#6 Updated by Raymond Hoh about 7 years ago

How's the attached screenshot?

16x16 icons come from:
http://icondock.com/free/vector-social-media-icons

Boone, do we want other people to manage shortcodes? If so, I recommend the Post Snippets plugin:
http://wordpress.org/extend/plugins/post-snippets/

Otherwise, I'll just leave the shortcode in /bp-nelo/functions.php.

Do I commit to the 1.3.x branch?


Matt Gold wrote:

And if, as I suspect, the difference between liking the Commons FB page and liking the Commons itself involves the difference between keeping the interaction on FB and letting FB's tracking codes infiltrate the Commons, then, yes, let's have the button like the Commons FB page.

For the FB Like button, we can have it like either the FB page or the Commons homepage, your preference. There's no extra FB tracking code.

#7 Updated by Boone Gorges about 7 years ago

  • Target version changed from 1.4 to 1.3.12

I like! But you should wait for Matt's feedback.

Go ahead and put this in the 1.3.x branch. I'll move it to an appropriate milestone.

#8 Updated by Matt Gold about 7 years ago

Looks great. Thanks, Ray!

#9 Updated by Raymond Hoh about 7 years ago

  • % Done changed from 0 to 100

Added in https://github.com/castiron/cac/commit/0ac9022239d264f5c04119c869354f54c707fdbe


Use the following shortcode for social links:
[cac-social-icons]

Use the following shortcode for social buttons (Follow, FB Like, +1):
[cac-social-icons format="buttons"]


I don't have access to mark tickets as resolved, so Boone or Matt will have to do that!

#10 Updated by Boone Gorges about 7 years ago

  • Status changed from Reporter Feedback to Hold
  • Assignee changed from Raymond Hoh to Boone Gorges

I thought it was broken until I remembered that my hosts file blocks all content from *.facebook.com :)

Looks great, Ray! Going to reassign to myself so that I remember to implement on the live site at release time.

I'll reconfigure the Redmine settings so that you're able to close tickets properly in the future. Thanks!

#11 Updated by Boone Gorges about 7 years ago

  • Status changed from Hold to Resolved

Also available in: Atom PDF