New Version: X-Vote Button WP Plugin for X-Digg
Well it is here, an new version, with several requested updates! - The X-Digg X-VOTE Button for your Word Press Blog / Site.

Downloaded a total of 1002 times
Simply ad the code, by placing the plugin in the default plugin directory ‘wp-content/plugins’ , and activate the plugin via the WP-admin ‘Plugins’ area. That is it - Now your X-Digg Voting Button will appear beneath each of your posts (or on top - you chose in admin section - V2), for your user to vote on there favorite stories. This plugin also detects incoming links from X-Digg.com to your wordpress post and automatically updates the voting as people vote for your stories on X-Digg. The higher the votes the better position your story gets on X-Digg.com
V.2 - 10/3/2008
- Added the ability to remove the button on pages but keep the button on posts.
- Added the ability to keep the button on pages but remove the button on posts, for people that build galleries on pages and want to push their traffic there instead.
- New functions for more graceful error handling that guides users to the x-digg.com contact_us page, rather than making them guess who and where to contact. Also outlines the steps they need to follow to allow the debugger, whether myself or another contract worker, to diagnose the problem.
- Completely redid the permissions segment to finally squash the appearance of the dreaded “Dave” bug, This should make it easier for users to install and use out of the box.
-Tested the plugin on both a 2.3.3 and 2.6.2 version of WordPress. The rewritten code should also theoretically work on a 1.5 install, but I don’t a have a copy of that, and most people should have long since upgraded from that anyways.
== Credits ==
Thanks to Lucky Cappuccino for all his hard work!
*** X-Digg, X-Vote, X-, and the Graphical “X” are all registered Trademarks of X-DIGG.COM ENTERPRISES, INC.
Posted in WP Plugin | 1 commentX-Digg For Your Hosted Blogs: Part I - Thumblogger
Hey kids, Lucky here. I hope you are liking the new X-Digg widget that we worked up for all your Wordpress blogs out there. But I’m sure that there are more than a few of you that would like to have it available for your Thumblogger and other hosted blogs out there. Well, you’re in luck (yuk yuk), we’ve worked up some simple instructions on how you can add some code to your blog template so that an X-Digg button appears in every post. Today is Part I of our ongoing series, and in this post we are going to discuss the grand-daddy of adult free hosted blog services, Thumblogger.
A few notes before we begin:
This section will be covering the more modern (and more advanced) templating system that Thumblogger uses, commonly refered to as ‘html templates’ - in short, these templates DO NOT have wizards. The oldest templates that implement wizards such as the classic or bean templates will not currently work with this method, although you CAN convert them to html templates (but you will lose your wizard functionality.)
As always: BACK UP your current template: this is a mandatory step in any template editing.
For templates WITHOUT wizards
- Click on the ‘Looks’ large button on the main button bar of your Thmublogger control panel.
- Find the [post_begin] and [post_end] tags. This is the template for your blog posts.
- Inside those two tags is the [post_text] tag. This is the post text aka post body. Typically, you want your X-Digg.com button below the post. (HINT: float the button at the top left or top right of your post to draw attention and more votes to your X-Digg button.)
-
Insert the following code after the [post_text] tag:
<div style=”text-align:center;”>
<script type=”text/javascript”>submit_url = ‘[post_link]‘;</script>
<script type=”text/javascript” src=”http://www.x-digg.com/evb/button.php”></script>
</div>
*Wordpress likes to add some funky quotes, so if you run into issues, change the quotes over to see if that fixes the problem.
- Click on the ‘Preview’ large button on the main button bar of your Thumblogger control panel to see if the button looks correct.
If it looks okay (the button displays), move your mouse over the X-Digg button to make sure that your permalink is being passed as a query parameter. If it is, you are golden. If talk of “query paramters” and such sounds too much like gibberish to you, make sure to leave a comment here or on the kewlest adult social website, X-Digg. I’ll try and answer your questions about new ways to insert the X-Digg javascript voting button into your blog posts automatically.
Posted in X-Digg Info | No comments