Lightbox 2 Quick Fix

Posted on by graeinler
Filed under: applications, hacking, troubleshooting | No Comments »

Author Homepage » http://www.stimuli.ca/
Plugin Homepage » http://www.stimuli.ca/lightbox/
On Wordpress » http://wordpress.org/extend/plugins/lightbox-2/installation/

I’ve addded Lightbox 2 for my plugin arsenal as part of this website semantic facade. Uncommon for most plugin installs, I got an error for this installation :(

Error:
Warning: opendir(/webpages/xx/bxxxxxxxxx/htdocs/xxxxx/domain.com/wp-content/plugins/lightbox-2/Themes) [function.opendir]: failed to open dir: No such file or directory in webpages/xx/bxxxxxxxxx/htdocs/xxxxx/domain.com/wp-content/plugins/lightbox-2/options.php on line 28

This “No such file or directory” gave it away as a quick check on the directory structure confirmed that its actually there. So it can only be of 2 things, the permissions on the folder or its filename.

I renamed the folder to ‘themes’ and it worked like a charm. I’ve never thought of linux to be picky on filenames but I have noticed that most have them in lowercase. I can’t explain why it happened, could be on the code of Lightbox or could be something else. But hey it works and I just love Lightbox 2.

Btw, if anyone can help me with my questions above, please feel free to educate me.

hacking phormer for seo (search engine optimization)

Posted on by graeinler
Filed under: applications, hacking | No Comments »

Phormer by itself is an excellent photo gallery software (consider the fact that it was last updated Jan 07). while it may have its fair share of shortcomings, most of those are overshadowed by the extensive capabilities it offers and the semantic approach to design by the author.

Earlier tonight as I was updating my photo gallery and adfchiteens I noticed that it lacks the Description meta tag (among others) for search engine optimization. Keen on wanting to have this option for a fully functional website, I made some codehacking on the scripts with good results. Below is a quick howto:

1. Create a backup of your existing funcs.php
2. Edit funcs.php and on line 1107, add the following code” <META NAME=”Description” CONTENT=”Your descriptive sentence or two goes here.”>
3. Save your changes and your done.
4. Verify your changes:
on Firefox: Tools >> Page Info >> Description
on IE6 : View >> Source

Hope this helps.

continue: