borja wrote:i cannot send you a private message with my email. any idea?
Well... seems to be a problem here. So I'll try to copy & paste. Since the max of a message is also limited I have to do two postings...
Before doing anything – backup your old and your new joomla installations- this is just in case!!!!
If you don’t have any clue what a database looks like (or what is does for that matter), what phpmyadmin is and how to copy and insert tables, forget this one. Please don’t “try” anything you can do a LOT of harm to your website! Wait for a decent How-To.
Make screenshots of your old joomla 1.5.x or 2.5.x installation’s settings of phoca guestbook. Will be a time-saver once you’re working in your new joomla 3.x environment.
Start by installing the latest phoca guestbook for joomla 3.X in your new joomla 3.x instance.
Then create a new guestbook.
Turn to your joomla 3.x database. In your joomla 3.x table YOURPREFIX-VERSION3_categories => find out which catid this one has - for example 1234567. In my case it’s the 526 for the first guestbook. You can also find this catid in the backend view of the phoca guestbbok component after you’ve installed the guestbook and created a new guestbook.
Start by copying the old whole table YOURPREFIX-VERSION-1.5.3_phocaguestbook_items from your old joomla 1.5.X database to the new joomla 3 database.
Optional - backup your YOURPREFIX-VERSION3_phocaguestbook_items from the new installed phocaguestbook 3.x
Then use this code in your database and please remember to use YOUR prefixes
Code: Select all
INSERT `YOURPREFIX-VERSION3_phocaguestbook_items` (id, catid, parent_id, lft, level, username, userid, email, homesite, ip, title, content, date, published, checked_out, checked_out_time) SELECT id+1 AS id, 10013 AS catid, 1 AS parent_id, ordering AS lft, 1 AS level, username, userid, email, homesite, ip, title, content, date, published, checked_out, checked_out_time FROM `YOURPREFIX-VERSION-1.5.3_phocaguestbook_items`
Then update like this
Code: Select all
UPDATE `YOURPREFIX-VERSION3_phocaguestbook_items` SET `language` = '*';
and one more time update like this - here you need your catid that you looked up beforehand!
Code: Select all
UPDATE `YOURPREFIX-VERSION3_phocaguestbook_items` SET `catid` = '12345678';