Medical Dictionary for Mac Dictionary.app

Thanks to lupine in this post in the studentdoctor.net forums, I finally found a medical dictionary that integrates with the Mac OS X Dictionary.app.  Thank you, lupine!

To use this file on Mac OS X, simply move the file to “Home > Libraries > Dictionaries”; close and reopen Dictionary.app, and the Medical Dictionary should appear alongside the Dictionary and Thesaurus.  Tested in Mac OS X 10.5.8.

P.S. A related resource is a spellchecker file of medical terms: Hosford Medical Terms ($3.00 shareware)

Advertisements

Adding Extra Fields to the WordPress User Profile: Checkboxes

C.Bavota wrote a nice tutorial on adding user profile fields to the WordPress database by modifying the functions.php file in your WordPress theme.  I followed his article with success; however, I ran into difficulty when adding checkboxes.  Here is my addition to his good code.

To use checkboxes, you need to do two things:
  1. First, you need to set a “value” for the checkbox input element (I use value=”yes”).
  2. Second, you need to appropriately set the “checked” attribute of the <input> element.
See the code below.
<input type="checkbox" name="my_field" id=" my_field " value="yes" <?php if (esc_attr( get_the_author_meta( "my_field", $user->ID )) == "yes") echo "checked"; ?> /><label for="my_field "><?php _e("My Field"); ?></label><br />