Home Page
DVD/Home Theater
SETI@home / Planetary Society
General MIDI Files/Links
Sound Blaster
MOD Files/Links
Hardware
Programming
Entertainment
NASCAR
IRC Stuff!
Pelicar RPG
Weather
Photo Albums
Blog
Myspace Page
Twitter
Facebook
View/Sign my Guestbook
Play Random MIDI
Start MIDI Jukebox
Stop MIDI Jukebox
MIDI Stats

Mark R Headrick's Web Page.

ME!OSU, Go Cowboys!
General Information

Send e-mail to
Page last modified: April 04, 2009.

Howdy! :) Welcome to my (previously cheesy) Web Page!

 29,389  People have stumbled onto this page.


What's New on Mark Headrick's Blog
Times shown are Central, US

Thursday, July 2, 2009 4:50 PM: How I got LongURL Mobile Expander 2.0.0 to Show Tooltips Again.

After updating to LongURL Mobile Expander v2.0.0 it stopped showing Tooltips with the destination when I would move the mouse over a short URL. I would also get “current domain is NULL” errors when browsing locally (I have a local copy of Apache installed for development). The problem existed in both Firefox 3.0.11 and 3.5.

I got it working after seeing a comment here: https://addons.mozilla.org/en-US/firefox/addon/8636 so all the credit goes to Matthias Jansen.

Edit the file: C:\Documents and Settings\(user)\Application Data\Mozilla\Firefox\Profiles\(your profile)\extensions\{a7101e54-830c-4d33-a3ed-bedc17ec44da}\content\longurlmobileexpander.js

I am using Windows XP so your location might be different.

Around line 79, change

var current_domain = document.location.href.match(/^https?:\/\/(?:www\.)?([^\.]+\.[^\/]+)/i);

To:

var current_domain = document.location.href.match(/^https?:\/\/(?:www\.)?([^\.]+(\.[^\/]+)?)/i);

After doing this and re-enabling the extension.. it started working. I can now see the tooltip pop-ups and it's supposed to fix the current_domain is null problem. Hopefully this will help anyone else that ran into this issue. :)

Add/View Comments

Monday, June 29, 2009 6:24 AM: My URL Shortening Service now has a preview mode.

My URL shortening service at http://mhurl.com, that I mainly use with my blog to create Short URLs for new posts to be tweeted about, now has a preview option you can enable that will show the destination URL, which you can then decide if you wish to click on or not rather than automatically being redirected to the destination. In order for this to work your browser must be set to accept cookies. If you are like me and have 3rd-party cookies disabled, that is fine.

Once you have it set, you can test it with this Short URL which should be created after I publish the post: http://mhurl.com/2.

Even though I will not send anyone to a questionable site, I understand many would want this ability. :)

Add/View Comments

Wednesday, June 17, 2009 4:36 AM: Testing my own shortening service, post 1

Hopefully this works correctly on my production blog the first try LOL.

Publish!

Update: It Worked! http://mhurl.com/1 links to this post now. The Longurl.org website and DestroyTwitter Twitter client are able to preview the link without any problem.  TweetDeck v0.26.1 and TwitterFox 1.8.1 are not able to.

I modified the WordPress Twitter-Tools plug-in to create the short-urls using my shortener before sending the tweet out about the post. :)

Add/View Comments

Thursday, June 11, 2009 5:21 PM: Blog has been upgraded to WordPress v2.8

I have updated my blog to WordPress v2.8 which was just released. This time I tried the auto upgrade option. It seems to have worked well. Even so, once again I had to edit the /wp-includes/vars.php file to force $is_apache to true (see below) since the SERVER_SOFTWARE variable comes back as WebServerX instead of Apache.

// Server detection
 
/**
 * Whether the server software is Apache or something else
 * @global bool $is_apache
 */
//$is_apache = ((strpos($_SERVER['SERVER_SOFTWARE'], 'Apache') !== false) || (strpos($_SERVER['SERVER_SOFTWARE'], 'LiteSpeed') !== false)) ? true : false;
$is_apache = true;
/**
 * Whether the server software is IIS or something else
 * @global bool $is_IIS
 */
$is_IIS = (strpos($_SERVER['SERVER_SOFTWARE'], 'Microsoft-IIS') !== false) ? true : false;

There was some code I modified in the RSS Feed widget in /wp-includes/rss.php in previous versions; however, so far it looks like I may not have to reapply that code. After completing the upgrade I did notice that I had to upgrade the TinyMCE Advanced plug-in for WordPress 2.8 compatibility.

Other than the modification to vars.php which I have always had to do, the upgrade went smoothly. :)

Of course, I did perform a complete database and file backup before upgrading! :)

Add/View Comments

Sunday, June 7, 2009 4:31 AM: Wall-E added to DVD collection!

A long time coming; however, I've added Wall-E to my DVD Collection! Well, actually, my mom got it for me as a birthday present. Thanks mom! :) Really a great movie. I highly recommend watching it if you haven't. As always, I've scanned in the cover, provided a trailer, and included links to IMDb and DVD-Empire. :)

Add/View Comments


General Information

Coca Cola

Website was created with HomeSite v4.5 After Macromedia purchased HomeSite I stopped upgrading. It seems to do the things I want.. so why upgrade? Also, some aspects of version 4.5 that I use on occasion were removed from later versions.

Valid HTML 4.01 Transitional Surpass Hosting SiteUptime Web Site Monitoring Service
Uptime Statistics

Total execution time: 0.3099 seconds.