Ask Your Question
0

How to enable Addthis sharing content?

asked 2013-08-16 15:32:01 -0500

Mustafa gravatar image

Askbot by default support sharing for major social networks like facebook and Twitter. However, I would like to use AddThis.com which is support more networks and support sharing counts per social network.

Also Addthis offer Smart Layers which is really awesome, and can boost traffic and views for your Q/A site.

edit retag flag offensive close merge delete

1 Answer

Sort by ยป oldest newest most voted
2

answered 2013-08-16 15:41:26 -0500

Mustafa gravatar image

Solution is the following

First, register with AddThis.com and chose the sharing services you like For example "Share Buttons" and copy the JS code.

Now open this template using any editor

~/askbot/templates/question/share_buttons.html

remove the code in this file or comment the code with

<!-- orginal code Start
orginal code end -->

And insert your AddThis JS code in this file, save file, upload (using FTP) and replace.

Note: the option "Track when users share by copying your URL" will break your title in browsers and google search, so you have to disable it, maybe @Evgeny could help with this.

edit flag offensive delete link more

Your Answer

Please start posting anonymously - your entry will be published after you log in or create a new account.

Add Answer

Question Tools

1 follower

Stats

Asked: 2013-08-16 15:32:01 -0500

Seen: 854 times

Last updated: Aug 16 '13