登录 注册

登录

问题 教程:升级CB为新版1.2.1

更多
2009年05月27日 11:27 #1 作者: yooyooh
FOLLOWING APPLIES FOR UPGRADES FROM CB 1.1 and CB 1.2 RC releases:
SEE FIRST EXTRA INFO FOR UPGRADES FROM CB 1.0 AT BOTTOM OF THIS DOCUMENT:
下列应用适合CB1.1和1.2版本:

SUMMARY OVERVIEW OF NORMAL UPGRADE
常规升级总结概览
1)  Save your ue_config.php file (to be able to restore later)
    保存ue_config.php文件(后面要用以恢复)
2)  Make sure you have all extra CB plugin packages used on your
    site (you will need these these later in the process).
    Unistall CB component.
    确信已在网站上备齐所有CB插件包(以后进程会用到)。然后卸载CB组件。
3)  Install new CB component from your CB 1.2.1 distribution package.
    Restore your saved ue_config.php file.
    安装CB1.2.1组件包。然后还原文件ue_config.php 。
4)  Take notes regarding your existing parameter settings for the
    existing CB Login module (you will need to reconfigure these
    parameters manually later on).
    查看你现有CB登录模块参数(以后需手动配置)
    Unistall your existing CB Login module and install the new one
    contained in the CB 1.2.1 distribution package.
    卸载现有CB登录模块并按照新版适用1.2.1的模块。
    After installations, publish and configure parameters (check
    notes you kept earlier).
    安装后,发布模块并配置参数(依照你早先的记录)。
5)  Follow previous step 4 for existing CB Workflow - Moderation module.
    依照第四步的步骤,操作现有的CB Workflow - Moderation 模块。
6)  Follow previous step 4 for existing CB Online module.
    依照第四步的步骤,操作现有的CB 在线模块。
7)  Remove existing CB related menu items and create new ones.
    Verify that the removed menu items are also removed from trash.
    删除现有的CB相关菜单项并重新创建。确保清空垃圾箱。
8)  Reinstall any additional plugins you had (see step 2).
    重复安装你需要的相关插件(参见第二步)。
9)  Inspect existing user lists and make needed changes.
    检查现有用户列表并做必要的改变。
10) Run CB Tool checks on CB databases.
    运行CB工具检查CB的数据库。
11) Done!
    完毕。

附:升级详情;不明白的请参阅。
DETAILS OF NORMAL UPGRADE

1)  If upgrading from any previous version you may want to make a copy of
    your configuration file:
    administrator/components/com_comprofiler/ue_config.php
    and of your language file and/or cb template if you modified them,
    off-server, or at very least outside the com_comprofiler directories.
 
    IMPORTANT As for any installation: BACKUP FIRST your database and files.

2)  Check in joomla/mambo installer that the directories and directory
    contents are writable first:
    - components ( and components/com_comprofiler )
    - administrator/components (and administrator/components/com_comprofiler)
    - modules ( and modules/mod_cblogin )
 
    Then uninstall Community Builder (comprofiler).
 
    NOTE: Don't uninstall CB plugins (this will keep their parameters).
    This WILL NOT DELETE:
    - any data in the database
    - any parameters for fields, tabs, plugins, user data;
    But IT WILL DELETE additional CB plugin program files only (not their
    parameters). That's why you will need the CB plugin installers.
    IMPORTANT: You will need to REINSTALL these CB plugins later at last
    step.
    WARNING: Some third-party CB plugins come with modules and/or mambots
    which do not test for the CB plugin being installed, which can
    result in errors or blank screens. If you don't reinstall the
    corresponding CB plugin you may need to unpublish or uninstall
    the corresponding modules and/or mambots.

3)  Follow step 1 from the README-NEW-INSTALL.txt file
    (Install com_comprofiler.zip as a component)

3b) You can now replace the default ue_config.php
    file by the ue_config.php that you saved in step 1) above.
    IMPORTANT: once you have restored your ue_config.php file, you need
    to go to CB configuration and SAVE the configuration, so that core
    names fields publishing is updated correctly.


    NOTE: In CB 1.2.1, in users-lists, the "public frontend" and the
    "public backend" "User Groups to Include in List" are not expanded
    anymore to all the corresponding frontend, respectively backend
    user levels, so you need to select them individually.

4)  You need to uninstall mod_comprofilerlogin or
  mod_cblogin452 or mod_cbloginRC2 or mod_cblogin
    (depending on the CB version you have installed) and
  install the new mod_cblogin, as it contains added security needed by CB.
  Before you unistall the login module, you should take a note of the
  module parameter settings you have configured, since you will need to
  redo these after reinstalling.
  After reinstallation make sure you enable/publish the module and
  reconfigure and parameter settings you need.

    (see step 2 of the README-NEW-INSTALL.txt file for more detailed
    instructions of login module install process)
 
5)  You need to uninstall and reinstall mod_comprofilerModerator.
  Before you unistall the mod_comprofilerModerator module, you should take
    a note of the module parameter settings you have configured,
  since you will need to redo these after reinstalling.
  After reinstallation make sure you enable/publish the module and
  reconfigure and parameter settings you need.

    (see step 3 of the README-NEW-INSTALL.txt file for more detailed
    instructions of mod_comprofilerModerator module install process)

