The road is long and winding… don’t you just want to jump over the fence and rest a minute in the grass? Or a day, or a week, or a year? That fence is there for a reason, No matter how long you stay, you know you eventually have to travel that road.
Editing on this involved burning the road and corners considerably, then adding contrast with the curves tool.
Canon Rebel XTi, EFS 18-55mm, 1/320, F5.6, 52mm, ISO100, 2008-07-13T12:43:32-04, 20080713-164332rxt
Download a perfected high-res JPEG or download the source image (Canon Rebel XTi RAW file).
This work is licensed under a Creative Commons Attribution 3.0 License. Credit me as Richard X. Thripp, and link back to richardxthripp.thripp.com or rxthripp.com. Thanks!



Richard X. Thripp at 2009-03-27T05:15:26.Thank you! I hope so, I’m 17 by the way. Th8.us is open-source but nothing for WordPress; you can always use <?php echo get_bloginfo(’url’) . ‘/?p=’ . the_ID(); ?> for fairly short URLs.
[REPLY TO THIS]

Nimwit at 2009-03-27T09:50:19.Thanks. I actually just want a personal url shorten facility of my own having just made a leap in to Twitter I thought it would be neat for my friends and myself to use.
I have installed your th8.us and changed all the “Th8.us” in the phps to “nimwit.co.uk” and have a copy of your database structure behind it but can’t seem to get the thing working. It creates the short urls fine (although not without manually putting in the short url).
- You mentioned that you need virtual subdomains, is that a CNAME thing. i.e. if I have *.nimwit.co.uk as a CNAME record would that do the trick, or is more than that?
- Any ideas why it will not auto generate the short urls?
Any clues?
nimwit.co.uk is just my playground, and a test area. I don’t intend using it at that domain.
Any insight would be great.
N.
[REPLY TO THIS]

Richard X. Thripp at 2009-03-27T10:40:04.Wow, cool, you’re actually using it!
It’s more than that; you have to add an entry to the httpd.conf Apache file.
If you’re using cPanel, try adding a subdomain entry *.nimwit.co.uk with the path of the default directory. If Apache is configured to support this, you won’t have to touch any other files.
Read these for more info:
http://ma.tt/2003/10/wildcard-dns-and-sub-domains/
http://steinsoft.net/index.php?site=programming/articles/apachewildcarddomain
[REPLY TO THIS]

Nimwit at 2009-03-27T11:16:20.Hmmm.. I dont have access to Apache as I’m on DreamHost shared, the httpd.conf file is part of Apache which I don’t think I can change. I have the .htacces file from your files.
The short urls now all forward on to my domain after a quick resave of the apache settings so it rebuilt the httpd.conf in the background (not that I can see it) so that all works fine now.
I’ll keep searching around.
N
[REPLY TO THIS]

Nimwit at 2009-03-27T11:24:21.the forward.php file does not seem to function / work or urls are simply not being sent to it from the .htaccess file I guess.
[REPLY TO THIS]

Nimwit at 2009-03-27T11:43:52.Do you think it’s something to do with the .co.uk and the array( ?
[REPLY TO THIS]

Nimwit at 2009-03-27T12:41:56.Right I’m going to stop posting comments as I’m making a mess of your post.
Sorry. Delete if you like, it’s in the wrong place anyhow!
N.
[REPLY TO THIS]

Nimwit at 2009-03-27T22:24:07.Sorted it, my stupidity. It was the .htaccess file, you might want to add this to your readme.txt:
2009-03-27: If you are using this code with a .co.uk domain don’t forget to add the “\” in the .htacccess file;
i.e. .co.uk to \.co\.uk
Have you ever had this error:
Fatal error: Call to undefined function bcadd() in /DOMAIN NAME/global.php on line 18
I’m getting that when I try to do the auto submit, It’s an adding function of some sort…
[REPLY TO THIS]