Jump to content

Extension talk:Add to Any Share/Save/Bookmark Button/Archive 1

From mediawiki.org

Doesn't seem to work?

I've installed the extension. It shows up in the Special:Version page. I put the <sharesave /> tag on a page. Nothing happens. I removed the comments around the "to do" section in the php file. Still nothing happens.

Any suggestions?

--C4duser 01:53, 16 January 2009 (UTC)

The <sharesave /> tag is a work in progress.

The goal is to have the <sharesave /> tag load the external JavaScript call before the </body> tag (so that content always loads first). If anyone knows how to make this happen, please do get in touch! http://www.addtoany.com/contact/

Micropat 05:31, 17 January 2009 (UTC)

Looks Good - Doesn't appear to work!

Installed this... presentation looks really good. However, when I click on the facebook icon, I get " Error" followed by the calling URL truncated and with ellipses in the 'Post to profile' page. Any suggestions?

--TheCTOSian 12:53, 2 December 2010 (UTC)

Extremely annoying!

Its a good tool but its incredibly frustrating to have on a site due to the fact its a big pop up window in a regular cursor path that will activate even on a quick brush-over of the cursor. Any modifications? A 1/2 second delay on popup would probably work fine. --86.28.134.69 22:17, 10 July 2009 (UTC)

A Fix to Stop the Automatic Pop-Up

I agree that the automated pop-up can be a bit annoying at times, but I found that if you just add this quick bit of code, you can make it so the window will not drop down until the user clicks on the Add-to-Any icon. Here we go with the mod:

Open the php file you put into your extensions directory
add-to-any-share-save.php
About halfway down there is a section that has this code
   '<script type="text/javascript">a2a_linkname="' .$link_title. '";
    a2a_linkurl="' .$link_url. '";</script>';
			
return $markup;
Right before the closing

</script>';

Simply add

a2a_onclick=1;


So when you are done it looks like
   '<script type="text/javascript">a2a_linkname="' .$link_title. '";
    a2a_linkurl="' .$link_url. '";a2a_onclick=1;</script>';

			
return $markup;

See it in action

Monakhos

This fix works perfectly. Thanks! Syntaxbad 20:16, 28 June 2010 (UTC)

Thanks. That worked perfectly. Popups suck. The WordPress plugin version of this has a config option to get rid of popups. This also needs a parameter to relocation it to another part of the page. For those who need it on the bottom, bookmark.php extension puts this on the bottom but it also ads a redundant bookmark graphic.

How do i get this to work?

Ok so I followed all the instructions and my site still works without an error message so it must be installed correctly,now how do i add a share button to a page?

Can the Bar location be moved?

I have installed the extension (and the mouseover fix above) and it appears to work perfectly. However I'd love a way to control where on a page the bar shows up by default. I find it a little distracting to have right underneath the article title and was hoping it could be moved to be over on the right by default. Syntaxbad 20:18, 28 June 2010 (UTC)

I second moving the bar

In addition to being able to move the bar, I was wondering if instead of blocking the pop-up, can it just be delayed so that a quick pass of the mouse won't activate it, but a hover would?

Oh, and how can we customize the buttons that show? I would like Facebook and Twitter to show for sure. I found this code on the actual site, but don't know how to incorporate it into this extension.

a2a_config.prioritize = ["google_gmail", "facebook", "twitter"];

How to prioritize?

Same as previus message: I found this code on the actual site, but don't know how to incorporate it into this extension.

a2a_config.prioritize = ["google_gmail", "facebook", "twitter"]; --Tango granada (talk) 22:35, 2 November 2012 (UTC)