Aviran's Place Forum Index Aviran's Place
The Technology Forum
 
 Home PageHome Page  FAQFAQ   SearchSearch   MemberlistMemberlist   UsergroupsUsergroups   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 

* Yahoo will purchase Tumblr for $1.1 billion * Continuous Delivery - Part 6 - Backward & Forward Compatibility * Tip: How to remove / disable metro UI windows 8 * Continuous Delivery - Part 5 - Startup - Self Test * Microsoft: Google unfairly using Android to promote Google's products * Continuous Delivery - Part 4 - A/B Testing *

digg button only appears on one post

 
This forum is locked: you cannot post, reply to, or edit topics.   This topic is locked: you cannot edit posts or make replies.    Aviran's Place Forum Index -> Developer's Corner
View previous topic :: View next topic  
Author Message
glytch
Level 1
Level 1


Joined: 30 Aug 2007
Posts: 2

PostPosted: Thu Aug 30, 2007 6:36 am    Post subject: digg button only appears on one post Reply with quote

I have the digg this button installed and it works on a post that has been dugg but another post I made recently about a [url=http://www.fiddyp.co.uk/2007/08/26/someone-stole-my-face/]widget[/url] I made has been dugg but the button doesn't show.

I am using a sandbox type template, here's the singlepost php..

[code:1]<?php get_header() ?>

<div id="container">
<div id="content">

<?php the_post(); ?>
<div id="nav-above" class="navigation">
<div class="nav-previous"><?php previous_post_link('<span class="meta-nav">&laquo;</span> %link') ?></div>
<div class="nav-next"><?php next_post_link('%link <span class="meta-nav">&raquo;</span>') ?></div>
</div>

<div id="post-<?php the_ID(); ?>" class="<?php sandbox_post_class(); ?>">
<h2 class="entry-title"><?php the_title(); ?></h2>
<div class="entry-content">
<div style="float:right" width="50px"><?php digg_this_button(); ?></div>
<?php the_content(''.__('Read More <span class="meta-nav">&raquo;</span>', 'sandbox').''); ?>

<?php link_pages("\t\t\t\t\t<div class='page-link'>".__('Pages: ', 'sandbox'), "</div>\n", 'number'); ?>
</div>
<div class="entry-meta"><?php if (function_exists('wp_notable')) wp_notable(); ?> <a href="http://www.stumbleupon.com/submit?url=<?php the_permalink(); ?>&title=<?php the_title(); ?>"><img src="http://www.fiddyp.co.uk/icon_su.gif"> Stumble it!</a><br>[/code:1]

any idea why it's not showing on the latest post but not on the old one?

Andy
Back to top
View user's profile Send private message
Aviran
Site Admin
Site Admin


Joined: 03 Sep 2004
Posts: 416

PostPosted: Fri Aug 31, 2007 3:35 am    Post subject: Re: digg button only appears on one post Reply with quote

Tis happens because the way the digg this plugin works. The only way for the digg this to identify that your story has been dugg is by identifying traffic coming from Digg.com to your site. Only after someone comes to your post from the digg submition (not the incoming page but the actual story page) only then the plugin can identify that your story is dugg and the button will appear.

Note that if the user has a firewall that blockes the referrer the plugin will not recognize the dugg story. Only users that do not block the referrer can trigger the plugin.
Back to top
View user's profile Send private message
glytch
Level 1
Level 1


Joined: 30 Aug 2007
Posts: 2

PostPosted: Fri Aug 31, 2007 4:22 am    Post subject: Re: digg button only appears on one post Reply with quote

thanks!
it actually popped up after a few hours, the next post I did that got dugg got the button immediately so i guess I was a little impatient

thanks for the response and plugin!

Andy
Back to top
View user's profile Send private message
Display posts from previous:   
This forum is locked: you cannot post, reply to, or edit topics.   This topic is locked: you cannot edit posts or make replies.    Aviran's Place Forum Index -> Developer's Corner All times are GMT - 4 Hours
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum


Powered by phpBB © 2001, 2005 phpBB Group