How To: Add a “pligg it” button to your webpage!
Found this neat little feature in Pligg that allows you to easily add a link to Pligg. The simple code can be expanded so you can add a button to your webpage that allows it to be easily submitted to Pligg. It’s not world-shattering, nor is it an unusual feature to find.
However, if your a Redbrick Member you could add this piece of code to any of your webpages that would all you or another Redbrick user to submit it to Pligg.
If you want, you can replace “document.location.href” with an explicit URL. I guess what we really need is a icon for Redbrick Pligg!
I’m considering adding it to Planet Redbrick and Redbrick Wiki. Is it a good idea? I could package it up in a Wordpress plugin but I don’t know how many Redbrick Bloggers use Wordpress.
The same also applies for Game Crafter’s Guild’s Pligg, however this Pligg is specifically for Gaming and Roleplaying related content, and we don’t have an icon either!
Guest
March 5th, 2008 at 2:42 am
Thanks! This helped me create a add to button for my site I modified your code a bit to get what I needed.
Administrator
March 6th, 2008 at 10:20 am
Thanks MovvBuzz!
I think the code you put in your comment got filtered out, so here it is:
<a href="q=(document.location.href);void(open('http://www.movvbuzz.com/submit.php?url='+escape(q),'','resizable,location,menubar,toolbar,scrollbars,status'));" title="MovvBuzz" rel="nofollow"> </a>Guest
August 18th, 2008 at 11:26 pm
I am getting this error:
URL is invalid or blocked: (’ escape(q),”,’resizable,location,menubar,toolbar,scrollbars,status’));)
Administrator
August 21st, 2008 at 9:01 am
I don’t know if the code above is still useful for the latest version of Pligg, however the Pligg linked in the code has been shut-down and removed ages ago, so it’s URL is not valid any more.