Archive for September, 2007

This is a test, it is only a test: If it were not a test, you could download the plugin.

Saturday, September 29th, 2007

Regular readers may remember I’m working on a plugin to create a little text box containing text links ads. The ads could be affiliate links, my own resources or anything I like. I’m

Right now, the plugin:

  1. Fishes out ‘Amazon.com’, ‘Clickbank’ and ‘general’ links from the ‘aLinks’ database at random, and turns them into a little text link box similar to the one you see to the right.
  2. Redirects the “Clickbank” and “general” links. This turns them into “nofollow” links so you can sell without transferring your page rank to the product page. (Maurice of They Cayman Host suggested this.
  3. I can insert the box outside post content; outside the content. When I place the box outside content, I can adjust the color and size of the box. You can see one of these in the sidebar.
  4. Permits the user to insert ads inside a post by placing &lt!-injectad-> anywhere they like. I placed that code in the DIV box to right justify the box. However, inside content, I don’t yet permit customization of the ads. The box is outlined in grey, five ads appear, and you can’t adjust the width.
  5. Piggy-backs off “aLinks” a WordPress plugin that will auto-link words in a blog content. This lets me defer writing certain parts of the user interface until I identify the full functionality I want from my plugin.

For my purposes, the functionality is already pretty nice. Hoever, I find I discover what I want to change as I actually use it. So, for now, I plan to slap one of these ad in the sidebar and then hunt down some decent affiliate programs that permit me to just run text. Over the next week or two, I’ll also be adding whichever features I feel I need most and which I can figure out how to do easily.

In the short term, I’ll be adding functionality to let people customize the box width and colors when this is used inside posts, and to change the ‘Ad’ message in the lower corner.

This plugin isn’t available yet, and it doesn’t have a name, but you’ll be seeing the ads in various locations from time to time.

Two Ways To Hide Your Secrets from Google (and Everyone).

Friday, September 28th, 2007

You don’t have any secrets? No secret nude photos directory? No directory of your plots to take over the universe? No . . . WordPress plugins that scream “I post paid links?”

Well, remember that there are people who like to report paid links to Google’s snitch service. Some may know enough to load your plugin folder by typing http://yourpaidlinkblog.com/wp-content/plugins/ into their browser.

View of all pluginsIf they do, will they see a list of all your plugins?

What’s bad about letting Google snitches see this list?

Well, if you’ve got the “wrong” kind of plugin, the snitch may report you to Google for taking paid posts! (And the snitch is probably correct about the paid links. After all, why else have you installed AutoPaidLinkInsertion.php? )

Google may or may not spank your Page Rank for this, but your advertisers would probably prefer Google didn’t know you were selling paid ads. (And hey, who knows? If the word gets out, some advertisers may start checking your plugins folder to figure out if Google is likely to know you are a link farm. Hiding this list could mean more money for you.)

So, maybe you’d like to prevent snoops and snitches from seeing that list of files?
Here are two easy ways to do it:

  1. Upload an index.html file to wp-content/plugins. This will hide that file list in /wp-content/plugins. However, you may need to repeat this when you upgrade WordPress. Also, you won’t hide the listing in any other folders. That may not bother you- unless you are storing something you’d rather keep under wraps.
  2. Add one or two lines to the .htaccess file. Modifying .htaccess in the root directory can keep snoops from viewing listings in every directory on your site. If you think these snoops don’t exist, read Voyeur Heaven, which I discovered while Stumbling. Obviously, people snoop for many reasons including industrial espionage, curiosity, and, a desire to find porn.

How to modify the .htaccess file

Now, visit your web site using ftp. Find the ‘.htaccess’ file; the ‘dot’ in front is important. Now insert these two lines at the end of the file.

#prevent people from viewing directory listings
Options -Indexes

hide in htaccessThe first line is an optional comment. The second line prevents people from reading the list of all files when a directory that doesn’t include ‘index.php’ or ‘index.html’ file.

Now, save. Then visit your blog to make sure the blog loads. If it doesn’t, fix the .htaccess file immediately.

You’re done!

From now on, no-one can surf google for ‘index.php’ and discover stuff you might not wish them to see. Click to see how well it worked for me. http://money.bigbucksblogger.com/wp-content/plugins/.

Want a thumbsdown from a Stumbler? Create a blinking banner demanding a thumbs up!

Thursday, September 27th, 2007

Muhammad Saleem recently gave seven reasons for giving a thumbs-down at stumbleupon.
I thought his list was thorough until I came across this: A page that included a large blinking banner asking Stumblers for a thumbs up! Yes, that big red banner blink, blink, blink, blinks, blinks!

Thumbs Down For Blinking

OMG! Talk about giving me a reason to vote thumbsdown!