Categories

Categories

Archive

Archive

Pages

Pages

Petoholics Anonymous
31 Dec 07

Item Tooltips in Wordpress Revisited

Filed Under: Guides, Random Stuff | Tags: , ,

Note: Unless you are a Wordpress user or a web programmer geek, this post will probably be very boring to you.

If you’ve been using an installed version of Wordpress for your blog, you’ve probably noticed the little bar just under your admin menu to update to the latest verison 2.3.2. Apparently there’s some security fixes in there including the fix for a hack that allowed anyone to see your draft posts. Frankly, I wasn’t too worried about people seeing my draft posts (not like I have any national secrets or anything) but that little bar was bugging me because I’m almost OCD about keeping my software and stuff up-to-date.

Only doing this wasn’t simple for me because apparently the Wordpress scripts were using a little too much memory and I kept getting Allowed Memory Size Exhausted Error. In frustration, I downgraded and upgraded two more times, only to get the same result. I was about to write a email to my webhost when I happened to check their support database and lo and behold, there was my answer! I created a custom php.ini file, placed it in the subdirectory that is this blog and bing! Everything knows works perfectly. Did I mention that I love my webhost? Buy your hosting from her, she’s a super nice lady and has the cheapest prices you will ever see, I swear.

So, enough about that and onto a related topic that I’ve been meaning to cover for a while. Before, I wasn’t able to get ItemStats working on this blog so I had come up with a custom solution that was a little bit… complicated. I actually ended up getting ItemStats to work but I was having problems with it dealing with the permalinks and I don’t even think the entire script is supported anymore…

Then Thottbot, quickly followed by WoWHead, came up with their own handy solutions in the form of a JavaScript that you just link to. Seriously, that was it. So, this is my little tutorial of how to implement it in a Wordpress blog:

(Continue reading…)

27 Oct 07

Item Tooltips in Wordpress

Filed Under: Guides, Random Stuff | Tags: , ,

If you’re like me and you can get neither ItemStats or this script to work on your Wordpress blog, I’ve managed to come up with a solution, albeit not as easy as those. If I can get a script to parse some XML the way I want it, I can make it a lot easier. If anyone with PHP and XML experience wants to lend a hand, I’d sure appreciate it :)

Here’s what you need to do:

(Continue reading…)