// ------------------------------------------------------------------------- //
//                      MyAddress - XOOPS addressbook                        //
//                        <http://www.kuri3.net/>                          //
// ------------------------------------------------------------------------- //

Sorry, this module is supposed to be used by Japanese.
When you make any other language version, you are supposed to pay attensions to:
- Addressbook search keys that are hard coded in include/function.php.
- Japanese reading of first_name, last_name, fullname used as search keys may not be needed in English speaking country or non Multibytes countries.
- Other Multibytes functions are used in sql or characters conversion.
- Zipcode table and zipcode search functions must be arranged to yours.

HOW TO INSTALL:
- Unzip MyAddress into modules/myaddress directory.
- Configure the module in admin section.
- Create categories in the MyAddress admin section.
- Make a new group and give it a permission to access this module by blocks_access_permission menu in the MyAddress admin section.
	NOTICE!	Remember anonymous group can't access this module.
- Check categories_group permissions in the MyAddress admin section.
- Create relations in the MyAddress admin section, or you'll see so many php notices saying "relations undefined".
- Choose search results items to diplay on viewcat.php in the name-based mode in the MyAddress admin section. (thx tohokiaiki)
- SSl are highly recommended to keep a personal privacy secured.

ABOUT zipcode:
- Install Marijuanna's 'postalcode' module, available on the Mari's site. Thanks Mari!
	You can download here : http://marijuana.ddo.jp/
	Notice:
	Must have a mysql privilege of 'load' command, or you'll fail to install postalcode data.
IMPORT addressbook or company profile:
- You can easily import csv file like this:
-	Upload a csv file, eg.hudemame.csv, to any directory you like, eg. XOOPS_ROOT_URL/uploads.
-	Log into mysql and make a command:
	$ load data infile '/home/xxxxx/public_html/uploads/hudemame.csv' into table xxxxx_myaddress_addressbook fields terminated by ',' optionally enclosed by '"' ignore 1 lines (aid,c_id,last_name,first_name,last_name_jh,first_name_jh,fullname,fullname_jh,cdepart,ctitle,cphone,cfax,mycellphone2,myemail2,myemail4,ccomments,relations,first_name2,myzipcode,myaddress1,myaddress2,myaddress3,myphone,myfax,myemail1,myemail3,mycellphone1,mycomments,disclosed,uid);
	cf:	ignore 1 lines			in case the first line is header.
			(aid,c_id.....)	 		items in sequence of the csv file.

MySQL CONFIG:
- MySQL substring statement for Japanese requires default-character-set=ujis. Configure MySQL<v3.23.15 with an option "./configure --with-charset=ujis" , or edit my.cnf.

Good luck.
