Posted on : 20-01-2009 | By : Japh
Ok, so I’ve been looking around for a new look and feel for my blog. I found this FREEmium theme for WordPress, and I fell in love. Sure, it’s not 100% perfect, but it’ll do til I can do something for myself.
Anyway, after installing it and sitting back to think “ah, that looks better!”, I browsed to another page on my site and… whoops! All pages and posts other than the home page itself had an odd quirk…
When I was logged in to WordPress everything looked fine:

But when I logged out…

I was devastated… my near-perfect theme was ruined. Then I remembered, I know PHP, all is not lost!
So, after digging around, I finally worked out how to fix it!
In the comments.php file, the following lines:
</form>
</div>
<?php endif; // If registration required and not logged in ?>
<?php endif; // if you delete this the sky will fall on your head ?>
</div> |
Should be:
</form>
<?php endif; // If registration required and not logged in ?>
</div>
<?php endif; // if you delete this the sky will fall on your head ?>
</div> |
That’s it! Sorted! Hope that helped someone else
Posted on : 20-01-2009 | By : Japh
Just a quick update to let you know I’ve switched my feed over to feedburner, which will hopefully just have worked transparently for you. If you notice any issues though, please let me know!
Also, I will hopefully be releasing the code for The Grey Album in the next week or so
I’m in the process of giving my blog a new look too… please bare with me while I iron out the kinks!
Posted on : 07-01-2009 | By : Japh
Lately I’ve been playing around with a few different APIs. Getting the hang of using them and seeing what they can do. I’ve had a brief play with both the Flickr and Twitter APIs, and they’re both actually very user-friendly yet powerful.
I decided to build a simple photo album script using mostly PHP and jQuery to do the tricky parts, and the SimplePie library for actually importing the photo stream. I’ve called it The Grey Album, and though I probably wouldn’t call it a complete and comprehensive script, it seems to do the job. Any feedback is most welcome!
Posted on : 17-10-2008 | By : Japh
I’ve always been interested in Linux as an operating system, but found too many reasons to go back to Windows. Linux was just a fun, geeky thing to play around with, but not really viable for everyday use. Read the rest of this entry »
Posted on : 08-10-2008 | By : Japh
I’ve setup my home network with a domain and wanted to be able to access my home server, from my office, on a subdomain.
However, as is probably the case for most of you, I have a dynamic IP address assigned to my router when it connects to the Internet through my ISP. So I decided I’d have to setup my own dynamic DNS process!
First things first, it was necessary to create the subdomain I wanted and point it to my home router’s external IP address, and also to change the configuration on my router to forward all traffic on port 80 to my home server’s internal IP address.
Read the rest of this entry »