Jump Menu : Content | Explore | Comments | Search | Home | Sitemap | Contact | Login | Access.

AddMySite Plugin for WordPress

Compatible with WordPress 2.3!

The AddMySite (AMS) plugin for WordPress makes it easy for your visitors to add your site to all of their favorite social-bookmarking services. With a few clicks, users may easily bookmark or add your site to any number of popular social bookmarking services, which are concisely presented via drop-down menu or as a customizable list. One file. Simple installation. Easy to use. Clean output and XHTML strict.

New! — Widgetized AMS version 0.88 now available! The new widgetized version of AddMySite makes it easier than ever to add your site and feed to 40 sites! AMS version 0.88 features 25 social-bookmarking sites to which visitors may add your site. Even better, the new version of AMS also enables visitors to add your site’s syndicated feed to 15 feed-related/aggregator sites. That’s 40 ways to expand your online empire!

Super-easy installation instructions

  1. Upload plugin to plugins directory and activate.
  2. Drag and drop the AMS widget into your sidebar.
  3. Enjoy! ;)

Demonstration

To see AddMySite (AMS) in action, look here (located near the middle of the page).

Download AddMySite (AMS) [ version 0.88 (widgetized) | ~5KB | .zip | 568 downloads ]

Previous versions of AMS

Related articles

About this article

This is article #233, posted by Perishable on Wednesday, November 01, 2006 @ 12:45am. Categorized as WordPress, and tagged with bookmarks, download, feeds, links, plugin, update, upgrade, website, WordPress. Updated on November 05, 2007. Visited 28832 times. 65 Responses »

BookmarkTrackbackCommentSubscribeExplore

« Theme Edits for IE7 • Up • Stop Bitacle from Stealing Content »


65 Responses

1 • November 24, 2006 at 6:04 am — mtb says:

Can you inform me how to get it to work with small icons like you have on the left?

Thanks.

2 • November 26, 2006 at 1:18 pm — Perishable says:

The functionality behind the icons to the left derives from the Sociable plugin for WordPress. The icons themselves are custom chunks pimped especially for perishablepress.com, but feel free to help yourself to any or all of them.

3 • December 29, 2006 at 1:06 am — Uncle Bri says:

Awesome plugin. I’m installing it after I’m done commenting.

4 • January 8, 2007 at 5:56 pm — jack says:

Nice site actually. Gone to my favourites. Thanks for creation.

5 • January 21, 2007 at 4:22 pm — mike says:

These instructions are as simple as A,B,C. Yet I’m having a problem with step 3.

When I put this call:

in my sidebar.php file, I get this error appearing in the blog’s sidebar:

Fatal error: Call to undefined function ams_dropmenu() in the sidebar of the blog

The instructions are simple, So I’ve quickly exhausted all of the possibilities where I may have messed up, but I don’t know squat about php. Any chance you might see a glaring error I’m missing?

Thanks.
m

6 • January 21, 2007 at 7:02 pm — Perishable says:

mike,
WordPress "ate" the code you included in your comment, so I can’t tell if the function call is the issue. However, the error message indicates that the plugin is not properly activated, and thus the function cannot be found. There are number of reasons why this might happen — corrupt file, missing plugin, wrong directory, etc. — so you might try deleting all instances of the plugin, downloading a new copy, and starting over. The call to include in your sidebar should look like this:

<?php ams_dropmenu(); ?>

or this:

<?php ams_listmenu(); ?>

..depending on the desired output.

Let me know if you are still having problems, and I will do my best to help you.

Cheers,
Jeff

7 • January 21, 2007 at 9:51 pm — mike says:

Wordpress ate the code or, more likely, I forgot to paste it in… but what I’m using seems to be correct:

I’m actually just copy and pasting that from your instructions to avoid typos.

I did the reinstall as you suggested and the problem persists so I’m pretty sure, as simple as this is, I’m managing to misunderstand something.

I should note that I’m attempting to enable this plugin on a Wordpress account that is installed on my ISPs server not on a wordpress server. I don’t know if this makes a difference, but since it appears that the call can’t find the ams_dropmenu function I also tried to insert a path to the appropriate directory like this:

This didn’t work either, but I suspect the problem has something to do with a path issue as WP is set up on my server. Here’s how that looks:

public_html/blog/wp-content/themes/default

Of course, the plugin directory is in wp-content and this is where I’m placing your plugin. I then go through a browser to admin (plugin) page on my blog to activate your plugin.

Now here’s where i think something may be incorrect: I’m using the default WP skin and within the default directory is where the sidebar.php file resides where I am adding this code:

