diggZ-Et - WordPress Plugin
May 23rd, 2008 - GorkfuI’m proud to announce our first WordPress plugin, diggZ-Et. It essentially displays a “digg” button for each post. I know some of you are thinking, “Oh great another Digg It plugin?”. Well yes it’s another Digg It plugin. I made this plugin primarily because every other Digg plugin has no settings in the admin. Guess what, this plugin does have admin settings!
Other Similar plugins by RSWR:
dzoneZ-Et plugin (dZone Buttons)
reddZ-Et plugin (Reddit Buttons)
This plugin’s admin settings are as follows:
- Hide Buttons from Home Page - (I made this because all the other Digg It plugins would slow down my home page and they really are only needed on the post’s page.)
- Hide Buttons on Individual Posts
- Hide Buttons on Pages
- Hide Buttons on Tag Pages
- Hide Buttons on Archives (This is all Category, Author and Date Based Pages)
- Button Position - Display on Top Left or Right or Bottom below text, on left or right
- Set Background Color - In Hex Format (EG. #FFFFFF)
- Set Skin Type - Choose from the Default, Compact and Icon Skins.
- Browser Window Setting - Choose if you want the digg link to load in same window or a new window.
- Summary - Choose between Manual and Automatic
- Media - Choose a media type; News, Video, Image
- Topic - Choose a topic from the list. (Too many to list here)
Admin Screenshots:


All I ask is that you credit this plugin (i.e. include a link to this page or maybe add a link to your WordPress Blogroll).
With that said, I would love to hear what people think. Any suggestions or comments you have, I’d love to hear them.
ChangeLog:
-
1.1.8 - August 7th 2008
- Can now choose the max number of characters for auto summary; 150, 250, 350.
-
1.1.7 - July 31st 2008
- Fixed IE6 bottom positioning issue.
-
1.1.6 - July 29th 2008
- Fixed an issue with Javascript Code being passed to some blog pinging services.
-
1.1.5 - July 22nd 2008
- Added preview image for all 3 digg skins in admin.
- Fixed promote option so it only shows the promotion links on pages and posts.
- Fixed some CSS issues involving bottom button alignment.
-
1.1.4 - July 19th 2008
- Fixed an issue where tags were not being removed correctly from Automatic Summaries. Thanks goes out to Christian Riesen for this fix.
- Fixed URL encoding issues with Automatic Summaries.
- Promotion link option added to admin (Thanks goes out to those that help support diggZ-Et).
- Cleaned up admin menu for organization and visual appeal
-
1.1.3 - July 3rd 2008
- Can now hide a Digg button on a single page or post. See F.A.Q. for more information.
-
1.1.2 - June 19th 2008
- Button Positions Reworked - Display Digg Button at top left or right or bottom below text, left or right.
-
1.1.1 - June 5th 2008
- New Media Scan See F.A.Q. for more information.
-
1.1.0 - June 2nd 2008
- New Button Position Option - Choose to display the button on the left or right of your text
- New Summary Option - Have a summary automatically sent to digg or choose to have the submitter create one
- New Hide Option - Hide Buttons on Pages
- New Hide Option - Hide Buttons on Tag Pages
- New Hide Option - Hide Buttons on all Archive Pages (This is all Category, Author and Date based pages)
-
1.0.2 - May 30th 2008
- Bug Fix: Fixed an issue with shortcode becoming broken when used in a post.
-
1.0.1 - May 29th 2008
- Cleaned up some code
-
1.0.0 - May 24th 2008
- Initial Release
Digg buttons brought to you by diggZ-ET (WordPress Plugin)
Tags: Digg Plugin, PHP Plugin, Plugin, WordPress Plugin
May 28th, 2008 at 12:42 pm
Thanks, great job !
May 30th, 2008 at 11:12 pm
This is a GREAT plug-in! I have tried others and they are junk. This one WORKS AND Works WELL!
Have a few suggestions:
1) Add an option for the Digg tag to appear on the Right OR Left side of Post.
2) MOST of my posts fall into the “Media” type of “News” so I have this set as default. SOME of my posts are Videos and are not going to post correctly due to the way the current “Media” option works. I suggest leaving the option like it is BUT adding a scan to look for a TAG in the post to change the “Media” type for that one post ONLY. A tag might look like this:
Thank You for your effort on this and keep up the GREAT work!
May 30th, 2008 at 11:17 pm
My tag did not show in the last comment I am altering it so it will be visiable here. I suggest using the standard HTML “Comment” tage format. For this example [ = .
A tag might look like this:
[!--digg_media=video--]
Thanks
May 30th, 2008 at 11:30 pm
Thanks for the suggestions Thom. They are really good suggestions. I will add them to my todo list.
June 1st, 2008 at 8:25 pm
This plugin is great, but is there a way to disable the button on regular pages, (I don’t mean posts). Thanks!
June 1st, 2008 at 11:25 pm
There isn’t an option to remove it from pages. To be honest I totally forgot to make that option. It’ll be in the next version for sure.
June 2nd, 2008 at 12:17 am
Awesome, thanks man!
June 2nd, 2008 at 12:51 pm
This breaks any page or post with a galllery on it, is there a fix?
June 2nd, 2008 at 1:57 pm
I fixed that bug in a previous release. Are you using 1.1.0 ? If so please tell me how your gallery is setup so I can verify the bug.
June 2nd, 2008 at 5:37 pm
1.1.0 is great, thanks for adding turning off digg on pages!
June 3rd, 2008 at 4:23 pm
Great job on the update. Works well and LOVE the new options. Still have the Media Type Issue. I am sure your working on it.
June 4th, 2008 at 7:39 pm
The media type tag fix will be available in the next version. Should be released in a day or two.
June 4th, 2008 at 7:43 pm
I’m also thinking about adding in support for Reddit buttons. Maybe an option to run them side by side or pick either or etc. I could always make a separate plugin for reddit but that seems a bit unnecessary. Would love to hear people’s comments on this.
June 5th, 2008 at 5:39 am
Is it possible for me to edit the php and add in the ability to use my own Digg icons? I’m using a very black theme, and the only one that looks decent is the shovel man, however it is just too small for my liking.
Let me know!
June 5th, 2008 at 11:45 am
Well it is possible to create custom Digg icons. I’ve seen it down before, the only problem is you’ll need two sets created if you want it to perform like the default icon. I don’t have a system set up to use custom icons just yet. Although I’m debating whether to create one or not.
June 6th, 2008 at 12:35 pm
Well IMHO, I think you should. I think this plugin would rock with that functionality. The only thing that keeps me from using it is that I cannot use a custom button(s).
I’d also like to ask, since I see that it pulls the icons from Digg.com, can I edit the plugin to pull another icon instead of the default ones you selected?
June 6th, 2008 at 12:50 pm
It pulls the icons through a JavaScript file. Digg itself I don’t believe has it setup to pass a variable to use custom icons. However, they do allow to just use a hyperlink which you could associate with your own icon. The only problem with that is the icon wouldn’t be able to display the data the default one has. (EG. If it was dugg or not and how many times it’s been digged.) I guess I’ll make that a possibility if people just want a button to match their website design and don’t mind losing those dynamic values.
June 6th, 2008 at 3:32 pm
any idea why it might display 2 buttons instead of one?
http://omploader.org/vamI3/untitled.PNG
June 6th, 2008 at 3:48 pm
That’s the first time I’ve seen that happen. Please reply on here or send a support request via our contact us page with a screen shot or explanation of your admin options. Also are you using the new media scan feature?
June 6th, 2008 at 3:55 pm
oops sry
http://img260.imageshack.us/img260/4201/13893300ir0.png
June 6th, 2008 at 4:04 pm
You could also try and deactivate all plugins if it’s not too much trouble and leave diggZ-Et activated to see if the problems remains. If the problem remains then we know it’s not another plugin causing the issue. If the problem doesn’t remain, could I get a list of the other activated plugins you’re using. Then when I get time I’ll test them out and see which may be causing an issue.
June 6th, 2008 at 4:11 pm
Thanks! It works now, it was the YARPP plugin.
“Yet Another Related Posts Plugin 1.5.1
Returns a list of the related entries based on keyword matches, limited by a certain relatedness threshold. Like the tried and true Related Posts plugins—just better! By mitcho (Michael Yoshitaka Erlewine).
Inactive Activate | Edit”
June 6th, 2008 at 4:37 pm
Ok, thanks for that info I’ll have to look into that and see what’s causing the issue.
June 8th, 2008 at 4:38 pm
I activated YARPP 1.5.1 on my test server with diggZ-Et today and it has no issues. I played around with all the options and still can’t get the bug to reappear. Any chance you can take a screenshot of your admin options for YARP.
June 15th, 2008 at 12:32 pm
This plug-in is FANTASTIC! Question, though: would there be any way to have the button placed on the BOTTOM of a post. This makes a bit more sense to me, since it’s when reaching the end of a post that someone decides whether or not to digg it.
June 15th, 2008 at 2:41 pm
I can add that in to the next version. I was thinking about that before. Do you think it should be at the bottom below all the text or positioned left or right at the bottom just as the top is? I mean I could just add in all 3 of those options, but I’m curious.
June 17th, 2008 at 12:41 pm
I was thinking just either left or right, just like at the top, only now allowing for those position options at the bottom.
June 17th, 2008 at 12:47 pm
… see if you look at a typical post on my site (http://www.vinikitas.com/blog/2008/06/villa-venezia/), I format it in a certain way: subtitle, then photo, then text body. Placing the full Digg button, regardless of the side, at the top of my posts would throw off alignment altogether and ruin the aesthetics. Right now, I’m using the compact version that sits in alignment with the subtitle, and doesn’t throw off alignment of the either the photo or the text body. However, I’d much prefer to use the full button.
June 18th, 2008 at 4:58 am
Hi all great information here and good thread to comment on.
I am an adict to training and really want to get to my best this year!
Can I ask though - how did you get this picked up and into google news?
Very impressive that this blog is syndicated through Google and is it something that is just up to Google or you actively created?
Obviously this is a popular blog with great data so well done on your seo success..
June 18th, 2008 at 12:58 pm
I didn’t know it was picked up in the Google news section. I think some blogs do get picked up into Google news if they are considered news. Although, I didn’t see any of my blog postings in Google News when I did a search after reading your comment.
June 18th, 2008 at 1:22 pm
Definitely can not wait to be able to put it at the bottom of the post. Otherwise this is a GREAT plug-in, thank you for your contribution.
June 18th, 2008 at 10:01 pm
Positioning the Digg button at the bottom poises many issues. If you want it with the text wrapped around it at left or right, it’s technically impossible without javascript, unless I overlooked something. As for positioning it below all the text that is simple enough. Positioning below the text will go in the next version.
June 19th, 2008 at 2:31 pm
New Version released today with option to position buttons at the bottom.
June 20th, 2008 at 1:02 pm
This plugin is great - so much easier than handcrafting it as I was doing before.
I did have one odd behavior though that I thought you might be interested in seeing — check out my post here: http://almostfit.com/2008/06/18/20-tactics-to-kill-the-fast-food-habit/
In both FF3 and IE6x I get double digg buttons (two) generated automatically within an individual post. Not sure why - Any ideas? The code looks identical for each button so I’m thinking it must be something inside the script, but not sure.
Thanks!
June 20th, 2008 at 1:47 pm
Two others had this issue in the past with other plugins being the culprit. Try deactivating all other plugins and leave diggZ-Et activated and see if the problem still exists. If another plugin is causing the problem please post which so I can look into it, thanks.
June 20th, 2008 at 2:02 pm
@Gorkfu: Cool - I found it. Problem goes away when I disable Yet Another Related Posts Plugin (YARPP), which is from these guys: http://mitcho.com/code/yarpp/
Now I just need to find, er, yet ANOTHER related posts plugin….
June 20th, 2008 at 2:19 pm
That plugin was reported before and when I last checked it I could not get it to show double icons on my test server no matter what I did with the options. Could you take a screen of your options for YARPP or reply with how you had it setup. I’d really appreciate it, thanks.
June 20th, 2008 at 2:29 pm
Here are my settings:
V 1.5.1
Max related posts: 5
Match threshold: 5
Cross-relate posts and page? NO
Automatically display related posts? YES
Before/after related entries: Related posts /
Before/after each post: /
Default display if no results: No related posts.
Show password protected posts? NO
Show only previous posts: YES
Show admins (user level >8) the match scores YES (BTW, not sure what that means)
Hope that helps -
June 20th, 2008 at 2:31 pm
looks like some got stripped out.
I substituted the html markup with bracketed pseudo tags…[tag]
Before/after related entries: [p tag]Related posts [ordered list tag] / [close ol] [close p]
Before/after each post: [list item tag] / [close list item]
Default display if no results: [p tag]No related posts.[close para]
Show password protected posts? NO
Show only previous posts: YES
Show admins (user level >8) the match scores YES (BTW, not sure what that means)
June 20th, 2008 at 5:40 pm
@metroknow: Thanks, I found the problem. It’s bizarre that it only showed up on one of my servers though. The problem lies with the option, “Automatically display related posts?”. If that is checked it causes WordPress to loop twice which in essence is an incorrect way to do a plugin. It essentially loads the post’s content on the first loop and then searches through on the second loop to find related posts.” In effect causing two Digg buttons to appear.
June 20th, 2008 at 10:28 pm
Awesome - glad to help. It’s a great plugin.
Best -
Metroknow
http://www.almostfit.com
June 21st, 2008 at 2:29 pm
@Gorkfu: I just today had the chance to check back here, to discover you’d released a new version allowing the bottoms now at the bottom of the post. You are AWESOME! Thanks so much! I understand the complexities of wrapping text around the button; no biggie. I’m VERY happy now to be able to have the buttons on the bottom now! Thanks again! Yay!
June 21st, 2008 at 5:23 pm
@Nikitas: No problem, I’m just glad people are getting good use out of it. Now to figure out what my next WordPress plugin will be…
June 26th, 2008 at 4:52 pm
Nice plugin! But, I have a little problem. When it is activated and you edit a post and save, the blog tries to go to http://www.cheatseekingmissiles.com/wp-admin/post.php and instead of that auto-referring to edit.php the screen hangs as a blank screen. If I deactivate the plugin the blog works properly.
Any clues?
June 28th, 2008 at 2:21 am
Hmm, I’m not sure what could be causing that. Have you tried deactivating all other plugins and leaving only diggZ-Et activated to see if the behavior still exists?
June 29th, 2008 at 8:44 pm
Hey Gorkfu, like everyone else, I’m going to echo “Great plugin”!
I submitted my first post to DIGG tonight and the auto-generated summary was all messed up. Like it included %2c or something everwhere I had made an edit (read: Typo and hit backspace) as part of the description. Strange.
Anybody else seen or reported this?
June 29th, 2008 at 9:18 pm
That is URL encoding. It shouldn’t be showing URL encoded characters. It is only suppose to be passed as URL encoded and then converted to ASCII coding. I’ll check it out tomorrow and see if I can see what’s going on.
June 30th, 2008 at 1:18 pm
I tried deactivating each of the others one-at-a-time while leaving diggZ-et on and the same problem happened. It’s not my blog so I’ll have to go into the site late at night and turn everything off and turn this one back on to see what happens. I’ll let you know.
July 15th, 2008 at 9:09 pm
Now with the new release of WordPress 2.6 if you find any bugs with diggZ-Et please post about it here. I’ll do some testing on my own, but it doesn’t look like they changed much let alone anything with the plugin system.
July 18th, 2008 at 2:35 pm
I would like to note that the new version of the YARPP plug-in no longer causes any known issues with diggZ-Et. You can get YARPP 2.0 here.
July 21st, 2008 at 7:28 pm
For those that requested it, I’ll be releasing plugins very soon for reddit and dZone buttons.
July 23rd, 2008 at 7:15 am
Thanks, this is exactly what i was looking for.
July 23rd, 2008 at 12:21 pm
do you really want to encourage digg users onto wordpress sites? on digg wordpress is a synonym for ‘cannot establish connection to database’
July 23rd, 2008 at 12:47 pm
I’m not trying to encourage anyone to do anything. I’ve created this plugin because there was a need. That is the only reason.
July 24th, 2008 at 5:06 am
[...] diggZ-Et: adds a Digg button to your blog, you can choose where to display. This is a personal choice, because I like Digg. [...]
July 25th, 2008 at 9:29 am
hey, nice plugin except i need to get this postioned exactly where i want it on the single.php file, and not positioned from the admin panel (e.g. Left, right).
is there a function where i can call it in the single.php anywhere i want.
again great plugin but i feel its only missing this bit. thanks
July 25th, 2008 at 10:27 am
Are you meaning you want to be able to place it anywhere when making a post or page? Or are you meaning anywhere in a template file?
There’s currently no function to do either but they are good ideas, I’ll add them to my todo list.
July 28th, 2008 at 3:32 pm
I like your plug-in. It worked well for me, but I had to deactivate it because it was inserting lots of code into my Feedburner RSS feed. Can you eliminate that?
Also, when I used the compact icon at the end of the blog post it would show up in the right place sometime and in the middle of a post at other times. Multiple users reported this and it only seemed to happen in IE, not Firefox.
July 28th, 2008 at 4:57 pm
@Chris; Thanks for the feedback. It shouldn’t be inserting code into feedburner anymore, that looked fixed when I tested it last, I’ll recheck that though.
I’ll be sure to fix the icon problem too.
July 29th, 2008 at 12:19 am
The JavaScript problem has been fixed and will be in the next release for tomorrow. I forgot about the IE6 bug with absolute positioning and will fix that also.
July 30th, 2008 at 11:51 am
Brilliant plugin.
One suggestion. If a reader visits a blog post through a link containing an anchor (http://www.myblog.com/my-latest-blog-post/#comments for example), the plugin ought to strip the #comments anchor before passing the URL any further. As it works currently, if http://www.myblog.com/my-latest-blog-post/ has a bunch of diggs already, the digg badge will still show up as if the post hasn’t been dugg yet.
July 30th, 2008 at 3:07 pm
@Mike; Great suggestion, but it doesn’t seem to be effecting this blog. I’ll still look in to, I’m not sure why it effects your blog and not mine. If you want you can send me your blog link where this happens via http://www.rswr.net/contact-us/
August 4th, 2008 at 10:30 am
Hello,
I really love your plug-in, it’s great, but is there a way to remove it from the RSS feeds on http://feeds.feedburner.com/FireflyInJapan? It’s also being displayed in my 5 latest posts on http://firefly.your-japan.com.
Thanks a lot!!
August 4th, 2008 at 12:07 pm
It used to show it as broken code in feedburner and really feedburner shouldn’t pick up JavaScript at all, yet it does. I’ll see if there’s a way to remove it, but it’s unlikely.
August 4th, 2008 at 2:19 pm
Well the only way I see possible to remove the buttons from feedburner on feedburner’s side is to toggle off, “Landing page renders as a web page in all browsers” on the Browser Friendly Optimization page. Although, I would recommend keeping it set to render as a web page. At least the buttons point to the correct pages.
August 6th, 2008 at 10:56 am
Hey There, I love your plugin.
I have been having some problems I want to share with you. Maybe you can help me with a solution.
The first one, after I digg the first post the digg buttons for the next two post link to the first digg. So if I digg post #1, post #2 and #3 digg links go to post #1 digg address. The digg results also reflect post #1.
The second issue, I specify to change the background of default digg icon but it never changes.
Thanks
August 6th, 2008 at 11:17 am
@Sir Robbie Rob;
1. I looked at your blog and it really is F’ed up with the buttons. Especially your first post which looks like it was submitted twice under two posts. I’m not sure why it’s doing this but I think it may be your theme causing the issue.
Can you try reverting to default wordpress theme just for a few seconds during a time when you don’t have many visitors to see if the problem still persists?
2. Are you changing the background color in Hex? (EG. #FFFFFF)
Edit: After looking at your blog again I just noticed only your first button shows a white background. The rest correctly display it.
August 6th, 2008 at 2:16 pm
I just tried the the Classic theme and the default one. Both themes saw the same problem. I think tonight I will uninstall the plugin and install again. Hopefully the problem will go away.
Do you have any ideas about what could be causing it?
August 6th, 2008 at 2:19 pm
It could be caused by another plugin or another snippet of JavaScript somewhere that is interfering with diggZ-Et’s javascript.
August 9th, 2008 at 6:10 am
Great plugin!!! Thanks. I have been looking for weeks for a plugin that I can add to my blog that will display the Digg button. Your’s works the best!
August 14th, 2008 at 11:51 am
I’ve been using the plugin for a quite a while now and really like it, but I was wondering if there is a way to manually disable it in a single post. I have a couple of posts here and there that I’d like to disable the button on, but I want to keep them on the rest of the posts. Is there a tag I can add to suppress it?
Thanks much, and great work!
August 14th, 2008 at 12:39 pm
@Metroknow; To hide a button in a single post refer to the first admin image above or the FAQ.
August 14th, 2008 at 12:45 pm
Thanks - my apologies for missing the obvious!
August 14th, 2008 at 1:38 pm
@Metroknow; No Problem. I like your blog, you got some nice articles on nutrition in there, keep up the good work.