Category Archives: WordPress

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. 🙂

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! 🙂

To post or not to post? That is the question.

After reading Be Careful What You Post, this got me to thinking about something I’ve thought about fairly often. In the past there have been many things I’ve wanted to say or get off my chest that after thinking about it decided against making a post. The reason being, for good or bad, that anything you post, say in a tweet, or write in an “open” forum is there for all to view potentially. This includes past, current, or possible future employers or someone that knows someone who knows some person, company, or product you talked about. In this age, you know that anyone that is thinking about hiring you, that you currently work with, that you’ve just asked out on a date or whatever, is going to look your name up on Google or some other search engine or social network like MySpace, Facebook, or Twitter to find out what they come across.

Since I’ve been doing a lot of twittering lately (I think that addictive nature of my personality has, at the moment, grabbed a hold of Twitter), I sometimes wonder if people forget that what they say in @replies are completely open for public viewing. I also wonder about how private direct messages really are. I also wonder about the integrity of the authors/creators of all these Twitter clients and Websites that ask for a username and password.

So, I guess, in the end, unless you don’t care who might potentially read what you say and the possible repercussions if they do, well, then don’t post, tweet, or write it. 🙂

Advanced Category Excluder installed to control Daily Tweet Archive.

My gut reaction to having my Daily Tweet Archive/Twitter Digest posts appearing on the main page of my blog and, consequently, the home page of my main website was that it was a bit too much. I found the Advanced Category Excluder WordPress plug-in that lets you control what categories will appear on your blog home page, rss feeds, and so on. I have decided to use it to exclude my Daily Tweets category. You’ll need to click on the Daily Tweets category link in the side-bar of my blog or the Daily Tweet Archive link at the bottom of the Twitter Updates widget on my main page.

It’s entirely possible that I’ll change my mind and re-include it or lessen the space they take up by using the more tag. If nothing else, I found a useful plug-in LOL. 🙂

Blog has been upgraded to WordPress v2.7.1

I have updated my blog to WordPress v2.7.1 which was just released. This time I tried the auto upgrade option. It seems to have worked well. Even so, once again I did have 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;

I also had to reapply some code modifications, which I knew I would have to, related to the RSS Feed widget in /wp-includes/rss.php; however, I’ll make a separate post about why I modified it (didn’t I say that before?). Other than that the upgrade went smoothly. 🙂

As always, I did perform a complete database and file backup before upgrading! 🙂