This seems like the right place as it does break the sidebar menu when i go out to look at the blog on a browser.

You can probably tell, I’m in unfamiliar territory. I’m a decent photographer and a sorry computer technician.

I do appreciate your time and knowledge very much.

Best,
Mike

8 • January 21, 2007 at 9:59 pm — mike says:

Hey,

I guess something is eating the code snippets I cut and past into this forum.
I pasted this in a couple of times in the preceeding post:

Maybe I shuold be typing that code into the sidebar.php file with bbedit as well. Something else to try….

m

9 • January 22, 2007 at 7:52 am — Perishable says:

mike,
To post code in the comments section, it helps to wrap each line with <code> tags to help WP distinguish it from ordinary text (it doesn’t always work, but it helps).

As for the plugin issue itself, have you successfully installed other WP plugins on your site? If not, that may help determine if the problem is path related. Also, have you tried placing the function call on the theme’s index.php file? If not, try placing the function call both before and after the loop (hey, you never know). If it works in the index.php file, then the issue may involve the theme itself. In that case, you may want to check the plugin with a different theme. Some of these things may help shed some light on the situation..

Let me know how it goes!

10 • January 22, 2007 at 10:44 pm — mike says:

Well, this is my first plugin I’ve tried to add so there’s no experience to fall back on (I’m new to blogging).

I got the same error message when I tried to put the call in the theme’s index.php file. I also, tried this with two other plugins and got the same result which makes me feel pretty sure there is something messed up with how I have wp set up.

I haven’t tried this with another theme yet. I’ll have to get to that when I have a few hours in the clear.

What seems foggy is that I put this function call:
<?php ams_dropmenu(); ?>

in the sidebar.php file which resides in:

public_html/blog/wp-content/themes/default

While the AddMySite.php file is here:

public_html/blog/wp-content/plugins

I’ve tried variations on the call like:

<?php ams_dropmenu('../../plugins'); ?>

and

<?php ams_dropmenu('../../plugins/AddMySite.php'); ?>

I just don’t get how the call locates the function without a path to it,but I must admit I’m in unfamilure territory and learning as i go.

One thing is certain… there is no way I’m gonna give up.

Many thanks for your support.

Mike

11 • January 24, 2007 at 9:00 am — Perishable says:

mike,
Your determination is inspiring! I can’t tell you how many times I have been completely stuck with some unexplainable mystery involving PHP, JavaScript, htaccess, and the like. It’s the challenge of the whole web thing that really keeps me glued. Good luck!
Jeff

12 • January 27, 2007 at 8:45 am — Dave says:

I’m having the same problem as Mike. I like the plugin, and have installed many others in the past 2 weeks since I started my blog. This definetly seems like an easy one, yet it’s eluding me!

Dave

13 • January 27, 2007 at 3:22 pm — mike says:

Hi Jeff,

As a test, I’ve installed WP locally on my Mac using its Apache server. I installed your plugin as per your instructions and get the same error as on my remote server.

I’m putting the AddMySite.php file into:
Library/webserver/documents/wp-content/plugins

On both servers when i go to activate I find the plugin is activated, but I turn it off and back on just to be sure.

I then put:
<?php ams_dropmenu(); ?>
here:
Library/webserver/documents/wp-content/themes/default/sidebar.php

I just thought you might be interested in my latest experiement.

still trying,
Mike

14 • January 28, 2007 at 12:44 pm — Perishable says:

okay, now you two have piqued my interest. the AMS plugin works perfectly on many other blog setups and yours should be no exception. perhaps there is something within the plugin itself that conflicts with certain sites and/or directory configurations. i will definitely look into this soon, and report back here any findings or follow-up questions, etc. i appreciate your diligence and help with the development of my AMS plugin. stay tuned..

15 • January 28, 2007 at 10:40 pm — mike says:

For what it’s worth, I just tried one of the other plugins I downloaded on the local server wp install with the same result.

Therefore, I’m not convinced the problem lies with your plugin (and the other), but I sure am stumped.

There error message appears in the side bar of the blog like this:

Fatal error: Call to undefined function ams_dropmenu() in
/Library/WebServer/Documents/bloglocal/wp-content/
themes/default/sidebar.php
on line 43

The function is "undefined" but I don’t know how the heck to define it.

Thanks for your interest.

Mike

16 • January 29, 2007 at 7:22 am — Perishable says:

