12/11/08

Dynamic Titles for WordPress Static Pages

EDIT: The links in this post no longer work; I have taken down the Secret of the Solstice repository. The plugin for the repository can be downloaded through this page.

I encountered a problem after pushing the Secret of the Solstice repository live. As you click through the pages to the various items, the browser title remained the same throughout.

If someone were to search for the Anti-Death Penalty Pendant 1% on a search engine, the only listings which would appear would be the main SotS page if by chance the item was listed under the latest gears column or the main gears page. The actual item page would not appear due to the browser title being the same as the main gears page.

A little background info on how I set up the pages.
Continue reading

07/9/08

Limited or no connectivity

A week or two ago, I lost internet access. I checked the router and the settings were not changed. The other computer had internet access. I checked my ethernet cable, my ethernet card, and fiddled around with the Windows network settings with equally negative results.

Turned out my problem was following the Windows Automatic Updates’ recommendation to update to XP SP3. A whole bunch of people had the same problem as me after installing SP3. They would receive the “limited or no connectivity” message on their network icon and pull their hair out trying to find the cause.

A simple uninstall of SP3 through the Add or Remove Programs tool under the Control Panel fixed the connectivity issue.

Forward three weeks later, the automatic update from Windows struck again, installing a security fix which seemed to fix my internet connection to not allow me to connect. Again, the only workaround was to uninstall the fix. And turn off the automatic update so this does not occur again.

This may have been a ploy by Windows to push everyone towards Vista!

06/10/08

Clicking Madness in Opera

I usually use the Opera browser for administrative purposes as part of my work. Firefox and Internet Explorer are relugated to their status as test browsers.

Anyhow, while madly clicking away on the Opera window, I noticed the pages would jump back and forth. Turns out that holding down the right button while clicking the left button will go back one page and vice versa for holding down the left button while clicking the right button.

Improvements upon the user interface continue to make large strides forward!

04/14/08

Stop the Spam, Create your own CAPTCHA

From the official site, CAPTCHA stands for Completely Automated Public Turing Test to Tell Computers and Humans Apart. If you drop the “to” and “and”, shouldn’t it read CAPTTTCHA instead?

CAPTCHAs are those images you see with a phrase in them. The user has to type in the phrase they see in the image and the script upon submission will compare the user phrase with the saved phrase. If the two match then the submission goes through; if not, the user is booted back to the form usually with an error message.

The reason for the use of CAPTCHA images is to tell computers and humans apart as the meaning says. Computers have a hard time determining the phrase because of the other lines criss-crossing over the letters, so scripts can’t be run on the comment form.
Continue reading

04/4/08

Frobie Shop Online

The Frobie Shop is now online.

I signed up for an Amazon affiliate a long, long time ago when Frobie.com was originally a listing of free after rebate products. When I lost my direction in terms of improving and marketing the website, the Amazon account drifted away into limbo. I didn’t have any use for the account and the hassle involved in closing down the account took much too long.

But now, the account has been resurrected.

It’s alive, ALIVE!!
Continue reading

03/26/08

Using POST and XML in AJAX

In an earlier entry, Missing Data After AJAX Call, I threw a hack together to return multiple values which required parsing based on a separator on the client side.

After testing, I realized using a character as a separator is a bad idea. The data returned could have the character as part of its value and screw up the parsing later on the client side. Storing the data as XML and returning the data as such makes for a more elegant solution.

I also wanted to send a large amount of text through AJAX and the GET request was not getting the job done. Using POST instead of GET works well; the reason behind it is similar to why it works for forms or forum postings.

Talking about the what’s and why’s does not make it very clear. That is why I brought an example with me including the corresponding code. w00t!
Continue reading

03/18/08

Pagination with PHP

The other day, I was looking for a decent tutorial on creating pagination using PHP. I did a couple Google searches, but the results did not fit my criteria. I was looking for a caterpillar pagination where there is a head, a tail, and a middle section that moves along as you click through the pages.

Previously, the site I was working on had used a previous/next deal where the user would just keep clicking next to get further through the records. But, this type of navigation takes too long to get to the end and is not very search engine friendly.
Continue reading

03/11/08

Missing Data After AJAX Call

I was working through the night last night, burning the midnight oil as they say, trying to get this AJAX deal to work. I had to fill a select field with options once the user selects an option from a second select field. But, every time I made the AJAX call to retrieve the data, the target select field remained empty… in IE. Argh! IE! Why do you haunt me so?!
Continue reading

03/2/08

Open Flash Chart

In an earlier blog entry where I spoke about moving hosts, I mentioned using Chris Heilmann’s Canvas Pie Chart in some way. Unfortunately, I never got around to digging into the code to create something for Frobie.

However, while browsing through SourceForge for cool scripts, I found another option for my graph creations. The option turned out to be an open-source flash script created by John Glazebrook called Open Flash Chart.
Continue reading

Pages:  1 2 3