|
|
Digg Digg is a Wordpress plugin that is used to generate social vote button, which include Digg , Reddit , Dzone and Yahoo Buzz , TweetMeme (twitter) button. Just like how it look like in this website.
Digg Digg Formula
Digg Digg = "Digg Button Wordpress Plugin" + "Reddit Button Wordpress Plugin" + "Dzone Button Wordpress Plugin" + "Yahoo Buzz Button Wordpress Plugin" + "TweetMeme (twitter) Button Wordpress Plugin"
Features
Add Digg Button Into Wordpress Content
Add Reddit Button Into Wordpress Content
Add Dzone Button Into Wordpress Content
Add Yahoo Buzz Button Into Wordpress Content
Download Here
Digg Digg v1.8 (latest)
Digg Digg v1.7
Digg Digg v1.6
Digg Digg v1.5.1
Digg Digg v1.5
Digg Digg v1.4.1
Digg Digg v1.4
Digg Digg v1.3
Digg Digg v1.2
Digg Digg v1.1
Change Log
Digg Digg v1.8 – 30/06/2009
-Add Support for TweetMeme (twitter) button
Digg Digg v1.7 – 12/03/2009
-Add support for line up horizontal or vertical
Digg Digg v1.6 – 08/02/2009
-Add Support for Yahoo Buzz button
-Add dd_ybuzz for all YBuzz’s variables
Digg Digg v1.5.1 – 22/12/2008
-Make Digg digg plugin w3c complient, Thanks Pross
-Bug fix Bug fix digg_digg_generate() button design is not display correctly.
Digg Digg v1.5 – 23/11/2008
-Add Support for dZone me button
-Add dd_reddit for all dzone’s variables
-Bug fix Bug fix for “Button Allow Display Options” is not working for reddit and dzone
Digg Digg v1.4.1 – 15/11/2008
-Bug fix for Display Right float , append “&” in button
-Bug fix for “Button Allow Display Options” is not working, button is not display in right position
Digg Digg v1.4 – 14/11/2008
- Add Support for Reddit me button
- Bug fix for digg submit, when click digg button, open a new windows.
- Add dd_digg for all digg’s variables
- Add dd_reddit for all reditt’s variables
- Modify digg_digg_generate () method to generate digg button only
- Add digg_digg_reddit_generate () method to generate reddit button only
Digg Digg v1.3 – 01/11/2008
- Bug fix for digg submit, didnt include post title (thanks Byron)
- Add digg_digg prefix to every variables and methods
- Choose Digg Button Design – normal, compact or icon
Digg Digg v1.2 – 05/09/2008
Add Digg Button Control Display function Setup Screen.
– Display at Home page
– Display at Static page
– Display at Post Page
– Display at Category Page
– Display at Archive Page
Digg Digg v1.1 – 31/07/2008
Add Setup screen (Setting–>DiggDigg) to let user choose where user want to display Digg button.
1. Append Digg Button with Left Float Content
2. Append Digg Button with Right Float Content
3. Append Digg Button Before Content
4. Append Digg Button After Content
How to Install
1. Download and extract it
2. Copy digg-digg folder to the “/wp-content/plugins/” directory
3. Activate the plugin through the ‘Plugins’ menu in WordPress
How to use
Display with existing layout template
1. After activated, click “setting – Digg Digg” to access Digg Digg setup screen.
2. Choose how you want Digg & Reddit & Dzone & Yahoo Buzz & TweetMeme (twitter) buttons append into WordPress content
3. Control Digg & Reddit & Dzone & Yahoo Buzz & TweetMeme (twitter) buttons only display at Home page, Static page, Post Page, Category Page or Archive Page
4. Choose Digg & Reddit & Dzone & Yahoo Buzz & TweetMeme (twitter) buttons design – Normal, compact or icon
5. Saved.
Alternative Usage
Add Digg button only to anywhere you like
Add following code to where you want digg vote button to display. like Single Post (single.php)
<?php if(function_exists('digg_digg_generate')) { digg_digg_generate(); } ?>
Add Reddit button only to anywhere you like
Add following code to where you want Reddit vote button to display. like Single Post (single.php)
<?php if(function_exists('digg_digg_reddit_generate')) { digg_digg_reddit_generate(); } ?>
Add Dzone button only to anywhere you like
Add following code to where you want Dzone vote button to display. like Single Post (single.php)
<?php if(function_exists('digg_digg_dzone_generate')) { digg_digg_dzone_generate(); } ?>
Add Yahoo Buzz button only to anywhere you like
Add following code to where you want Yahoo Buzz vote button to display. like Single Post (single.php)
<?php if(function_exists('digg_digg_ybuzz_generate')) { digg_digg_ybuzz_generate(); } ?>
Add TweetMeme (twitter) button only to anywhere you like
Add following code to where you want TweetMeme (twitter) vote button to display. like Single Post (single.php)
<?php if(function_exists('digg_digg_twitter_generate')) { digg_digg_twitter_generate(); } ?>
Other examples
<div style="position:absolute; left:650px; top:50px;"> <?php if(function_exists('digg_digg_generate')) { digg_digg_generate(); } ?> </div>
or
<div style=”float:right”> <?php if(function_exists('digg_digg_reddit_generate')) { digg_digg_reddit_generate(); } ?> </div>
or
<div style=”float:right”> <?php if(function_exists('digg_digg_dzone_generate')) { digg_digg_dzone_generate(); } ?> </div>
or
<div style=”float:right”> <?php if(function_exists('digg_digg_ybuzz_generate')) { digg_digg_ybuzz_generate(); } ?> </div>
or
<div style=”float:right”> <?php if(function_exists('digg_digg_twitter_generate')) { digg_digg_twitter_generate(); } ?> </div>
If you have any ideas , please share it to me if you do not mind.
|
|
|



