Archive for the ‘freeware’ Category

Ultimate SEO URLs 5 small bugfix

Tuesday, July 27th, 2010

I noticed that some stores with multiple languages were behaving strange: If you click a given link, the store changed it’s display language.

Examining this problem further, I found that the culprit was in the “Main” link, which had to open the store’s main page, but it was switching the active language as well.

So, to duplicate the error, you have to create a link to any page, with some parameters. Then you create a new link to index.php WITHOUT ANY PARAMETERS.

The result is that the parameters from the first link are DUPLICATED in the second link.
You can reproduce the error by adding this code to any page:

echo tep_href_link('index.php', 'param1=xx&amp;param2=xy').'< br />';
echo tep_href_link('index.php');

It will show something like:


These parameters in the latter shouldn’t be here, correct?

The solution is quite simple, and involves adding 2 lines to the file includes/modules/ultimate_seo_urls5/classes/usu.php, in the function public function href_link.

I will let you think about it a little. Contact me if you need help in fixing this 😉

Cutting Master 2 (compatible with Corel Draw X5)

Friday, July 2nd, 2010

Today I was trying to install my Craft Robo for use with Corel X5, and found several forum threads asking for the newest version of CM2 to use with Corel X5.
Amazingly, Graphtec’s sites in UK and USA are still providing the older versions (1.61 and 1.70 respectively), which are not recognized by Corel X5.

I then searched the Japanese site and found version 1.71, which worked like a charm with X5.

So, you can find download the new version here. Or in this page (in Japanese).

Let me know if this post helped you in the comments below. Cheers!

importer from Comdev One to phpMyFAQ

Friday, January 30th, 2009

I made this script to import the faq database from an old faq system I had (Comdev One, from FYI: it was version 4.1.

The problem is, the old script is encrypted with Zend Optimizer, and I prefer to use an open source script. Besides, phpMyFAQ is much more feature rich than ComDEV’s.

So, I made this converter to copy the FAQ categories and contents from comdev into my phpMyFAQ installation. Beware: I coded it in two hours, and tested it only to see if my contents were imported. Therefore, anyone who dares to use it shall not blame me!

OK, here are the instructions:

* install phpMyFAQ in your server;
* install a copy of your previous comdev’s database
* open the file faqimport/includes/configure.php and edit the databse parameters. Also, edit the define for DB_PREFIX to match the one used by phpMyFAQ
* run the importer;
* It’s done!

Note: The importer truncates all involved tables before importing anything, so if you want to keep any categories, faqs or stats, don’t use this importer!

In case you need some scripting services, feel free to contact me at claudio.imai (at) gmail (dot) com


Claudio Hideki Imai