X-Digg WordPress Plugin

X-Digg - “We Digg Adults”

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.

Posted in X-Digg Info |

No comments yet. Be the first.

Leave a reply

You must be logged in to post a comment.