In this tutorial we explain how to make a dropdown menu to display a username and allow the user to access their settings, history and sign out button. We started using the reinventing a dropdown with css and jquery tutorial and modified it to our needs and to improve the overall look and feel by [...]
Tutorials
jQuery Dropdown User Menu
December 19th, 2011PHP-CLI Script to Monitor Domain Name
December 2nd, 2011This is a PHP CLI (Command Line Interface) script to monitor domain name availability. You must have PHP CLI compiled on the server to use this script, and have the proper permissions to set up a cron job to run it periodically. When a domain name becomes available for registration, the domain name is appended [...]
Zipcode Proximity Search
May 6th, 2011The following PHP function is to search for zipcodes within X miles away from the zipcode searched. function getZipCodes($search, $miles_away) { ini_set(’memory_limit’, ’256M’); // set 128 MB memory limit $lines = file($_SERVER["DOCUMENT_ROOT"].’/demos/zipcode-proximity-search/zipcodes.csv’); foreach($lines AS $line) { $parts = explode("\",\"", $line); $zipcode = str_replace(’"’, "", $parts[0]); $latitude = $parts[1]; $longitude = $parts[2]; $type = $parts[5]; if($type [...]
Display Top Posts in WordPress with Google Analytics
March 24th, 2011In today’s tutorial we show you one way of displaying a list of the most popular posts in your WordPress template or sidebar. To do this you must first set up your site to use Google Analytics and make sure you’ve placed the code snippet in your theme’s footer.php. Next install the “Google Analytics Dashboard” [...]


