Welcome to the Question2Answer Q&A. There's also a demo if you just want to try it out.
+25 votes
15.6k views
in Plugins by
edited by

Hello All ,

I have developed a free and opensource social sharing plugin using which you can share the link in social media

Go and Grab it here.

features

lightweight - No JS or iframes included

powered by font aswome icons

separate text message on home page

different share button options (8 options available . You can choose your favorite one )

textual sharing feature like stacoverflow

template based . Easily you can extend for developers

multiple languages support . You can translate every

Update 1.1 - bugs fixed for vk.com social sharing and few code improvements

Screenshots

1. Colored buttons with icon

2. Colored butons

3. Squared buttons

4. Semi rounded buttons

5. Rounded Buttons

6. Textual sharing like stack overflow

With images like the existing simple social sharing plugin

as a widget (some CSS tweaks may be required for this )

Admin panel -

Hope you will like it .

Please share your idea here so that we can mae it more user friendly .

Note - The project is forked and extended from http://www.question2answer.org/qa/31585/ . I have added much flexibility . So you should use either of them but not the both .

 

Thank you all for your love and support .

Special thanks to @dkd903 . He has encouraged me a lot at the beginning .

Q2A version: 1.6.3
by
v1.0 has been released .
by
Nice plugin... Congratulations...!
by
Thank you @Jatin for your valuable review .

15 Answers

+2 votes
by

 

Please add the plugin
by
Thats a good sugegstion . I will add this in the next minor version
by
Hi @Servirs . I have added vk.com . Thanks you for your suggestion .
by
I am very grateful to you master for what you listened to my advice, but you reject vain http://www.odnoklassniki.ru/
by
the icon fonts for odnoklassniki is not available in fontaswome yet . i will add them when they are available . thank you
by
Thank you master, I will hope that it will happen soon
+2 votes
by
That is what I was talking about when you released facebook like box plugin. This plugin would be way cool and I am just waiting to try it on my websites. Carry on the good work bro...
by
Thank you bro for your review . :)
+1 vote
by
edited by

Hi

Thanks for a very useful plugin :-)

One question. In the plugin you have both of these settings:

"Enter Your Share Text for home page:"

and

"Enter Your Share Text for question page :"

But you did not describe the first one in your example. Would you kindly explain how it's used?

by
There are two options because the widget which you'll apply on question page will only be used to share that particular question so you can write there "Share this question on".
On the other hand, if you would apply the widget on homepage of site then there is no particular question which can be shared so you can write there as "Share this website on" or "Share this 'Domain' on".
I think this would cut off the confusion.
0 votes
by

hi,

i like this buttons but sometime does not work ok... (see image)

how to fix this?

thank you!

by
hi @rstergar , could you please share your website link and which browser you are using . I have tested in almost all browsers , it works fine .
by
i figured it out... it's not working if i look website without www... with www works great :)
thank you! bye
0 votes
by
edited by
New version 1.1 has been released . Please download the latest version if you are using this plugin .

Changes -

1. Bug fixes for share urls on vk.com

2. Code improvements

 

Cheers
+1 vote
by
edited by



I have the opposite problem from rstergar.   When I use www to access my site, I see the above (no icons).  When I use http://, then I can see the icons.  There is obviously a bug here.

by
The problem might be due to the imported icon set from icomoon . Just google - https://www.google.co.in/webhp?sourceid=chrome-instant&ion=1&espv=2&ie=UTF-8#q=icomoon+icon+rendering+problems

But the strange thing is it is not coming for everybody . Only coming for few cases . Anyways I will fix it in the next minor version .
by
I did follow the link, but I did not understand what I need to do to fix this.

How will we be updated for the fix?  Follow this thread?
by
You misunderstood me . I meant , I will fix this issue in next version . :)
by
I just upgraded to q2a 1.7.0 and the social plugin 1.3.0.  I have the same problem (corrupted icons).

This happens when I go to the http version.  It works ok for the https version.

Have you made a fix?
0 votes
by
Besides the questions page, how do I add this plugin to the home page?  I did enter a text here: "Enter Your Share Text for home page:"
by
Thank you.  You might consider making this an option/parameter.  The Site Title makes sense when you view a home page, with all the additional info.  But if you see it alone, it may not make sense.
by
Thanks for the suggestion . I will add a option in next version .
by
I just installed version 1.3.0.  You have not made the change, am I right?
by
I did not added this option yet .
0 votes
by
I am trying to install an SSL over the entire site, and I am having problems with this plugin.  I am getting two errors:

1) "Mixed Content: The page at 'https://example.com/q2a/' was loaded over HTTPS, but requested an insecure stylesheet 'http://example.com/q2a/qa-plugin/q2a-social-share-master/qa-social-share.css'. This request has been blocked; the content must be served over HTTPS."

2) Mixed Content: The page at 'https://example.com/q2a/' was loaded over HTTPS, but requested an insecure stylesheet 'http://example.com/q2a/qa-plugin/q2a-social-share-master/icons.css'. This request has been blocked; the content must be served over HTTPS.

The problem is that the plugin resources are pulled with http instead of https.

This is the classic type of "blocked mixed content" (see https://developer.mozilla.org/en-US/docs/Security/MixedContent/How_to_fix_website_with_mixed_content).
by
It is not the plugin problem . Might be your admin setting is still pointing to http url . Login as admin -> general . Then look for the Site URL setting . Put the correct URL there , then the content will be loaded properly .
by
You are right.  I changed the setting site url to https, and the error is gone.  Thank you.
by
Thats great . Enjoy
0 votes
by
When I press the share button there is no preview of the question/the main site in facebook post. Could you help me with that?
0 votes
by
Hi Ami,

At first thanks for your nice plugin!

Could you please tell me how can I have different texts for question and blog page?

If this is not possible then how to show social share contents only in question pages?

Thanks
by
You can change it here -
https://github.com/amiyasahu/q2a-social-share/blob/master/inc/Ami_SocialShare.php#L32
to -

 $this->themeobject->output( $this->themeobject->template == 'blog'  ?  'Share this blog post' : qa_opt( empty($request) ? qa_sss_opt::SHARE_TEXT_HOME : ( qa_sss_opt::SHARE_TEXT) ) );

PS - I have not tested this ,  but this should work .
by
I see you have added this feature to the new version, It's great! Thanks.
+1 vote
by
Please add Telegram to mobile sharing.
by
I will consider this in next version if get decent no of user requests .
by
Added ......
by
Thank you very much :)
+2 votes
by

Version 1.7.0 is released today . This is a recommended update as previous version has some minor bugs.

  • Added Telegram share for mobiles as requested by many users 
  • Added StumbleUpon share button as requested by many users
  • Fixed button width for Snow , Candy , Classic theme for the sidebar widget
  • Separate share message for blogs
  • Fixed #14
  • Fixed alignment issues in meta tags for source view
  • Compatible with Q2A 1.7.3
Enjoy .. 
by
Is there anyway that we can display the number of times a question has been shared on a particular social networking site? For example, if it has been shared by number of users on the facebook for amount 10 times, then number 10 would display next to the Facebook button, etc.
by
when i unzip this plugin in my plugins folder unfortunately my site will be down and blank white page will be shown.how can i fix this?
by
did you see any error in log?
by
Hi, the plugin is great, thanks for sharing.

Btw, I got a question where the shared url is always wrong.  I enabled the opengraph option but the it is always sharing my homepage url instead of grabbing the question image and share the question url.

Any idea what could have went wrong? Appreciate for any guidance. Thanks!
...