PDA

View Full Version : ShareThis Bookmarking


jim6763nva
05-22-2008, 10:00 PM
ShareThis Bookmarking

Don't want to add the normal block of bookmarking links to your forum? This is a small piece of javascript code that can be placed in your template. It will add a ShareThis link your forum. For example, I added it to my Postbit_legacy template. When clicked, it will popup a window that will allow you to submit a thread to bookmarking sites, blogs as well as send an email to friends with a link to the thread and a thumbnail preview of your site. To add this code, go http://www.sharethis.com/getbutton and register as a publisher, then grab this javascript code for the type of site you want to place it on. They also have plugins for Wordpress, Blogger, and Typepad.

More info on what it does: About ShareThis (http://sharethis.com/poweredby)

Other features include:
Automatically updates with new features
Improved email and other message sending
Tracking and Reporting

Get the Code: http://www.sharethis.com/getbutton

Installation information on hack:

Files edited: 0
Templates edited: 1
Files to upload: 0
Time to install: 1 minuteScreenshots:
See Attachments.

Please post your comments for this hack. I read ALL posts.
Since this is my first addon/template mod please let me know if there is any information I should have included in this.

MAKE SURE YOU CLICK INSTALL (https://vborg.vbsupport.ru/vborg_miscactions.php?do=installhack&threadid=168819)!

jim6763nva
05-23-2008, 04:14 PM
** Reserved **

Jase2
05-23-2008, 05:48 PM
Cool -- personally, I just use Add This (http://www.addthis.com/)

intensecool
05-23-2008, 06:03 PM
Where to place the Code

jim6763nva
05-23-2008, 10:01 PM
Where to place the Code

You might be able to put it in your SHOWTHREAD template, but if you want to put it in your Postbit_legacy template, like I did. Look for the following code:



 
<if condition="$show['postcount']">#



Just above that, add the code you get from the ShareThis website, and it will appear on the row, and just before each post count.

If you don't want to show the regular bookmark links, you could comment out that code, and add in the ShareThis code between the bookmarking conditionals, like this:

SHOWTHREAD - Look for:


<if condition="$bookmarksites">



Add the ShareThis code right below that. Please keep in mind though, I haven't tested this part yet.

If you are placing the code in Wordpress or some other place, I would not be able to help you there. You would need to check the documentation or with someone that is more familar with adding those widgets.

Hopefully this will give you a starting point.

Jim

jim6763nva
05-23-2008, 10:05 PM
Cool -- personally, I just use Add This (http://www.addthis.com/)

Hey Jase, AddThis is pretty cool! Thanks for pointing that out. If I had found that before posting this, I probably would have added it to my site. LOL I just took a quick look at it. Does AddThis put a thumbnail of the website into the email also? I thought that was a pretty cool feature of ShareThis.

Jase2
05-24-2008, 09:13 AM
I don't think so. Just adds the javascript dropdown button -- could be easily done though, I guess.

tidefans
12-01-2008, 06:25 PM
Just found a hack that implements this here: https://vborg.vbsupport.ru/showthread.php?t=189779&highlight=sharethis.com

Brandon Sheley
12-01-2008, 06:27 PM
I just use the built in social networking icons, but this is nice too :)
thanks for sharing! :D

hyperviperx99
05-19-2011, 08:25 AM
Which template do you put the codes on?