Archive for July, 2007

isValidDate JavaScript function

I’m working on a project right now that needs to validate a couple of fields to see if they’re valid dates before submitting the form so I went out looking for JavaScript code to validate dates. Most of what I found required the author to know the format that the visitor would enter the [...]

Joomla to SMF Bridge discontinued

Due to changes in how the Joomla authors are interpreting the GPL the bridge between Joomla and Simple Machines Forum is being discontinued. Since I don’t fully understand all the nuances of the GPL below is a quote from the announcement on the SMF forums along with a link to the full thread.
As some [...]

Quick mod for the Post Thumbs Wordpress plugin

Working on a site redesign, I found that I needed a plugin for Wordpress that would let me associate an image with the post that would act as a thumbnail on the pages where multiple posts are listed. I found exactly what I needed in the Post Thumbs plugin.

How to reset Webmin password

Forgot your webmin password? If you can login to the server via SSH you still may be in luck. Look for a file called changepass.pl in the webmin directory or as part of the webmin download. At the prompt type
PLAIN TEXT
CODE:

./changepass.pl /etc/webmin username newpassword

replacing /etc/webmin with the path to the webmin [...]

Get post_meta for another post in Wordpress

For a site I'm rewriting I needed a way to get the meta data for a Wordpress post from outside the loop, and it seems that the functions that handle reading the meta data only work from within the loop. So I can up with this short little snippet of PHP code that gets [...]