Lirae.co.uk

  Skip to content?
 

Eureka!

Posted on May 5th, 2007 at 1:56pm

Ignore the blog entries...I'm fiddling around and messing things up, lol. :P Fixed. ;)

I seriously had a "eureka!" moment just now...which is strange because I'm knackered (I've been up all night, every night since my last entry, thinking of bloody PHP code :hmmhmm: ).

The search form for my EasyAsk&Answer script has been winding me up for as long as it's existed; it seems to work fine until it's near WordPress.

Well, I fixed it; you can now theme it like the rest of your WordPress pages and entries. You can go and redownload it now (you'll only need to replace "files/searchdb.php" ) and have it working by the time you've finished uploading that page and "search.php" (to have your WordPress themes included), or you can wait until tomorrow for me to write a quick little write-up (err...that doesn't sound right?) on how to get it into a WP page.
Why don't I write it up now? Because I've found that doing ANYTHING with my scripts when I'm not 100% "there" is breaking them...

I broke Little Wall O' Buttons the other day. :( If you downloaded the spam fix, you'll need to redownload and upload "addbutton.php"; I wrote
if(isset($_POST['isthisspam'])) {
when it should have been
if(!empty$_POST['isthisspam'])) {
it doesn't look like a big deal but it would have stopped anyone who tried to add their button.

You can stop throwing rotten food at me now...

Oh and I also removed some extra code in EasyAsk&Answer that was stopping some people from installing it. 8-)

I have so learnt my lesson: don't touch scripts if you're not 100% awake and alert.

Comments have been disabled for this entry.

 
 
 

All content is copyright © 2004-2008 Carlee Tibbs, unless stated otherwise.

Jump To The Top Of The Page