====================================
UCenter Home 2.0  Discuz! X2.0 ˵
====================================

رʾ!!!
UCHomeDiscuz!ֹܽںϣUCHomeĲֹܣϵDiscuz! X󽫻Ჿֶʧ
а
ר⹦ܣԭUCHֹ֧֣ܽ
UCHͶƱUCH̳ͶƱʽںΪһ壬ᡢȺ鹦֧֣ܽ
UCHȺ齫µȺ鹦ܴڣԭȺᡢȺ֧֣ܽ
ϽµĵUCHԭеѧУϢҪд
UCHȫվʵ֧֣ܲ

ԼվȨǷUCHomeתDiscuz! X

I ǰ׼
---------------
1. 򱸷Ŀ¼ old
2. ԭUCHomeгƶ old Ŀ¼
3. ϴ Discuz! X ƷuploadĿ¼еĳUCHomeĿ¼
4. ִаװ /install
   װʱָԭUCHomeҽӵUCenter Serverַ UCenter汾1.6.0 UCenter 

II UCHome
---------------
1. װϣDiscuz! XԺϴconvert Discuz! XĿ¼
2. ִ /convert
3. ѡӦĳ汾ʼת
4. תвжϣֱԶִϡ
5. ת̿Ҫϳʱ䣬Ľ϶ԴӦѡеʱִ

III , Ҫļ
--------------------------
1. ༭Discuz! X config/config_global.php ļ趨ôʼ
2. ֱӷDiscuz! X admin.php
3. ʹôʼ˺ŵ¼̨»
4. ϵͳ˺ܶĿûȨޡȨޡ̳ȵȣҪϸһΡ
5. תƾɸĿ¼²ƷĿ¼ת֮ǰĶ̬־ۡԵеͼƬ޷ʾ
   a) old/attachment Ŀ¼
   b)ļƶ Discuz! XƷ /data/attachment/album/ Ŀ¼
   c)ͬʱ޸һ Discuz! XĴ
	 ־еѾͼƬַַͨ滻ΪµͼƬַ־ͼƬ޷ʾ⡣
	 £
	 Discuz! X ./source/include/space/space_blog.php 
	 ҵ
	 $blog['message'] = blog_bbcode($blog['message']);
	 ´룺
	 $home_url = 'http://your_home_site_url/'; // 뽫ӵַΪ UCHome վַ
	 $bbs_url = 'http://your_bbs_site_url/'; // 뽫ӵַΪ BBS վַ
	 $findarr = array(
		'<img src="attachment/',  //ԭuchmoeͼƬĿ¼
		'<IMG src="'.$home_url.'attachment/',  // ԭUCHomeͼƬĿ¼
		$bbs_url.'attachments/month',  // ԭ̳ͼƬĿ¼
	 );
	 $replacearr = array(
		'<img src="'.$_G['setting']['attachurl'].'album/',
		'<IMG src="'.$_G['setting']['attachurl'].'album/',
		$bbs_url.$_G['setting']['attachurl'].'forum/month',
	 );
	 $blog['message'] = str_replace($findarr, $replacearr, $blog['message']);

	 UCHomeĸǴĬϵ ./attachment Ŀ¼ô
	  <img src="attachment/ е attachment ΪԼĸĿ¼
6. תƾͼƬĿ¼²ƷĿ¼ת֮ǰĶ̬־ۡԵеı޷ʾ
   a) old/image Ŀ¼Ŀ¼µļ ƶ Discuz! XƷĸĿ¼
7. ָ space.php URLַķʣڻָ֮ǰĶ̬еվϢӽָ޷ʵĵַ
   1) utility/oldprg/uchome/space.php ļƶ Discuz! XƷĸĿ¼
8. ɾ convert Discuz! Xװ
9. Discuz! XƷйܾ󣬿ɾ ɵĳ򱸷ݺݱ