digg Integrator - FAQ / Troubleshooting

  • Posted On: October 10th, 2006
  • Filed Under: Local Stuff

Documentation

  1. Download
  2. Installation
  3. Customization
  4. Change Log
  5. FAQ / Troubleshooting

If you are having trouble with this plugin please leave your questions here.

  • Q: After a post has been dugg I'm recieving an "Error Not Found" message. What's going on?
  • A: Occasionally your post will recieve visitors from a page at digg that is not the proper story page. The most common source is an "upcoming" page or "category" page. If this occurs there is the potential for the plugin to generate a button that will return an error message. To fix this, edit the post and go to the Custom Fields box and either delete the entry for diggURL or replace the value with the proper story URL. I'm constantly trying to filter out these additional pages so if you encounter one please report it here before deleting it.

If you have any questions concerning the plugin please leave them in the comments below. I will regularly update the comments section to include frequent questions in the body of this page as well.

37 Responses to “digg Integrator - FAQ / Troubleshooting”

  1. October 12th, 2006 at 4:36 pm

    Which version of the plugin are you using?

    Is it 1.2.f or earlier?

    - WildBil
  2. October 25th, 2006 at 2:51 pm

    the javascript button isnt showing for me. when I use wjt_diJavaButton, nothing shows, even though the post is already dugg..

    when i use wjt_diCheck, the static “digg this” image shows even after the post is dugg.

    seems like the check to see if the post is dugg isnt working..
    any ideas?

    (plugin version 1.2.f, WP 2.0.3)

    - Chappy
  3. October 25th, 2006 at 5:34 pm

    Chappy,

    Can you provide a URL where this is currently happening? I took a look at the URL you attached but it doesn’t show any sign of the digg Integrator plugin.

    If I can see the URL I might be able to provide some ideas but right now I’m in the dark.

    - WildBil
  4. November 6th, 2006 at 9:53 am

    My version was 1.2 but I’ve since removed it.

    - Thomas
  5. December 2nd, 2006 at 8:32 am

    Hi. First of all, thanks for putting this little plugin together. It’s exactly what I’ve been looking for.

    As you can see, I’ve added it to my site at http://onemansblog.com. It works from the standpoint of displaying the chosen icon and also submitting the link to Digg properly. However, it is not changing to display the number of diggs once an article has been dugg.

    I’ve put it inside the loop in my index.php as well as my single.php.

    I wonder if you can take a look at it and perhaps we can work on getting it fixed? I’m assuming the other folks who reported similar problems took it down.

    John

    - John Pozadzides
  6. December 4th, 2006 at 4:08 pm

    One other little glitch, I’m surprised no one else had noticed; in the digg Integrator dropdown menu when writing a post the word Finance is misspelled in business_finance.

    A quick edit of the PHP fixes it, but you might want to correct that in the download.

    John

    - John Pozadzides
  7. December 14th, 2006 at 10:25 am

    Hi!
    This is precisely what I’m looking for however… As with John Pozadzides and Chappy my chosen icon does not change into the one showing how many diggs the post as gotten. So something isn’t working correctly. I placed inside theloop.php in the K2 theme folder.

    I’d love to get this thing working and will help you in any way I can!

    - Olle Mattsson
  8. December 14th, 2006 at 1:52 pm

    Hi again!
    Seems it takes some time before the script notice that the a post is dugg. Now one of the posts I dugg earlier today shows the number of digs it’s recieved. Another one does not however, but I posted it on digg some time after the first one…

    So everything seems to be working fine! Thanks for a great plugin!

    - Olle Mattsson
  9. December 18th, 2006 at 7:09 pm

    I downloaded and installed the plugin today and ran into a problem. On the Post and Edit pages, there was no additional field on the sidebar called ‘digg integrator’. Could it be under a different section or be going by a different name?

    - John
  10. December 18th, 2006 at 9:14 pm

    John,

    What version of WordPress are you using? The box should be at the bottom of the right sidebar on the “Write” page right under the “Post Author” dialogue box.

    Let me know.

    - WildBil
  11. December 18th, 2006 at 11:26 pm

    Someone pointed out that I needed to enter something into the code of the two pages single.php and page.php. However, the theme I use has only the page.php file and not a single.php file. I re-read the instructions and was still confused. It says pick one of the three and add it. But I have no idea where to add it in those files, how to code it, what it should look like, etc.

    I’m using WordPress 2.0

    - John
  12. December 21st, 2006 at 10:29 pm

    I discovered that the code needs can go before the comments and I’ve got it coded as

    And I’ve activated the plugin, yet nothing happens. As mentioned, does it matter than my template does not have both the page.php and single.php files, but only has the page.php file?

    - John
  13. December 21st, 2006 at 10:30 pm

    Oops… that code didn’t go in there… here’s the code I used without the greater than/less than brackets:

    ?php wjt_diCheck(); ?

    - John
  14. January 12th, 2007 at 10:00 am

    Having an issue with what looks to be a great plugin…I can’t seem to get the graphic to ever change to show diggs!

    Here’s an example:
    http://www.digitaldisplacement.com/?p=2189

    It still shows the “Digg me!” icon, even though it has been dugg.

    Any suggestions?

    - TimS
  15. January 12th, 2007 at 6:48 pm

    Howdy TimS,

    I’ve checked out the URL you provided and currently the link appears to be working properly. The issue with the script may have been caused by the lack of incoming traffic.

    Chances are that the script just hadn’t picked up incoming traffic from digg yet. On occasion it may take a few minutes (or a few visits) to properly accept the traffic. Do you know about how long it took for the digg to “take?”

    - WildBil
  16. January 13th, 2007 at 10:13 am

    Well that’s very interesting indeed…I’d thought it would show up at least within the first few hours. I’m not sure exactly how long it took, but it was certainly 2+ hours.

    Now it looks like I need to do a little tweaking as the dugg graphic is throwing things off.

    Thanks.

    - TimS
  17. January 31st, 2007 at 2:52 pm

    Great plugin! One question.. this text from the installation notes is confusing:

    “Placing the functions on index.php, category.php or other pages that display multiple posts will result in properly recording incoming diggs”

    Is that supposed to say that it will not record the incoming diggs or it will?

    Thanks.
    -Jon

    - Jon
  18. January 31st, 2007 at 8:46 pm

    I’ll revisit the code and get back to you on that. I think the plugin will only work on a post or page template but for I have a feeling that might not be the case.

    I know it will work on pages that display one post/page but I can’t remember if I ever created a work around for multiple post pages.

    Sorry for the inconvenience and thanks for your interest in the plugin.

    - WildBil
  19. February 5th, 2007 at 4:59 pm

    Hi there,

    I am using this plugin with OpenWP for Joomla, which is still running wordpress 2.0

    Everything works great, well it was lastnight… this morning when the digg’s registered it bugged out on me.

    Now on every post that is NOT dugg, the system is linking to another post by a friend of mine…. I have 3 links to his post when those links SHOULD be going to submit that article for digging….

    please help, this is very strange!

    http://stevenstark.com/component/option,com_jd-wp/Itemid,25/

    - Steven Stark
  20. February 5th, 2007 at 5:37 pm

    Hello Steve,

    I just checked out the page you submitted using Firefox and it’s appearing properly. All the “digg this story” buttons are linking to digg and all other links appear to be linking out properly as well.

    I double checked with Internet Explorer and everything appeared ok there as well.

    Unfortunately I’m not familiar with Joomla - if the problem persists please drop me a line with the URL where you see it and I’ll try again.

    - WildBil
  21. February 5th, 2007 at 6:03 pm

    yes well I got it to look normal again, I deleted the digg URL’s in the admin for all the broken links, now I am just waiting for it to do the update on the link to see if it will break again.

    check back later.

    - Steven Stark
  22. February 5th, 2007 at 9:46 pm

    ok it works now, I will let you know if that happens again…

    - Steven Stark
  23. March 31st, 2007 at 3:08 pm

    Great Plugin! I have one small problem and that is on my first post and only my first post, the digg java button doesn’t seem to be working. I don’t even know where to start to fix this problem. All my other posts work perfectly!

    - Gary Lee
  24. March 31st, 2007 at 4:21 pm

    Hi Gary,

    When you installed the plugin did you make any changes to the code? There appears to be an issue where the post’s bodytext isn’t getting cutoff properly.

    I’ve checked my code and a few other areas of yours but I don’t see the issue happening again. If you made any changes to the code let me know and I’ll look into it - otherwise I’ll review the plugin again.

    - WildBil
  25. April 3rd, 2007 at 3:14 am

    Hello.
    Would someone please give me an example of the line of code used to call this function in the loop? I don’t seem to be getting the php syntax right.
    Thanks,
    Jonathan

    - Jonathan
  26. April 3rd, 2007 at 3:21 am

    Don’t worry. Sorted it out.
    WildBil… you’ve got a mistake on your instructions page. The last function has been spelt wj_diCheck() and it should be wjt_diCheck() (the “t” is missing)

    Cheers,
    Jonathan

    - Jonathan
  27. April 3rd, 2007 at 3:41 am

    I must say, this seems to page page loading much slower. Is there any way to minimize that? It’s taking ages to get the info from the digg.com site.
    Jonathan

    - Jonathan
  28. April 3rd, 2007 at 4:13 am

    Okay… now that I’ve got it showing etc. I am testing it out.
    Digg.com is not picking up the URL.
    Go to http://www.livingthesecret.tv/blog and try one of the diggit buttons and you’ll see what I mean.
    I am in the process of trying to get the icon NOT to show on the main page and only on single post pages. What I tried didn’t seem to work.
    Jonathan

    - Jonathan
  29. April 6th, 2007 at 12:57 am

    For the people using wjt_diCheck() try using IE6. When I visited from the digg page to the post it somehow changed from the button set in the plugins menu to the java button.

    - Bill
  30. April 6th, 2007 at 7:31 am

    Hi Bill,

    That’s what wjt_diCheck is supposed to do. If a post has been dugg it changes the icon to the Java Button, if it hasn’t then it just shows the static button.

    - WildBil
  31. April 6th, 2007 at 4:10 pm

    I just started using this plugin. I have wjt_diCheck on the index.php in my template, and wjt_diJavaButton in my single.php. The reason for this, is it seems wjt_diCheck isn’t updating properly to show when a post is dugg. The wjt_diJavaButton shows the number of digg’s properly. I’ve tried in Firefox and IE7, both don’t show up. Any idea what might be going on?

    - Matt
  32. April 11th, 2007 at 5:12 am

    I just installed this plugin and ran into an issue where I was getting a “Request-URI Too Large” error. The “wjt_diJavaButton” function does not currently truncate the bodytext.

    Initially, I modified the code to truncate that to 340 characters just like the other function. However, I have since removed the bodytext as I was getting inconsistent results on posts that included html tags.

    I tried adding a call to strip_tags around the bodytext but it was still unreliable. For the time being, my link no longer uses the bodytext. Do you know of a more reliable way to grab a text-only excerpt of the post?

    - derek
  33. April 11th, 2007 at 9:25 am

    Thanks for the heads up Derek!

    I’ll review the code tonight and see what I can figure out.

    - WildBil
  34. July 8th, 2007 at 10:43 am

    I’m having a similar problem as derek. I can get all of my articles to have a digg button except one (titled Freedom?). If you can take a look at that. Also, I can’t figure out how to get it to line up like I want it. I want it to look like it does on http://bill2me.com/digg-integrator/ except I want it to be on the right instead of the left. I’m using wjt_diCheck with WP 2.2.1

    - Chris
  35. July 8th, 2007 at 10:47 am

    Ok.. I got the alignment thing to work, but I still have a problem with “Freedom?”

    - Chris
  36. July 28th, 2007 at 4:51 pm

    Experienced the same “” problem as Derek did. If anyone else also does: Change line 289 from
    ‘digg_bodytext = “‘.urlencode(get_the_content()).’”;’;
    to
    ‘digg_bodytext = “‘.urlencode(substr(get_the_content(),0,340)).’”;’;

    The alignment can easily be changed to right by adding the following lines to your templates css-file:
    .diggButton { float: right; }

    Worked like a charm for my blog! Thanks for the plugin!

    - phanthomas
  37. August 19th, 2007 at 1:32 am

    Is this plugin, theme specific.. what i mean is that i put this on my blog but no button shows up. Is there some code which i need to put on single.php?

    - Prashant
Leave a Reply