I have the plugin installed but not sure what to do with the code. I’ve added both versions as they appeared in your post to my single.php and I see nothing when I post. Can you be more specific about what to do with it? I’m not very code literate.
sorry my late reply, i attached my wordpress 2.5 single.php in my post already, please send me a sample of your single.php if still unable to display.
Well, I copy and pasted what you put on there at the bottom of my single.php and still didn’t see it show up. This is my fault really, I’m fiddling around in an area I know nothing about.
Here’s a copy of my single.php. By the way, I really appreciate you taking the time to help!
<div class=”post” id=”post-”>
<a href=”" rel=”bookmark” title=”Permanent Link to “>
Posted by:
Posted in:
<?php the_content(’Read the rest of this entry »’); ?>
‘Pages: ‘, ‘after’ => ”, ‘next_or_number’ => ‘number’)); ?>
This entry was posted
post_date) – (60*120)); echo time_since($entry_datetime); echo ‘ ago’; */ ?>
on at
and is filed under .
You can follow any responses to this entry through the feed.
comment_status) && (’open’ == $post->ping_status)) {
// Both Comments and Pings are open ?>
You can leave a response, or <a href=”" rel=”trackback”>trackback from your own site.
comment_status) && (’open’ == $post->ping_status)) {
// Only Pings are Open ?>
Responses are currently closed, but you can <a href=” ” rel=”trackback”>trackback from your own site.
comment_status) && !(’open’ == $post->ping_status)) {
// Comments are open, Pings are not ?>
You can skip to the end and leave a response. Pinging is currently not allowed.
comment_status) && !(’open’ == $post->ping_status)) {
// Neither Comments, nor Pings are open ?>
Both comments and pings are currently closed.
Sorry, no posts matched your criteria.
no no this is because my plugin is not user friendly enough, your comment is useful, i will recreate this plugin again to make it more user friendly(with some configuration page)
Sweet, thank you! I really appreciate that and I’m sure others will too. If my comment was useful to you than I am happy to have helped.
hi Mike Rutschky, it’s done, hope this version will not disappoint you again.
Hi and thanks for this plugin, will give it a try
Nice plugin!Using it!
Thanks
any comment please feel free to contact me
I appreciate the extra time you spent in simplifying this plugin, and it looks like others are finding it useful as well. Good luck and thanks again!
everyone comment is welcome
sito interessante, ma il mio è meglio.
ciao da venezia
Is there the Jamespot button in this pluggin ?
sorry, may i know what is Jamespot button? Is this http://www.jamespot.com/?
It’s a good pluggin, I will use it! thanks!
Good plugin…maybe you can go further by adding the option for different buttons? that would be awesome
thanks for input, i will working on it
Hi
I like your posts, It sets me thinking.
omg.. good work, man
Mkyong,
Digg-Digg works great and I like the admin page options. However, I did add one tweak that you might want to include. When you Digg something using this plugin, you’ll notice that it doesn’t supply the Post title (at least it didn’t for me). I tweaked the code as follows:
iframe src='http://digg.com/api/diggthis.php?u=" .htmlspecialchars($digglink[0]) . "&t=".$title."'...
Everywhere you see the ‘iframe’ code and u = ” .htmlspecialchars… you should add “&t=” .$title .”‘….
This will automatically populate the Title of your post into the Digg submission page.
Hope that helps somebody.
Cheers!
Byron
oh… great !!! really thanks for it. I really do not know about it , appreciate you help. I will include this function in version 1.3 soon.
You’re welcome. And thanks for dropping by my blog! I saw your MyBlogLog pic
Byron
i like open source ~ Keep in touch
Hi,Mkyong
it works,so great plumg.thanx.ha~~
any idea is welcome ~
Many thanks
hi. Thanks for plugin
perfect.
Regards
Ok, so I just did the automatic plugin upgrade in my blog and it totally messed up the Digg buttons on my site. There is now an “&” symbol in front of my Digg button when I turn it on, and even though I just set it to show up on post pages it shows up in other places.
really sorry about it, i looking into it now.
Bug fixed, please upgrade to digg digg v 1.4.1, sorry for any inconvenient cause.
The Digg button just doesn’t want to display right.. it shows as it does above in your blog.
you means “Digg Button Allow Display Options” is not working correctly right?
Bug fixed, please upgrade to digg digg v 1.4.1.
Thanks for the quick fix bro! Great plugin…
Hi, great plugin!
My site did not validate once i installed it however, so I looked at the code and replaced all with there was also an extra ‘ next to frameborder=’0′ …and all ‘&’ with ‘&’ now it validates
sorry didnt use a code box!
i replaced:
withand all:
&with&hi pross, i didnt get it? May i know what is the problem? Your input will give digg digg more stable ~
Ok I got this bad boy working, really happy about it, but one question… how do I get it aligned to the absolute left.
As you can see in one of my posts (http://www.autogaming.net/ps3/1735/gran-turismo-5-coming-december-christmas-2009/) the button is a bit slightly inwards. I want it streamlined (left justified) with the rest of the post content rather than being indented. I thought maybe my CSS was at fault but it’s not. Any ideas?
Thanks alot.
hi brad, you have a nice site, i just visited and did some debug on your post, please change your style.css —- “#contentleft p img” to following setting.
#contentleft p img {
border:0 solid #000000;
float:none;
padding:10px;
}
Not really sure is this what you want? May be you can print screen and show me what you want? So that i can more understand and try to help
Ok man, Ill try it out and let you know the results.
Ok, well things went well with the CSS. However, I have made some changes and now need the button in a place where your fuction won’t allow it, so I had to resort to inserting the code manually..
So I used that but I got the big Digg button. How do I get it to show the compact button instead? Thanks.
Hi brand
please check above digg digg alternative usage to understand how to add digg button to anywhere you like
Digg digg provides three functions to do it.
1) digg_digg_generate(); //add digg
2) digg_digg_reddit_generate(); //add reddit
3) digg_digg_dzone_generate(); //add dzone
Digg digg compact button is display by append ” &s= ‘compact’ ” to the link.
Ok Im a dummy with php so I dunno where to add the ” &s= ‘compact’ ”… what would the finally bit of code be that I would have to insert to get the compact Digg Digg.
change digg digg configuration display to ‘none’ and button design to “compact” , then place following code in where you want to display digg button
< ?php if(function_exists('digg_digg_generate')) { digg_digg_generate(); } ?>
Yea that’s what Im confused about. I did exactly that and it’s still showing the big Digg submit icon instead of the compact version.
hi Brad, i got what you mean finally, ya i admit this is my fault, i will fix it and release soon. Sorry for any inconvenient cause.
hi Brad,
Sorry for inconvenient cause, please download latest Digg Digg ver 1.5.1 released. Bug fixed for above issue.
Thak you for the news
Thanks mate…very useful.
I hate the be the annoying one…one last question…
1) how do you change the background color, because my bg is not white.
2) how do i remove the excess padding or margin from within your compact digg box?
I have it up….for example.. http://www.autogaming.net/xbox360/2030/motogp-demo-available-on-xbox-marketplace/
Hi Sorry Bad, the button design and white background is designed by Digg.com, i have no way to control it. However i will do some research on it. Your opinion is really appreciated.
I just installed this plugin on my 2.7 WP install and so far, so good…
Thanx…
welcome ~ hope enjoy it
It is very good, thanks you very much
Great plugin – thanks!
Great plugin. i am going to install it on my blog.
I have dugg this post too.
If you submit the post to yahoo buzz, it will be easier for us to buzz it.
thanks for comment, submitted to buzz
I just uploaded it! It’s just what I needed! Thanks!
http://www.cac-tv.com
Hey, can someone plz help me out…
I am trying to get this reddit button to show up on the same line as the socialable plugin…I know how to call the php templates but the plugins appear on 2 different lines below each other….. any idea how I can get them together? i am doing this:
i tried putting it in a div, same problem.. thanks.
you may try below
Call digg_digg_reddit_generate() manually to generate only reddit button, and put a table with tr and td to make socialable and reddit button appear at same line.
@ mkyong, thanks for getting back to me,
I still can’t get it to work, sorry i’m such a n00b. I’m doing this:
but still it is 2 different lines, or am i not doing it correctly?
plzzzzzzzz help, thanks a lot!!
something like
{table}
{tr}
{td}
call social button
{/td}
{td}
call digg_digg_reddit_generate()
{/td}
{/tr}
{/table}
is there way to show the number of diggs?
after you submitted your page to digg.com, number of digg will automatically display in button
thanks so much mkyong! i must have submitted wrong
I will try again. This is the perfect plugin. digg is the best.
How would I remove the buttons from a single page? It seems my home page is classified as a static page. I need to keep static selected in order to get buttons on the reviews section.
How would I fix this? I’m not super Wordpress literate. If I was I’d know how to make my homepage non-static.
please access digg digg setup screen and uncheck the static pages. Hope this help.
I want the buttons on the other static pages. I suppose there isn’t a fix for this besides changing the main page to something non-static. I have no idea how I am going to do that. I tried recreating it within Wordpress and that failed.
can put the code directly in your static page? like below
digg button
‘< '?php if(function_exists('digg_digg_reddit_generate')) { digg_digg_reddit_generate(); } ?'>‘
If you look at the website (www.shfts.com) you’ll see the home screen has Digg-Digg buttons. This is because it is static. I need static buttons on though to put Digg links on the game reviews.
That code sadly did not work if there is not anyway to remove the Digg code from just the home page then I suppose I’ll turn off the button generation for Static Pages and enter the generate code by hand each time.
Nice plugin, but I’ll echo the post above regarding background color. It is possible to change the background color of the “digg this” button. From Digg’s website:
digg_url = 'WEBSITE_URL';
digg_bgcolor = '#ff9900';
digg_skin = 'compact';
digg_window = 'new';
I can’t seem to find in your plugin where to add the “digg_bgcolor” option.
digg website did mention about custom backgroud , however i haven’t implement this feature into digg digg at the moment, sorry
Can this plug-in used in blogspot? How?
Hi marco,
sorry, this plugin is for Wordpress platform only, sorry for any inconvenient may cause ~
Hi. This looks like a great plugin! I’ll be testing it out today. Wondering if you’ve thought about doing something like this for Twitter? Also, is it possible to have something like this on the home page, so the diggs are visible in each story summary?
your idea is great, i will look into it for twitter. Story for summary may not suitable at the moment. Thanks ~
I put it in the loop for the homepage and it seems to be working. Thank you very much! You can check it out at http://bbulb.com.
Oh, but I did notice the “submit” / “dugg” text shifts to the right in IE 8. Not sure if that’s Digg or the plugin. Just thought I’d point that out. Thanks again.
Thanks for the testing ~ i will look into it
Hi again. I noticed an extra ” ‘ ” on line 867 that was not allowing my site to be validated. I removed it (just before “frameset”) and my site is now valid. Hope this helps. Thanks.
thanks for find the bugs ~ i really appreciate it
thank you good plugin
??????? – ??? ?????? ?????!!!