Archive for the ‘Geekdom’ Category

2 pages:1[2]

Funk Up, Funk Down.. Funk it!

Funky Funk Funk!

What the fu*k is going on? I was really really itching to blog during the weekend but I lack inspiration so excuse me if I’m throwing it all out now with all the ‘funk’. If other people suffer from LSS or last song syndrome, I am currently suffering from a last expression syndrome. I think the word ‘funk’ just burned itself at the back of my brain (curse you Kenns and your ‘flunky furry funk’). So excuse me again for the annoying overuse of the word. I don’t know if using it is a bad thing or a good thing but hey you can read it as though I’m saying the F word or some other word. Hmmm.. So ready? Let the annoyingly little funk begin! :P
Site Funkdates

If you have been here before, like say a month ago and just came back today, you probably would notice that there are a lot of changes with the site.

Twitter Updates
My Twitter badge

Where to Grab Older Versions of Wordpress

Wordpress is a very popular blog software used by a LOT of blogs out there in the www. One of which is my own blog. The latest version as of press time is 2.1.3. I have been asked before how to get the old versions of Wordpress and I also have asked myself that same question long ago. There are no archive links to display the older versions of the software but you might ask, how do you get the older versions of Wordpress just in case you prefer using that or need to use it?

It’s usually not advisable to use an older version of wordpress especially and I mean ESPECIALLY if there are known major bugs or loopholes in that blog version but if you insist, here’s a secret how (actually, not so secret at all) …

If you would observe, to get the latest version of the Wordpress software (in zip format), you follow this link http://wordpress.org/latest.zip and if Wordpress would be releasing a new version, they would still use the same filename for the latest.

Yeah! It Worked!!!

I hate it when a plugin suddenly no longer works because of a wordpress update. And the Lightbox plugin is one of my favorite plugins that suddenly doesn’t work anymore after upgrading to Ella.

Egad, 3 posts in 1 day… talk about blabbing too much. :roll:
Back to the plugin.. I visited the plugin’s page and the author hasn’t updated for Ella yet. There was a visitor there though, Alan, who was able to figure out what to do with the first part…

he changed a part lightbox-plugin.php from this:

preg_match_all('/\<a(.*?)href="(.*?)"(.*?)\>/i', $content, $found);

to this:

preg_match_all('/\<a(.*?)href=[\"\'](.*?)[\"\'](.*?)\>/i’, $content, $found);

It worked but then I still found a bug when it comes to using series… aaaah (putting the photos in batches/groups) and yey! I made my own solution! And it worked!

I replaced this:

$nlink = str_replace($title[0].’ ‘, ‘”‘, $link);

with a few more codes that just checks something before doing something… :mrgreen:
$testq = substr($title[0], 0, 1);
if ($testq != ‘”‘){
$nlink = str_replace($title[0].’ ‘, ‘$testq’, $link); // remove series tag, not using double quotes
} else {
$nlink = str_replace($title[0].’ ‘, ‘”‘, $link); // remove series tag, uses double quotes
}

Programmer’s Block

I cannot code.

Somebody should remind me that I am a web developer. Sometimes my brain forgets. I need to work on a script and I’ve been start it, finished the code, tested it, didn’t get the output I wanted and although I should be debugging it (which might be just a simple typo or misplaced variable), my mind is elsewhere.

I have been staring at a semi-blank php page in dreamweaver for the last 30 minutes that I decided to have a break (oh great, I need a break from doing nothing) and blog for a while. I know what I’m suppose to do and I have actually done this before… My only weirdness is that I can’t make myself continue typing out the codes and test it again. My mind is willing but the flesh won’t cooperate. Joiz snap out of it already!

@_@

Thank you to those who greeted me on the forums and through sms and through IM and email and to those who called and even to a few who visited me personally. I didn’t receive pictures of pets or half naked men greeting me on skin like I did a few years back. :lol: my friends provided me with such funny memories to blackmail them with…

2 pages:1[2]