Tag Archive for 'PHP'

Online Alarm Clock back online!

online alarm clockSince I recently made the switch to WordPress, I have been busy reorganizing my entire website and making it a bit stronger. I’ve taken on the task of recoding a majority of the Online Alarm Clock that I coded a couple of years ago.

I want to improve the back-end before I redo the front-end and cause more trouble. :P I’ve already simplified a large portion of the code, but my next task is to go in and eliminate ridiculous processes where some code might be repeated several times instead of being dynamic.

Once I get the back-end worked out a little more and cleaned up, I’m planning to publish the code as an Open Source package under a GNU license. Much similar to the way you would setup a forum (phpBB) or a blog (WordPress) on your site.

The package will be minimized as much as possible, but I’ll be sure to have plenty of information in the Readme.txt file. ;) Besides, the setup will be super easy. Just a typical config file that you will need to enter your database connection information into so users can be stored and alarms can be saved. ;) Requirements will basically just be PHP and MySQL (not sure which versions are compatible just yet though).

After I get the back-end all worked out, I’ll start working on some user interface templates and an admin control panel. I’m also thinking I should make a control panel for end-users so they can select themes, customize their own themes and anything else I can think of (or that’s suggested).

If you want to see what this Online Alarm Clock is then go check it out for your self! You can register for free and have an alarm to watch all of the online videos you want when you wake up!

If you’re interested in getting the Online Alarm Clock for your own site then you should check out the Google project that I started for it! You can download the package as soon as I get the first one ready, report issues that you find in the code and even track reported issues by others!

[Ask] [Bloglines] [del.icio.us] [Digg] [Facebook] [Feed Me Links] [Friendsite] [Google] [MySpace] [Reddit] [Rojo] [Shoutwire] [Slashdot] [StumbleUpon] [Technorati] [Windows Live] [Yahoo!] [Email]

What’s New..

Well, I think you’ll all find this useful at one point or another. I’ve implemented editing for user comments, finally. I’ve been meaning to do this for a while and correcting some errors here and there, but now you can correct your own or add more to your comment. However, there are just a few things you will need to know:

  1. You will not have the option to edit your comment unless your ip address is the same one that was used when you posted the comment. It is best to edit the comment soon after originally posting it since ip addresses do change frequently for some.
  2. You cannot edit your comment after a specific time period from originally posting it. I will use a 48 hour interval to start out with. This interval may change, but I’ll keep you up to date.

Off to finish F.R.I.E.N.D.S. on TBS!

UPDATE:
Quoting is also an option now! Both of these features rely on javascript and will be improved greatly in the near future. They are just kind of 1.0 versions I guess, or maybe alpha. ;) Enjoy.

[Ask] [Bloglines] [del.icio.us] [Digg] [Facebook] [Feed Me Links] [Friendsite] [Google] [MySpace] [Reddit] [Rojo] [Shoutwire] [Slashdot] [StumbleUpon] [Technorati] [Windows Live] [Yahoo!] [Email]

New site design under way..

I’ve been working on redesigning the site a bit so it doesn’t feel so cluttered. I’m not finished yet and still have a bit of cleaning up to do. However, I wanted to get some comments, feedback and constructive criticism. Please let me know the goods and the bads. If you can..please give a suggestion or 20. :D

I don’t want to officially launch the design yet, so I’m waiting for reviews. I’m curious if it’s better or worse and what is better or worse about it. I haven’t gone as far as setting up cookies or passing the css tag, so the style sheet will only apply on pages with css=2 appended to them. If you view another page and would like to see how it looks with the style sheet then just add ?css=2 at the end and press enter. Here are some links to get started..

- http://www.kyleabaker.com/?css=2
- http://www.kyleabaker.com/archive.php?css=2
- http://www.kyleabaker.com/news.php?news=71&css=2

heck them while their hot! I’ll be removing this feature/option soon and these links will be disabled. ;)

UPDATE:
New design is up. I’m still tweaking it and working in the comments and suggestions. Thanks for the feedback!

[Ask] [Bloglines] [del.icio.us] [Digg] [Facebook] [Feed Me Links] [Friendsite] [Google] [MySpace] [Reddit] [Rojo] [Shoutwire] [Slashdot] [StumbleUpon] [Technorati] [Windows Live] [Yahoo!] [Email]

Screenshots now use on-the-fly thumbnails

phpI finally got around to implementing thumbnails for the screenshots to the right and in the gallery! Basically, instead of loading full screen images (which take ages to load on a slow internet connection) you are now loading images that have been shrunk from the originals down to the size that you see so no bandwidth is wasted and you see them load much faster!

Here is how it works:
The script that I’m using takes a src param and a width param. [You'll see this if you're viewing the source of the images. ;) ] The src (or source) param is the path to the original full size image. Once the source or path to the image has been established, the script shrinks and caches (saves or stores) the image on the server and then sends it to you. This makes my job of maintaining screenshots much easier!

Just thought you ought to know. ;) You most likely would never have known that these images were served to you on-the-fly and are not actually stored on the server in the sizes that you see. Just a neat little php trick!

If you’re interested in the script that I used you can find it at phpthumb.sourceforge.net/. It’s open source and updated fairly often (just enough so it’s not out of date, lol).

Enjoy the faster page loads!

[Ask] [Bloglines] [del.icio.us] [Digg] [Facebook] [Feed Me Links] [Friendsite] [Google] [MySpace] [Reddit] [Rojo] [Shoutwire] [Slashdot] [StumbleUpon] [Technorati] [Windows Live] [Yahoo!] [Email]