Mike,
one way to define the function is to do it explicitly by including it on the same page as the function call. then, assuming it is properly included on the page, there is no question as to its location. if have yet to try this, copy and paste the entire page (i.e., everything between and including the first and last enclosing php tags) right above the function call in your sidebar. upload and check. if the function works, we have more clues and can eliminate the plugin as the culprit..

17 • January 30, 2007 at 9:25 am — mike says:

viola!

This makes it work… now I just need to figure out how to call that function when is resides in the plugins folder.

Btw, It’s just on a test page now, but your plugin looks very nice sitting in the sidebar like it should.

Many Thanks for your help here… I suspected a path issue but I have yet to figure out how to modify the call to make it look in the plugins folder.

Mike

18 • January 30, 2007 at 11:14 am — Perishable says:

Yes!

Ahh, that is good news indeed. I am glad that the plugin itself is compatible with your system configuration.

Also, keep in mind that including the AMS dropdown menu (or the list) on your web page(s) does not require PHP (or even WordPress) to function properly.

To do this, simply view the source code of the test page that is displaying correctly the AMS function (i.e., either the dropdown menu or list). Then simply copy the entire block of AMS code (everything within and including the <form> or <ul> tags) and paste into the desired location on your WP page(s).

The plugin merely automates this process. The resulting (X)HTML is identical regardless of inclusion method.

The only downside is that the copy & paste process would have to be repeated for any subsequent AMS plugin updates.

Cheers,
Jeff

19 • January 30, 2007 at 3:42 pm — mike says:

…and the saga continues. The plugin works great on my local server (apache) with the prescirbed configuration. Thank You very much for bringing me this far.

Unfortunately the same approach doesn’t work when I deploy it on my ISP’s server. There are no error messages, but the plugin doesn’t show and nor does anything else in the sidebar menu below where I add the plugin and function call.

The discussion now moves to my ISP’s support people, but I thought I’d mention it on the chance that you might visit my blog and wonder what is up?

So close i can taste it!

Mike

20 • January 31, 2007 at 3:56 pm — Perishable says:

Sounds good, Mike. Keep us in the loop regarding this issue — you never know who else may find this information useful. Also, good luck with the ISP support people, you may need it! Either way, have fun with your blog — it is quite enjoyable to read.

Jeff

21 • February 5, 2007 at 9:13 am — Wiz Rollins says:

Thanks for the code, man! Was a cinch to plugin and it works great. Props!

22 • February 5, 2007 at 10:02 am — Perishable says:

Our pleasure.. Thanks for the shoutz!

23 • April 10, 2007 at 3:25 am — Andre says:

Hello,

I’ve just installed your code and the results are great. Thanks very much!

Now, I have a question…

I’ve just read that numerous links to social sites can “damage” one’s Google pageranking. He says that in order to avoid that, either javascript should be used, or one should have “nofollow” next to the links.

Have you heard of that before?

Once again, thanks for the plugin.

24 • April 10, 2007 at 10:24 am — Perishable says:

Andre,
I have not heard of PR damage due to excessive linkage to social bookmarking sites per se. However, I have read that too many outgoing links in general may decrease a site’s PR value. Keep in mind that a "link" in this case is defined by the presence of an anchor element (<a>). JavaScript often is used to "hide" convoluted code and excessive outgoing links from the search engines. The nofollow element is perhaps the simplest method of protecting PR, but it remains frowned upon as bad practice in many circles. Nonetheless, the AddMySite plugin employs a dropdown list that does not contain any anchor elements whatsoever. Thus, using nofollow to exempt the URL data is not even a possibility. I suppose you could use JavaScript to hide the dropdown list altogether, but that would not be necessary as it has yet to be shown that search engines penalize PR for form elements or list options. In any case, I am glad that you have found the AMS plugin useful — thank you for the positive feedback.
Best regards,
Jeff

25 • April 10, 2007 at 4:10 pm — Andre says:

Jeff,
Just wanted to say Thank You for the lengthy reply.
I believe it’s all clear now.
Best,
Andre

26 • April 19, 2007 at 5:23 am — Kathie M. Thomas says:

I believe I’ve done what I’m supposed to, i.e. edited the variables and then uploaded the plugin but when I went to activate it I got thise error:
Parse error: syntax error, unexpected T_CONSTANT_ENCAPSED_STRING, expecting T_VARIABLE or ‘$’ in /home/soholif/public_html/blog/wp-content/plugins/AddMySite.php on line 110

What have I done wrong?

27 • April 22, 2007 at 8:55 am — Perishable says:

Kathie,
The specified parse error indicates missing characters and/or incorrect syntax. My advice? Uninstall the file, download a fresh copy, and try again. Be very careful when editing the variables — PHP is hyper-sensitive when it comes to proper syntax.
Jeff

