diggZ-Et - WordPress Plugin

May 23rd, 2008 - Gorkfu

I’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!

Download diggZ-Et Here

Other Similar plugins by RSWR:

dzoneZ-Et plugin (dZone Buttons)

reddZ-Et plugin (Reddit Buttons)

This plugin’s admin settings are as follows:

  1. 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.)
  2. Hide Buttons on Individual Posts
  3. Hide Buttons on Pages
  4. Hide Buttons on Tag Pages
  5. Hide Buttons on Archives (This is all Category, Author and Date Based Pages)
  6. Button Position - Display on Top Left or Right or Bottom below text, on left or right
  7. Set Background Color - In Hex Format (EG. #FFFFFF)
  8. Set Skin Type - Choose from the Default, Compact and Icon Skins.
  9. Browser Window Setting - Choose if you want the digg link to load in same window or a new window.
  10. Summary - Choose between Manual and Automatic
  11. Media - Choose a media type; News, Video, Image
  12. Topic - Choose a topic from the list. (Too many to list here)

Admin Screenshots:

Admin Settings (First Half)

Admin Settings (Second Half)

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: , , ,


74 Responses to “diggZ-Et - WordPress Plugin”

  1. jocuri Says:

    Thanks, great job !

  2. Thom Says:

    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!

  3. Thom Says:

    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

  4. Gorkfu Says:

    Thanks for the suggestions Thom. They are really good suggestions. I will add them to my todo list.

  5. John Says:

    This plugin is great, but is there a way to disable the button on regular pages, (I don’t mean posts). Thanks!

  6. Gorkfu Says:

    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.

  7. John Says:

    Awesome, thanks man!

  8. Anthony Damasco Says:

    This breaks any page or post with a galllery on it, is there a fix?

  9. Gorkfu Says:

    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.

  10. John Says:

    1.1.0 is great, thanks for adding turning off digg on pages!

  11. Thom Says:

    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.

  12. Gorkfu Says:

    The media type tag fix will be available in the next version. Should be released in a day or two.

  13. Gorkfu Says:

    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.

  14. n@venedrob Says:

    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!

  15. Gorkfu Says:

    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.

  16. n@venedrob Says:

    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?

  17. Gorkfu Says:

    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.

  18. Anon Says:

    any idea why it might display 2 buttons instead of one?

    http://omploader.org/vamI3/untitled.PNG

  19. Gorkfu Says:

    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?

  20. Anon Says:

    oops sry

    http://img260.imageshack.us/img260/4201/13893300ir0.png

  21. Gorkfu Says:

    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.

  22. Anon Says:

    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”

  23. Gorkfu Says:

    Ok, thanks for that info I’ll have to look into that and see what’s causing the issue.

  24. Gorkfu Says:

    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.

  25. Nikitas Says:

    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.

  26. Gorkfu Says:

    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.

  27. Nikitas Says:

    I was thinking just either left or right, just like at the top, only now allowing for those position options at the bottom.

  28. Nikitas Says:

    … 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.

  29. street-fights Says:

    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..

  30. Gorkfu Says:

    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.

  31. Will Young Says:

    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.

  32. Gorkfu Says:

    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.

  33. Gorkfu Says:

    New Version released today with option to position buttons at the bottom.

  34. metroknow Says:

    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!

  35. Gorkfu Says:

    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.

  36. metroknow Says:

    @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…. ;)

  37. Gorkfu Says:

    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.

  38. metroknow Says:

    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 -

  39. metroknow Says:

    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)

  40. Gorkfu Says:

    @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.

  41. metroknow Says:

    Awesome - glad to help. It’s a great plugin.

    Best -
    Metroknow
    http://www.almostfit.com

  42. Nikitas Says:

    @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!

  43. Gorkfu Says:

    @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…

  44. Arthur Says:

    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?

  45. Gorkfu Says:

    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?

  46. Jeff Says:

    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?

  47. Gorkfu Says:

    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.

  48. Arthur Says:

    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.

  49. Gorkfu Says:

    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.

  50. Gorkfu Says:

    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.

  51. Gorkfu Says:

    For those that requested it, I’ll be releasing plugins very soon for reddit and dZone buttons.

  52. Philix Says:

    Thanks, this is exactly what i was looking for.

  53. james Says:

    do you really want to encourage digg users onto wordpress sites? on digg wordpress is a synonym for ‘cannot establish connection to database’

  54. Gorkfu Says:

    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.

  55. WordPress Plugins I Chosen for My Blog | Zack Live Says:

    [...] diggZ-Et: adds a Digg button to your blog, you can choose where to display. This is a personal choice, because I like Digg. [...]

  56. ali Says:

    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

  57. Gorkfu Says:

    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.

  58. Chris Giovagnoni Says:

    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.

  59. Gorkfu Says:

    @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.

  60. Gorkfu Says:

    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.

  61. Mike Says:

    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.

  62. Gorkfu Says:

    @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/

  63. firefly Says:

    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!!

  64. Gorkfu Says:

    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.

  65. Gorkfu Says:

    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.

  66. Sir Robbie Rob Says:

    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

  67. Gorkfu Says:

    @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.

  68. Sir Robbie Rob Says:

    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?

  69. Gorkfu Says:

    It could be caused by another plugin or another snippet of JavaScript somewhere that is interfering with diggZ-Et’s javascript.

  70. Jeff Says:

    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!

  71. Metroknow Says:

    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!

  72. Gorkfu Says:

    @Metroknow; To hide a button in a single post refer to the first admin image above or the FAQ.

  73. Metroknow Says:

    Thanks - my apologies for missing the obvious! :)

  74. Gorkfu Says:

    @Metroknow; No Problem. I like your blog, you got some nice articles on nutrition in there, keep up the good work. :)

Leave a Reply




Our Partners

UK SEO Forum | Webmaster Marketplace