X-Digg WordPress Plugin

X-Digg - “We Digg Adults”

Archive for July, 2007

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

  1. Click on the ‘Looks’ large button on the main button bar of your Thmublogger control panel.
  2. Find the [post_begin] and [post_end] tags. This is the template for your blog posts.
  3. 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.)
  4. 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.

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

No comments

X-Digg Voting WP Plugin 1.0

Well it is here - The X-Digg Voting Button for your Word Press Blog / Site. Thanks to BizChick & Lucky Cappuccino, from http://itsjustanother.biz/

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

Download The X-Digg Voting WP Plugin Here

 

No comments