View Full Version : Codes for additional share buttons...

10-03-2011, 10:01 AM
The main feature of the Gold version of this mod is the ability for the user to easily add any additional share buttons they want directly into the mod settings in the admin cp.

The mod has instructions on how to add custom buttons but if you have any requests for a button not already part of the mod, make it here. (This thread is open only to those who have purchased the mod.)

To start here is the code for a Google Buzz (http://www.google.com/buzz/api/admin/configPostWidget) button (More Share Options v 2.6):

<a title="Post to Google Buzz" class="google-buzz-button" href="http://www.google.com/buzz/post" data-button-style="normal-button" data-url="{URL}"></a><script type="text/javascript" src="http://www.google.com/buzz/api/button.js"></script>

Paste the above code into your "Custom Button" box at the bottom of the mod settings. Be sure to leave one blank line between any other button code you may already be using.

Update: Google Buzz was shut down by Google in December 2011. :(

Stuart Sweet
06-13-2012, 03:12 PM
Hi, I'd like to add a button that will e-mail a link to the story. I know this is in the AddThis button but I'd like to make it more prominent. Is this tough?

Stuart Sweet
06-13-2012, 04:58 PM
Well, I think I did it.

<a href="mailto:&subject=Your_subject_here&body=Your_body_here%0d%0d{URL}"
onmouseover="window.status='E-mail'; return true;"
onmouseout="window.status=''; return true;">
<img src="Your_filepath/email.png" width="78" height="20" border="0" alt="E-mail"></a>

Obviously change out Your_subject_here, Your_body_here, and Your_filepath.



Thanks for including the {URL} hook, it wouldn't have worked without it.

06-14-2012, 07:03 AM
Looks great Stuart! Thanks for sharing!