6)  You need to uninstall and reinstall mod_comprofilerOnline.
  Before you unistall the mod_comprofilerOnline module, you should take a
  note of the module parameter settings you have configured,
  since you will need to redo these after reinstalling.
  After reinstallation make sure you enable/publish the module and
  reconfigure and parameter settings you need.

    (see step 4 of the README-NEW-INSTALL.txt file for more detailed
    instructions of mod_comprofilerOnline module install process)

7)  Remove your existing CB menu items, and create new ones following
    steps 8 and 9 of the README-NEW-INSTALL.txt file

8)  If you had additional CB plugins installed (see step 2 above),
    you will need to reinstall them.
    Install additional plugins that you had before upgrading or check
    out additional plugins available at www.joomlapolis.com
    NOTE: plugins which have their parameters memorized by CB, but
          have missing program files are displayed in plugin list
          without clickable title-name, and with a barred plugin name.
          These will be displayed normally and usable again once
          plugin is installed again. If you don't wish to do so, you
          can delete the plugin parameters by selecting delete.

9)  If you have existing CB user lists, check that the fields that you want
    to see in users-list are also on profile.
    That was also the case earlier, except
    for username, name and formatted name, now it's also the case for
    those ones as well. You can do this in CB Fields manager.

10) This is a good time to check the CB database in
    Components->Community Builder->Tools->Check Community Builder Database
    Also after reinstalling any extra plugins you had (see step 8)
    check db of plugins and of fields (extra options in Tools menu).

11) Done !

Every man dies, Not every man really lives.

登录 或者   注册一个会员帐号 来参与讨论

更多
2009年05月27日 12:06 #2 作者: jackyking
升级直接用expert pack就行了,不用卸载、安装那么麻烦

文件附件:

本站维护下列组件汉化
  • Community Builder 1.2RC4 Qcontacts
  • uddeIM 1.6  Custom Properties Alphauserpoints
  • JomComment JComments JFusion

登录 或者   注册一个会员帐号 来参与讨论

更多
2009年05月27日 13:56 - 2009年05月27日 14:00 #3 作者: yooyooh
SUMMARY OVERVIEW OF EXPERT UPGRADE
专家升级模式

a) backup all
  全部备份
b) untargzip cb_expert_files_only_YOUR_MAMBO-JOOMLAVERSION.tar.gz directly to
   your main website folder
  直接解压cb_expert_files_only_YOUR_MAMBO-JOOMLAVERSION.tar.gz至网站文件夹
   or
  或
   untarzip (using 7zip like program) to your local PC/Mac to
   reveal 3 folders: administrator, components, modules
   upload 3 folders using any ftp client to your main website root
   
   over-writing same folders (don't worry - only CB files will be changed) 
  覆盖对应文件夹
c) remove tar.gz file (if you untarzip directly),
   and if joomla 1.5:
   remove modules/mod_cblogin/*j.xml modules/mod_comprofiler*/*j.xml
d) disable joomla registration and activate CB registration if needed
  禁用系统注册,必要时开启CB注册
e) use CB tools to check all databases and fix (CB, fields, plugins)
  检查数据库
f) open CB config, check name-display type, and save CB configuration
g) check tabs and fields positions
   (if your first installed CB version was before 1.0.0 stable)
h) if upgrading from very old CB 1.0 beta 3 restore avatars

Every man dies, Not every man really lives.
最后修改: 2009年05月27日 14:00 由 maturn.

登录 或者   注册一个会员帐号 来参与讨论

更多
2009年06月17日 21:35 #4 作者: Pooh
确认一下,从1.2.0升级到1.2.1是不是直接将cb_expert_files_only_j_1.5.tar解压后上传覆盖就能升级?有没有直接这样升级过的?

登录 或者   注册一个会员帐号 来参与讨论

更多
2009年06月17日 23:17 #5 作者: yooyooh
呵呵,楼上的兄弟胆小怕死啊,我覆盖升级过,没问题的,但是还请先做备份。

Every man dies, Not every man really lives.

登录 或者   注册一个会员帐号 来参与讨论

更多
2009年06月18日 07:49 #6 作者: Pooh
那我就这样升级一下,如果顺利,也算方便

登录 或者   注册一个会员帐号 来参与讨论

更多
2009年06月18日 17:01 #7 作者: Pooh
反馈一下,覆盖升级比较顺利

登录 或者   注册一个会员帐号 来参与讨论

更多
2010年10月31日 15:13 #8 作者: MisterZou
请问方法适用最新1.2.3版本的升级吗?

登录 或者   注册一个会员帐号 来参与讨论

更多
2010年10月31日 21:45 #9 作者: Joomla之门
CB 的升级不复杂。做好网站备份之后,直接用官方提供的 Expert Files 覆盖就行。

付费下载 Joomla 3 扩展汉化版: 我要付费支持 Joomla 之门!

登录 或者   注册一个会员帐号 来参与讨论