Proof That I'm Getting Old

I have to prove that I'm approaching 50, unlike a lot of men my age, who can't look any younger even if they use the best anti wrinkle cream that money can buy. When people see me in person for the first time, they can't believe I'll be 48 in a month or so. Whenever my age is guessed, it's always within the 30 bracket (30-39), although I have a receding hairline.

Read the rest of this entry »

An Extreme AdSense Optimization Plugin Request for WordPress

I'm writing this in the hope that one or more aggressive WordPress plugin developers will see it and turn my dreams into reality. I have written about optimizing AdSense in the past, but I don't want to go back into those articles to point out relative information.

Read the rest of this entry »

PHPText Blogger: Pre-Alpha Software Notes

I'm working on a programming project as the sole developer of a browser-based software application. I've dubbed it "PHPText Blogger" as a working name because it's only using PHP and text files formatted specifically for this application.

In order to use this browser-based application on Windows or Linux, I only need to have a web server installed which includes the PHP software. I'm using XAMPP for Windows right now.

Read the rest of this entry »

Deleting a Symbolic Link

Deleting a symbolic link should be easy, right? Try doing it with an FTP client. If you have shell access to your host, it is easy.

I used to have unused symbolic links all over the place. I could rename them, but I couldn't delete them. Recently, I remembered the PHP unlink function and used it to delete them all.

Read the rest of this entry »

When Google AdSense Just Doesn't Pay Enough

moola I'm always testing different advertising methods. I move ads around, I change the sizes and I even change the sources. I'm glad I don't have to rely on advertising revenue to live, or I'd be screwed by all the experimenting I do.

Anyone who's been using advertising services for any length of time should already know about the alternate URLs that can be used for contextual ad services when ads for a specific context aren't available. There are other ways, ways that I use, to choose which ad service to display ads for.

Read the rest of this entry »

Bypass WordPress Content Plugins with a Simple Hack

There are a few WordPress plugins that add text to the main content, such as "Related Entries" and "Similar Posts". (I prefer the latter due it being updated frequently.)

Other types of of plugins are available, but for my example I want to use Similar Posts. The proper way to include the plugin, in addition to the initial installation, is to add a line of code to single.php and/or index.php, similar to this:

<?php if (function_exists('similar_posts')) similar_posts(); ?>

By including the code in the theme, the plugin affects every post. How do you prevent it from affecting a specific post? Change that line to:

<?php if (function_exists('similar_posts') && !stristr($post->post_content, '<!– No Similar Posts –>')) similar_posts(); ?>

When you write or edit a post, you would simply add   <!– No Similar Posts –> to the end of the post, which would basically tell the post to ignore that plugin.

This kind of hack will work for any plugin that adds text onto the content. Sometimes it's easier to do it this way than to try to use the options available with the plugins.

Bowing Down Before The Google Gods

Back in August, I made a decision to stop displaying Google Ads. I've now made another decision: To start displaying them again. Don't worry. If you're a regular reader, you won't see them (except maybe the first time).

I'll be using the Who Sees Ads plugin from planetOzh. I'm not going to display the ads to returning readers or on posts less than a week old. Many of you will forget they're even there.

I investigated and signed up with more than 3 companies that claimed to be different, but what I saw was that they were Google AdSense "wannebees". Uh, no thanks. I also investigated and even displayed "in-line" text links for a few days. Again, no thanks. I considered Amazon for my other blog, because can I do specific targeting there, but I decided against it.

I never took the AdSense off the other blog. I couldn't find the time to mess with it until yesterday. Ah, yesterday. That was the day I made TONS of changes on both blogs, CSS and theme files alike. I cleaned out unused code on this blog's style sheet and added code to the other. The header at the other blog is a bit different now. I changed it so that it wouldn't look so much like the theme the splogs seem to be using a lot.

I'm trying to move away from sponsored posts, for the most part. There just aren't many opportunities available to PR0 blogs. Once SocialSpark gets underway, I may be inclined to head back in that direction again, but only if the opportunities warrant it. In the meantime, I need to make up the difference of what the exchange rate between the American dollar and the Philippine peso used to be and what it is now. It dropped from 52 pesos per dollar last year to 42 pesos per dollar recently. I can't wait for the dollar to rebound.