//----------------------------------
||###################################
\\----------------------------------
Licence : 
	You must have read and agreed with "licence.txt" is include in my package.
	
	This module is based on Invision Power Board version 1.x (IPS, INC owner at wwww.invisionboard.com), 
	Because I have modifed/edited IPB v1.x become a module for XOOPS portal, IPS INC will not have any responsible for any bugs and errors if it occurs.
	Please! Don't ask them any things concern with my module. So that, using my module with your own risk.
	
	My module is legal with the permission of IPS, INC and it is only distribued from my site.
	Please! Don't distribute my module if you don't know what are you doing.
||___________________________________		
\\###################################
____ Module name: IPB - Message Board
____ Compatibility:  XOOPS V2.0.3
____ Version : 1.22
____ Release : 19-Sept-2003
____ Author  : Koudanshi
____ Homepage: http://koudanshi.net

-----------------------------------
Update: 	
/---------------------
|Version 1.2
\---------------------
19-Sept-2003		Update to XOOPS 2.04
			Fix a few bug but I did not completely do yet.
15-Aug-2003		Hack new feature: Anonymous show on XOOPS's online users

10-Aug-2003		Fix bugs:
			Can not change email setting in My control panel.
			Can not login as Anonymous
			Can not upgrade when you don't have right access board
			Fix SQL database bugs.
08-Aug-2003
			Finished IPBM 1.2 Final
			New in this version:
				Using the final version of Invision Power Board 1.2 Final
				Can be upgraded for IPB module 1.1.3
				Fixed some bugs.
23-June-2003		Finished IPBM 1.2 beta3
			Include new features: 
				Can Install and remove IPBM from XoopsCP.
				Integrate profile of XOOPs and IPBM.
				Fix bugs.
				Auto generation Skin from IPB origin to work with IPBM.
				Groups user permission is fixed to work with both IPBM and XOOPS 
					for add user in separating XOOPS or IPBM (only work with 
					default groups of IPBM and XOOPS).	
				Auto login after registration (Validate or not)/Resend password/ from IPBM.
				

22-June-2003		Update to new IPB oringin 1.2
/---------------------
|Version 1.1.3
\---------------------
16-Apr-2003		Update to new IPB oringin 1.1.2
			Compatibility with XOOPS 2.0 Final
	
/---------------------
|Version 1.1.2
\---------------------
23-Mar-2003		Fix Avatar not show in Blocks (Top_members + New_members + Info_admin)
			Fix bugs why go to root when you in ipboard and login from XOOPS user menu.
/---------------------
|Version 1.1.1
\---------------------
19-Mar-2003		Update for compatibility with XOOPS2 RC3
03-Mar-2003		Fix Avatar not show if use from other host.
			Fix auto redirect bug when login by IPBM.
25-Feb-2003		Add auto reinstall function.
			Fix UserName don't list in Forum Leader.
			Fix afew session.
24-Feb-2003		Update to 1.1a
09-Feb-2003 		Auto redirect to last location after login.
			Fixed IPB sessions to full compatibility with XOOPS.
06-Feb-2003		Compatibility: XOOPS 2.0
			Can use both registration of XOOPS of IPB.
			Can login in both XOOPS or IPB.
			Can use any Skins at IBSkin.com for IPB 1.1 origin.
			Can use hack/mods which was show at my site.
			Fixed Avatar size error in IPB origin.	
			And more...

	03-Sep-2002: Fix PM reply not auto get uname from.
		         Change PM from userinfo --> full screen
	28-Sep-2002: Fix blank page after installed.
			 Fix keep smiles from original of user.
	11-Sep-2002: Fix login block.
	20-Aug-2002: Fix sort by joined, moderate CP post topic
	19-Aug-2002: Fix can't view emoticon, user name, avatar.
			 Fix member list at on both admin group link and global.
			 Fix temper user "Guest" can view in XOOPS admin.
			 Fix avatar can't view when register (bug by origin IBF).			 
	16-Aug-2002: Fix bugs edit users in Admin CP.

===================================
  ---- Notice after using IPBM 1.2 or later ----
---------------------------------------------

_EXTREMELY Notice that: You should not UNINSTALL your running IPB module 1.2, this fact will TURN ALL of your DATABASE go to the HELL. 
		         Because it will DELETE IPB module DATABASE.
---------------------------------------------


===================================
       ---- Tutorial: Install Fresh NEW ----
---------------------------------------------
1. You copy overwritten all of content inside "IPB_module_1.x" folder (include subs dir) into "yoursite.com/Xoops_folder_root_dir/" .

Trees dir discrible:
/___________________________________________________\
|---------------------------------------------------
|
|---|-- "upload" folder  ===Copy to=== |-- XOOPS 
|------|--- ..			     ---|--..
|------|--- include		     ---|-- include
|------|--- kernel		     	     ---|-- kernel
|------|--- modules		     ---|-- modules
|------|--- uploads		     ---|-- uploads
|------|--- class		     	     ---|-- class
|____________________________________________________
\ --------------------------------------------------/

2. Login as XOOPS AdminCP and active this module.
3. Login as XOOPS AdminCP and update system module, you have to turn ON "custom_session" in Preferences 's XOOPS for Autologin work.
4. Finish.
-----------------------------------

===================================
     ---- Tutorial: Upgrade From 1.1.3 ----
---------------------------------------------
1. Do step 1 as install fresh new.
2. Copy files inside "upgrade_script" folder into ipboard root dir "xoops_root_dir/" 
and use any internet browser to run this URL "yoursite.com/xoops_root_dir/ipb_upgrade_113_12.php".
3. Go to your new board.
4. Login as XOOPS AdminCP and update system module, you have to turn ON "custom_session" in Preferences 's XOOPS for Autologin work.


_______________________________________
||
|| Notice when upgrading:--------------------
---------------------------------------------
_You only need BACKUP your database with those TABLES that have "xoops_ipb" prefix and "xoops_users", "xoops_session", "xoops_smiles".
_You have to overwritten all of my files, include conf_global.php
_You have to delete these files .bak from your ipboard root dir "xooops_root_dir/modules/ipboard"
_After run upgrade script, I recommend you delete this script file for your own security.
_This upgrade script can only run ONCE time, 
    if you encounter any problems when run this script, you have to reupload your old database before run this upgrade script again. 

_______________________________________
||
|| Final things to say:--------------------
---------------------------------------------
If you can not do by your self, are you need my help?
Contact me this mail: koudanshi@gmx.net
I will help you as soon as possible,