28 • April 27, 2007 at 12:29 pm — Seth says:

Awesome plugin. Thanks much.

29 • April 30, 2007 at 10:59 pm — marlon says:

I was curious how easy would it be to convert this script to work on my gaming site?

30 • May 1, 2007 at 7:34 am — Perishable says:

Is it safe to assume that your gaming site is a non-WordPress site?

31 • May 10, 2007 at 4:30 pm — Tyler Hauser says:

I would really like to try out this plugin but whenever I try to download it I get this…

WordPress database error: [Got error -1 from storage engine]
SELECT DISTINCT * FROM wp_posts LEFT JOIN wp_post2cat ON (wp_posts.ID = wp_post2cat.post_id) WHERE 1=1 AND post_date_gmt <= '2007-05-10 23:27:59' AND (post_status = "publish") AND post_status != "attachment" AND category_id <> 26 GROUP BY wp_posts.ID ORDER BY post_date DESC LIMIT 0, 11

Warning: Cannot modify header information - headers already sent by (output started at .../press/wp-includes/wp-db.php:104) in .../press/download-manager.php on line 19

Warning: Cannot modify header information - headers already sent by (output started at .../press/wp-includes/wp-db.php:104) in .../press/download-manager.php on line 20

I’m using Safari on my iMac G4 running OS 10.4.9. Something I’m doing wrong?

32 • May 10, 2007 at 5:12 pm — Tyler Hauser says:

Now I’m having quite the time simply viewing your site, so sorry about the double post.

33 • May 10, 2007 at 8:20 pm — Perishable says:

I am completely baffled by the error message — never seen or heard of it before.. unfortunately, i am unable to spend any time investigating until early next week. in the meantime, I have taken the liberty of sending you the zipped copy of AddMySite via email. Thank you for taking the time to share this information.

34 • May 10, 2007 at 9:01 pm — Mark says:

I like the concept, but from my tests it appears that I can only add my site (as the name would imply) and not my post, correct? If not, then how can I have visitors add a particular post to whatever community they wanted?

35 • May 15, 2007 at 12:36 pm — Perishable says:

Mark,

There are many options for sharing posts with the various bookmarking services. I would recommend Alex King’s Share This plugin. There is also the excellent addthis.com service, which does all the dirty work for you! As soon as I find the extra time, I plan to add "individual-post-adding" functionality to the AddMySite plugin, along with several other nifty improvements. Cheers!

36 • June 11, 2007 at 12:30 am — kevstelo says:

I think I’ve read something simillar a few days ago. I don’t remember where, might have been on digg.com or slashdot.

37 • July 19, 2007 at 11:48 am — Anthony says:

I like the idea of using this plugin but I am not too sure what to put in the $your_site_feed variable as I don’t know much about using feeds as yet, especially how feedburner works.

What should I put in this variable for now until I know a bit more?

Thanks for any help.

38 • July 22, 2007 at 9:18 am — Perishable says:

Hi Anthony,

Looking at your site, I would suggest using http://saveyourmarriage.co.uk/feed/

That will enable visitors to add your site’s main RSS feed to any of the various aggregator sites (such as Google Reader, Bloglines, etc.).

Let me know if you need more info..

39 • July 25, 2007 at 2:56 pm — Anthony says:

Perishable. Thanks for your advice on what to put in the feed variable. I have now got a feedburner account so I can put that in.

By the way, I like your site.

40 • July 25, 2007 at 4:40 pm — Perishable says:

Thank you for the kind words, Anthony — you are most welcome. Keep up the excellent work on your site. I am sure it will be a valuable resource for people in need.

41 • August 9, 2007 at 5:11 am — Paulo says:

Hi, thanks a lot for this plugin, I have downloaded and installed in my website and it works great! I only have one question, I have put function call - drop menu - in the sidebar.php, but I would also like to be able to “move it” with my sidebar widget. Is that possible?!

42 • August 11, 2007 at 7:49 pm — gio says:

Thanks for sharing this nice plugin.

43 • September 4, 2007 at 12:56 am — Tony says:

Hi, is it possible to enter this code into the “text” of wordpress?

For example, when in the presentation menu, on widget, and you create a text widget. Is it possible to put this code in the text widget? Thanks

44 • September 4, 2007 at 9:46 pm — Perishable says:

Thank you all for the feedback! It seems that there is quite a demand for a “widgetized” version of the AddMySite plugin. Of course, I will look into this as soon as time allows and attempt to integrate such functionality into the next AMS update. Stay tuned.. ;)

