Welcome to the Question2Answer Q&A. There's also a demo if you just want to try it out.
  • Register
Welcome to the Q&A for Question2Answer.

If you have questions about the platform, click here to ask and please use English.

If you just want to try Q2A, please use the demo, which also grants admin access.

Jan 18: 1.5 release

Please can you add facebook and twitter share

+1 vote
If you add facebook and twitter share, its perfect for us.
asked Aug 30, 2010 in Q2A Core by osman

3 Answers

+3 votes
this feature is on q2a roadmap, it may come in next release.
answered Aug 30, 2010 by ProThoughts
+1 vote
Why not use something like http://www.addthis.com ?? You can put that in your theme at the appropriate location. Those services are better in general because they will stay constantly updated if the code to share on FB changes.
answered Aug 31, 2010 by DisgruntledGoat
0 votes
You actually can add a Like It button to each question through the advanced theme. See here or, if You need more detailled explanation comment again:

http://highedwebtech.com/2010/04/22/how-to-add-facebooks-like-button-to-any-page-on-your-site/


Here You have a sample on my site: http://www.yourquestionplease.com

Just click on one question and see. You may try it as often as You want.


EDIT: I changed the site and included the Share Button instead of the like button. It is very easy as well.

the advantage is, that a liked item in facebook shows up as a small announcement, and a shared item shows up with picture and comment as long as the sharer provides one.

To make this available in Your installation go to

http://www.facebook.com/share/

Copy the code and add it in Your advanced theme to the function and place You want.

In the case of my site it is in the function

function q_view_main($q_view)
{
$this->output('<DIV CLASS="qa-q-view-main">');
$this->q_view_content($q_view);

$this->output('<a name="fb_share" type="bu..........................ript>');

..............

Building an advanced theme is very easy, see instructions here:

http://www.question2answer.org/advanced.php

Section: Creating an advanced theme....

For any questions please comment or ask again.
answered Sep 2, 2010 by monk333
edited Sep 3, 2010 by monk333