First time here? Check out the FAQ!
0

How to enable Addthis sharing content?

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.

Mustafa's avatar
48
Mustafa
asked 2013-08-16 15:32:01 -0500
edit flag offensive 0 remove flag close merge delete

Comments

add a comment see more comments

1 Answer

2

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.

Mustafa's avatar
48
Mustafa
answered 2013-08-16 15:41:26 -0500
edit flag offensive 0 remove flag delete link

Comments

add a comment see more comments