45 • September 19, 2007 at 8:46 pm — super says:

hi ive tried to use it on my website http://www.ladicakes.com but i couldnt managed!but i know its really a great widget! i ll try again this night hope it works! great job! thank you

46 • September 22, 2007 at 8:56 pm — Perishable says:

Interesting site you have there, super. I like the nifty JavaScript “to-do” list. Good luck with the plugin; I hope you figure it out. Let me know if I may be of any assistance.
Cheers,
Jeff

47 • October 24, 2007 at 12:15 am — Jenny Lens says:

I am using Tiga theme, recently updated for WP 2.3. The ONLY way I have been able to add anything to any sidebar is via pasting code into a text widget. Perhaps there’s something missing from the code provided to implement in now? Whatta drag, cos this is an AWESOME plugin!

I wanted to put it under the Subscribe button, above my Categories on the right sidebar, if you wanna check it out. I know you are busy, so I don’t expect anything. Thanks anyway!

48 • October 24, 2007 at 2:54 pm — Perishable says:

Alright, apparently I need to release a widgetized version of AddMySite. I am currently buried in work, but will take time out for it this next weekend. I will post an article and update the comments the very second a widgetized version of AMS is available. Promise ;)

49 • October 29, 2007 at 12:26 pm — Perishable says:

New widgetized version (0.88) of AddMySite now available! Fully compatible with WordPress 2.3+ and completely widgetized. Grab a copy via the official download link in the article above and give ‘er a spin!

50 • December 19, 2007 at 8:58 pm — JabberWocky says:

I just installed the AMS widget to my site. LOVE IT. But I need to change the font color on the text so it isn’t black and is legible in my sidebar.

Is there a quick and easy way to get the span tag around my text? Thanks in advance…

51 • December 21, 2007 at 12:54 pm — Perishable says:

JabberWocky,

Glad you like the plugin :) To change the font color, you do not need to add any code, simply take advantage of the built-in CSS hook provided in the markup. To style the form in general, apply CSS to the #ams_dropmenu selector like so:

#ams_dropmenu {
     border: thin solid white;
     margin: 1.5em 0em;
     color: white;
}

Then, to apply styles (such as font color) to the option text, you would write something like this in your CSS file:

#ams_dropmenu option {
     background-color: black;
     color: white;
}

Etc. I hope that helps — let me know if you still need help with this.

Regards,
Jeff

52 • February 12, 2008 at 11:01 pm — Annie says:

Perhaps there’s something missing from the code provided to implement in now?
I have taken the liberty of sending you the zipped copy of AddMySite via email

53 • February 13, 2008 at 10:19 am — Perishable says:

Okay, Annie — I will keep an eye out for your email! Note that I have not yet received it..

54 • March 9, 2008 at 7:26 am — Kyle James says:

Looks like a nice plugin. I’m definitely going to have to give it a shot on one of my sites. Thanks.

55 • April 13, 2008 at 8:57 am — Peterson Mark says:

Nice pluggin for wordpress. But I dontknow why one need to add one site to more than 40 bookmarking sites. in practive one user may be using one bookmarking site like del.icio.us or technorati etc. But there are some pluggins which posts each posts in all major social bookmarking sites. In what way this plugin differs from that pluggin. Bcause i dont want to install all the pluggins to my blog and try them. I may be wrong too.

56 • April 15, 2008 at 10:06 am — Perishable says:

Yes, you are correct, there are many different plugins, services, and scripts from which to choose when it comes to bookmarking your site and posts at the various social services. To learn more about the functionality of the AddMySite plugin, read the post above and feel free to ask if you have any specific questions. I think it’s pretty straightforward — AMS presents either a drop-down menu or a list which users may use to add your site to their favorite social bookmarking services. I hope that helps! :)

Drop a comment

Trackbacks / Pingbacks

  1. Need a CMS? Try Wordpress.
  2. WP Plugins DB » Plugin Details » AddMySite (AMS)
  3. WordPress Experiments » Bookmarks
  4. Paint Nailish » Plug-in Hell…
  5. ahelms.com » ahelms.com update - new plugins
  6. WordPress Experiments » Bookmarks
  7. Wordpress插件:AddMySite AMS | 帕兰的口袋
  8. AddMySite Plugin for WordPress | David Bisset: Web Designer, Coder, Wordpress Guru
  9. WordPressでポッドキャストを始めるまでの道のり - おそろしくあいたかざあな

Set CSS to lite theme
Set CSS to dark theme