Tagwebsite

Simple wordpress digg solution.

I have looked around the interwebs to find the easiest way to add a digg button with the sumbit feature to wordpress, but I could only find plugins, or other methods that seemed to complicated.

So here is the most simple solution for adding digg to you blog. The following is code from the digg website;

<script type=”text/javascript”>
digg_url = ‘WEBSITE_URL’;
</script>
<script src=”http://digg.com/tools/diggthis.js” type=”text/javascript”></script>

All you need to do is replace ‘WEBSITE_URL’ with ‘<?php the_permalink() ?>’ and place the code within the LOOP. (I put mine in the Main Index Template after the comments – you can edit this via wordpress in the theme editor.)

To show the Digg button when viewing a single post, you must also add it to the ‘Single Post’ template (also under theme editor). I placed this second set of code after the ‘tags’ and before the ‘postmetadata’.

Its as simple as that. For additional options you can add the following;

digg_bgcolor = ‘#ff9900’; (Background Colour)
digg_skin = ‘compact’; (Smaller Button)
digg_window = ‘new’; (Open in New Window)

For additonal options have a look at the digg tools website. (link)

Finally!

I have spent the last few weeks organizing a change for my domain registrar (websitespot.com) so I can have full control over the name servers for the domain. I have done this because I was previously unable to host websites due to the dynamic nature of my IP address.

No problems anymore. I have purchased custom dns services from dyndns.org and by using their name servers, I can update the IP address for the domain name when needed using their client.

Total cost for one year (not including my own internet, server costs) around $32. Thats the .com domain for about $6.95 and the custom DNS for about $25 (US$)

Next up (after saving enough) I’m planning on getting a couple UPS’s to make sure that turning on the microwave and jug at the same time doesn’t kill the power to the servers – and the rest of my house.

WordPress Rocks

For those of you who don’t know – WordPress rocks!

If you don’t know what WordPress is, shame on you. Oh, don’t feel bad – unless you are blogging, you don’t really need to know. If you are blogging though blogspot or some other host, why not buy your own domain name / hosting and set it up for yourself. Easy as pie, and you can make any modifications you like, hundreds of themes and plugins too. Check out wordpress.org if you think you can handle it.

Domain Back Up

Haven’t made any posts for a while due to my domain name being renewed. Had a few problems sorting things out but now all seem to be working.

Almost finished at my current school, have a week and a half to go. I’m really going to miss this one – I think its the best Ive been at so far. The teachers are great and the kids have just enough energy to make things interesting. My bunch is the second year kids, the nosiest lot by far, but are allot of fun in class.

Not many updates on the Playstation front. I have recently downloaded Super Rub-a-dub-dub and Flow. Flow is a cool game, but all the gfx and lighting effects seem to make my eyes bleed after a while. Super Rub is ok, but not something that I’m really into. Still waiting for some decent games – shouldn’t be too far away now. Did however receive my free copy of the new bond movie on blue ray – glad I’m a New Zealander, I just had it mailed over here to me in NZ.

Recent spending spree netted me a new Nintendo DS with a kanji learning program, and a new electronic dictionary. An expensive month all up, totaling about 60,000 yen. Should be finally able to get around to studying kanji using some portable electronic gizmo – the only way to learn.

Thats that for now.

Change Of Website

Ive decided to change the website so its only hosting my own blog, and is no longer a multi user website. I decided to do this because I haven’t got the time to work on developing the website, and I would still like to be able to customize my own blog.

I have also ‘kinda’ transferred my old posts over, but there are some funny glitches in the text – don’t mind those.

© 2020 Chris's Blog

Theme by Anders NorénUp ↑