1. 论坛系统升级为Xenforo,欢迎大家测试!
    排除公告

vBulletin 3.6.6 中文版发布 - 未来vBulletin Blog所需的最低版本

本帖由 十方俱灭2007-05-13 发布。版面名称:源码讨论

  1. 十方俱灭

    十方俱灭 New Member

    注册:
    2006-04-22
    帖子:
    116
    赞:
    0
    vBulletin 3.6.6

    自上个 Bug 修正版本 (3.6.4) 到现在快 6 个月了。因此这次发布的 3.6.6 版本包括了大量的 Bug 修正和系统调整。

    vBulletin 3.6.6 是未来的 vBulletin Blog 和 Project Tools 产品所需的最低版本,包含了为这些新系统准备的多个新钩子 (包括需求最大的 fetch_musername 钩子) 和代码更改。这样,某些 vBulletin 存在的功能也得到更新,比如管理面板中的日期选择控件,现在都包括了为 Project Tools 设计的日期弹出选择器。

    [​IMG]
    在管理面板中使用新的日期选择器设置公告日期

    对插件作者来说,调试模式下所有 vBulletin 页面底部显示的信息现在得到了极大的增强,不仅仅显示被调用的模版,还显示所有被 PHP 包括的文件和所有被调用的钩子 (包括有代码执行的钩子和没有代码执行的钩子)。

    [​IMG]
    在 vBulletin 3.6.6 可用的新调试信息

    vBulletin 3.6.6 修正的问题和错误的完整列表

    新的 Javascript 框架

    随着 AJAX 和其它客户端脚本系统的使用日益频繁,版本 3.6.6 首次引入了多种新方法处理 vBulletin 中的 Javascript,尽可能的将 Javascript 从模版中分离出来。

    为了达到这一目的,我们需要一个坚固的框架来构建,因此我们决定采用 Yahoo! 用户界面 Javascript 库 (YUI) 来处理大多数的 DOM、事件和 XML-HTTP,并且在将来的版本中,您会看到我们对这一优秀的 Javascript 库的更好的应用,我们会将老的 Javascript 代码合并到 YUI 的基础中。

    默认包括在 vBulletin 软件包中的库为 DOM/事件库 (yahoo-dom-event.js) 和 XML-HTTP 连接处理器 (connection.js)。

    从老版本升级

    3.6.6 是一个维护版本,我们推荐所有客户升级,以修正 6 个月来发现的 Bug,获得稳定型的提升。某些管理面板的输入验证错误也已经解决,因此,非预期错误将不会发生。

    您必须对老版本进行完整的升级(不能通过打补丁升级),因为修正所有 Bug 带来了大量的代码修改。

    完整的升级说明在这里

    模版更改

    从这个版本开始,我们对模版更新记录 (自 X.Y.Z 以来更改的模版) 的格式进行了修改。

    原来的列表是基于论坛功能的更改来组织的,这会导致几个模版被多次列出,有些是强制的修改而有些则不是。

    3.6.6 模版更新记录是根据模版来组织的,因此每个模版仅列出一次,所有对那个模版的更改都会列在这个模版名称的下方。如果这个模版中的某处修改是强制的,那么整个模版会被当作是强制修改的模版。

    我们希望这一改变能够让您更快更好的修改您自定义过的模版。

    PHP 和 MySQL 需求

    请注意 vBulletin 3.6.x 需要至少 PHP 4.3.3MySQL 4.0.16 或更新版本。

    下载 vBulletin 3.6.6

    与往常一样,所有拥有有效许可证的客户都可以在客户区下载到 vBulletin 3.6.6 中英文版本。

    vBulletin 客户区
     
  2. 十方俱灭

    十方俱灭 New Member

    注册:
    2006-04-22
    帖子:
    116
    赞:
    0
    从 3.6.5 以来强制修改的模版

    强制修改的模版意味着如果您不对老版本的模版应用这些修改,那么某些论坛功能会明显的无法正常工作。小问题可能导致图片无法显示 (红叉),大问题可能导致数据丢失因此请尽快应用这里列出的模版修改。

    请记住,您只需要手动应用修改到那些您曾经自定义过的模版。使用“查找更新模版”选项并交叉参考本列表 (如果您是从 3.6.5 升级)。我们推荐您恢复自定义过的模版,并重新自定义这些模版,以保证模版包含最新更新。
    • editor_toolbar_on
      编辑了与创建编辑器对象相关的 Javascript,添加了 2 个参数。参见这个 Bug
      强制修改:
    • FORUMHOME
      • 删除了包含 log_out() 函数的 <script> 标签,将这个函数移入 clientscript/vbulletin_global.js。调用 log_out() 函数的方法现在修改为 log_out('$vbphrase[sure_you_want_to_log_out]')
        强制修改:
      • 将欢迎消息分离到一个单独的表格中,解决一个IE 渲染 Bug
    • MEMBERINFO
      • 重新修订的“额外信息”和“用户组成员”栏目,增强了 HTML,并添加了对用户资料栏目分类的支持。
        强制修改:
      • 将违规表格头部分割成两个单元格,使之更加美观。
      • 修改了“主题作者<用户>”链接,以避免这个 Bug
    • memberinfo_customfields
      重新修订的“额外信息”和“用户组成员”栏目,增强了 HTML,并添加了对用户资料栏目分类的支持。
      强制修改:
    • memberinfo_membergroupbit
      重新修订的“额外信息”和“用户组成员”栏目,增强了 HTML,并添加了对用户资料栏目分类的支持。
      强制修改:
    • modifylist
      底层的 Javascript 已经修改,以便列表函数可用在除了好友和忽略列表以外更多的地方。
      强制修改:
    • navbar
      • 删除了包含 log_out() 函数的 <script> 标签,将这个函数移入 clientscript/vbulletin_global.js。调用 log_out() 函数的方法现在修改为 log_out('$vbphrase[sure_you_want_to_log_out]')
        强制修改:
      • 修正了 finallink 图像,现在它能够正确在从右到左语言中显示。
        强制修改: (图像文件名已经修改)
      • 添加了模版钩子项目
    • optgroup
      添加了 $optgroup_extra 变量,这样额外的属性可以传递进来。
      强制修改:
    • postbit
      添加了多个模版钩子,以支持将来的产品。
      强制修改:
    • postbit_legacy
      添加了多个模版钩子,以支持将来的产品。
      强制修改:
    • sendtofriend
      添加了游客的图像验证。
      强制修改:
    • subscription_payment_2checkout
      添加了 2 个 2checkout 更新后所需的字段。
      强制修改:
    • subscription_payment_nochex
      更新到新的 Nochex API。
      强制修改:
    • threadadmin_deleteposts
      修正了 tree_l.gif 图像,现在它能够正确在从右到左语言中显示。
      强制修改: (图像文件名已经修改)
    • threadadmin_deletethread
      修正了 tree_l.gif 图像,现在它能够正确在从右到左语言中显示。
      强制修改: (图像文件名已经修改)
    • threadadmin_deletethreads
      修正了 tree_l.gif 图像,现在它能够正确在从右到左语言中显示。
      强制修改: (图像文件名已经修改)
    • threadadmin_editthread
      • 在这里添加了一个选项,在删除某个主题时“保留附件”。
        强制修改: (若不修改,您可能丢失附件)
      • 修正了 tree_l.gif 图像,现在它能够正确在从右到左语言中显示。
        强制修改: (图像文件名已经修改)
      • 将“修改重定向为过期重定向”单选框更改为复选框。只是为了美观。
    • threadadmin_mergethread
      修正了 tree_l.gif 图像,现在它能够正确在从右到左语言中显示。
      强制修改: (图像文件名已经修改)
    • threadadmin_mergethreads
      修正了 tree_l.gif 图像,现在它能够正确在从右到左语言中显示。
      强制修改: (图像文件名已经修改)
    • threadadmin_movethread
      修正了 tree_l.gif 图像,现在它能够正确在从右到左语言中显示。
      强制修改: (图像文件名已经修改)
    • threadadmin_movethreads
      修正了 tree_l.gif 图像,现在它能够正确在从右到左语言中显示。
      强制修改: (图像文件名已经修改)
    从 3.6.5 以来非强制修改的模版

    如果您没有应用这些修改,您的 vBulletin 论坛不会工作不正常,但是应用这些修改后,会修正一些小 Bug 或添加一些功能。我们建议您以应用强制修改模版相同的方式应用这些修改。
    • announcement
      添加了 style="border-bottom-width: 0px" 以阻止双边框。
    • announcement_edit
      在其它选项下添加了“保存更改”按钮。
    • CALENDAR
      移除了一个空的条件判断。
    • calendar_reminder_eventbit
      修改了 time_x_to_y 短语的 CSS class,这样短语中的“到”的颜色便会与时间的颜色不同。
    • calendar_showeventsbit
      • 将一个表格放入 <if> 条件中,这样如果条件不满足,这个表格将不会显示,也就不会出现一个额外的空行。
      • 修改了 time_x_to_y 短语的 CSS class,这样短语中的“到”的颜色便会与时间的颜色不同。
    • editpoll
      在其它选项周围添加了条件,这样这些选项在不可用时不会显示出来。
    • editpost
      将订阅栏目放入一个 $show['member'] 条件判断中,这样它就不会显示给游客。
    • FORUMDISPLAY
      • 为了修正 vBulletin 3.6 bug 1428,添加了一个变量,以允许管理员指定的最大主题标题长度的值可以被 Javascript/AJAX 主题标题编辑器访问。
      • 添加了 $show['subscribed_to_forum'] 变量,以允许版面收藏侦测和根据需要显示收藏/取消收藏链接。参见 Bug 21698 以了解更多信息。
    • im_send_msn
      在 Email 地址前后添加了 <span style="white-space:nowrap">。参见 Bug 1257
    • im_send_skype
      修改了 Skype 状态图片的网址,以支持多语言的图像。
    • im_send_yahoo
      修改了在新窗口中打开和关闭弹出窗口的链接。
    • imagereg
      在图像验证文本框中添加了 id="imagestamp",以允许 vbulletin_textedit.js 动态添加一个 tab index 到该文本框。
    • memberlist
      支持对年龄列的排序。
    • moderation_threads
      为了修正 vBulletin 3.6 bug 1428,添加了一个变量,以允许管理员指定的最大主题标题长度的值可以被 Javascript/AJAX 主题标题编辑器访问。
    • modifyavatar
      将两处 size="50" 更改为 size="45",以解决一个语言问题。参见 Bug 1349
    • modifyoptions
      修改了条件判断,这样如果“允许用户向其他会员发送 Email”这个选项禁用,“接收 Email”这个用户控制面板选项将不显示。
    • modifyprofile_birthday
      添加了一个选项,允许用户选择仅显示其生日的年份和月份。
    • modifyprofilepic
      • 将两处 size="50" 更改为 size="45",以解决一个语言问题。参见 Bug 1349
      • 删除一处多余的 </if> 标签。
    • modifysignature
      重新格式化签名权限列表,以更好的支持更窄的显示。
    • newreply
      将 $imagereg 从它原来的位置移除到 $usernamecode 的下面,以增强 Tab 键导航的可操作性。
    • newthread
      将 $imagereg 从它原来的位置移除到 $usernamecode 的下面,以增强 Tab 键导航的可操作性。
    • pagenav
      $address2 从底部的链接移动到 $address 后面,这样链接变为 x.php?foo=1&bar=2&page=3 替换了原来的 x.php?foo=1&page=2&bar=3 - 从而将页码总是放置在网址的最后,这样更方便在浏览器的地址栏中切换页面。
    • pagenav_pagelink
      $address2 从底部的链接移动到 $address 后面,这样链接变为 x.php?foo=1&bar=2&page=3 替换了原来的 x.php?foo=1&page=2&bar=3 - 从而将页码总是放置在网址的最后,这样更方便在浏览器的地址栏中切换页面。
    • pagenav_pagelinkrel
      $address2 从底部的链接移动到 $address 后面,这样链接变为 x.php?foo=1&bar=2&page=3 替换了原来的 x.php?foo=1&page=2&bar=3 - 从而将页码总是放置在网址的最后,这样更方便在浏览器的地址栏中切换页面。
    • pm_newpm
      修正 HTML 错误。参见 Bug 1320
    • pm_receipts
      将“全选”复选框居中。
    • postbit_deleted
      一个软删除的游客发表的帖子包含一个链接到不存在的用户资料页面,以使之和普通的帖子块更加一致。
    • postbit_ignore
      修改第一个 cellspacing="0"cellspacing="$stylevar[cellspacing]"。参见 Bug 1304
    • postbit_ignore_global
      修改第一个 cellspacing="0"cellspacing="$stylevar[cellspacing]"。参见 Bug 1304
    • register
      将顶端的错误显示栏目放入一个表格中 (保持一致性)。参见这个 Bug
    • search_forums
      • 修改 HTML 以改进搜索表单在 800x600 分辨率下的显示效果。参见 Bug 1347
      • 将“不要使用缓存结果”从原来的硬写入到模版替换为语言短语变量$vbphrase[do_not_use_cached_results]。
    • search_results
      • 为了修正 vBulletin 3.6 bug 1428,添加了一个变量,以允许管理员指定的最大主题标题长度的值可以被 Javascript/AJAX 主题标题编辑器访问。
      • 添加了一个条件判断,如果用户搜索的版面中有的版面没有查看主题内容的全选,那么提示用户可以使用“只搜索主题标题”来获得更多的搜索结果。参见 Bug 1453
    • subscription_payment_authorizenet
      将硬写在模版中的单词“订阅”替换为使用 x_subscription 短语变量。
    • subscription_payment_paypal
      将硬写在模版中的单词“订阅”替换为使用 x_subscription 短语变量。
    • subscription_payment_worldpay
      将硬写在模版中的单词“订阅”替换为使用 x_subscription 短语变量。
    • threadbit
      当禁用 Javascript 时 whoposted 功能现在可用了。
    • USERCP
      将违规表格头部的第一个单元格分割成两个单元格,使之更加美观。
    • USERCP_SHELL
      添加变量 $template_hook[usercp_navbar_bottom] 使插件可以插入项目到用户控制面板导航栏中。
    • userinfraction
      添加一个丢失的 </td>。
    • userinfraction_infobit
      • 修改模版以将日期和时间分割到不同的行,这样模版就较难破坏页面的整体布局了。参见 Bug 1321
      • 修正了过期单元格的错误对齐方式。
    • usernote
      添加了 style="border-bottom-width: 0px" 以阻止双边框。
    • WHOPOSTED
      当禁用 Javascript 时 whoposted 功能现在可用了。
    • whopostedbit
      当禁用 Javascript 时 whoposted 功能现在可用了。
     
  3. laogui

    laogui Administrator
    管理成员

    注册:
    2005-08-30
    帖子:
    15,216
    赞:
    35
    这次改动真大
     
  4. dony945

    dony945 New Member

    注册:
    2006-02-22
    帖子:
    105
    赞:
    0
    vBulletin 3.6.7

    As much as we hate to spring another upgrade on you all so soon after the release of vBulletin 3.6.6, an XSS flaw was identified today and in order to maintain our commitment to fix security problems as soon as we become aware of them, we have to release 3.6.7 and a patch for older versions.

    All versions of vBulletin 3.6 prior to 3.6.7 are vulnerable to the XSS. vBulletin 3.5.x and 3.0.x are not affected.

    To minimize the pain of another upgrade, there are no changed templates since 3.6.6 and no database schema changes, so the upgrade should be as simple and quick as possible.

    Since we have fixed several bugs since vBulletin 3.6.6 was released, these fixes are also incorporated in this version and include amongst others:
    RTL support for date picker popup
    Fixed HTML for archive forum lists
    MySQL error while merging users fixed
    Smilie parsing error fixed
    PHP 5.0.5 errors fixed
    Hard-coded image paths fixed
    A complete list of bugs fixed in the 3.6 branch is available in the project manager.

    Please accept our apologies for bringing out a new version just days after the previous release. We're sorry.

    Fixing the XSS Bug

    The XSS problem can be resolved in one of three ways.
    Full Upgrade: The best way to fix the problem is to perform a full upgrade, downloading the complete 3.6.7 package from the vBulletin Members' Area and following the regular upgrade instructions. This is the only option that will not only fix the XSS issue, but will also apply all the bug fixes made since the release of 3.6.6.
    Patch: A second option is to download the patch files either in the Members' Area or attached to this thread and upload them to your web server, overwriting the existing files.
    Patch file: 366_patch.zip
    Plugin: The plugin system built into vBulletin 3.6 allows the problem to be fixed with a simple plugin. The install file for this plugin is also attached to this thread and is the easiest way to fix the problem, as it does not require you to upload any files via FTP. The plugin will be automatically removed when you perform your next full upgrade. You can install the plugin by following the instructions here.
    Plugin File: vb_calendar366_css_fix_plugin.xml
    Please note the following:
    The plugin can be used with any previous version of vBulletin 3.6
    The patch can only be applied to vBulletin 3.6.4, 3.6.5 or 3.6.6
    You may perform a full upgrade to vBulletin 3.6.7 from any previous version of vBulletin 3.


    The following is a list of files changed since 3.6.6.
    /
    calendar.php
    editpost.php
    newthread.php
    admincp/
    adminpermissions.php
    clear.gif - added
    options.php
    phrase.php
    profilefield.php
    usertools.php
    global.php
    clientscript/
    vbulletin_date_picker.js
    vbulletin_quick_reply.js
    vbulletin_textedit.js
    cpstyles/
    vBulletin_2_Default/calendar_popup.png - added
    vBulletin_3_Default/calendar_popup.png - added
    vBulletin_3_Frontend/calendar_popup.png - added
    vBulletin_3_Manual/calendar_popup.png - added
    vBulletin_3_Silver/calendar_popup.png - added
    includes/
    adminfunctions.php
    adminfunctions_help.php
    class_bbcode.php
    class_core.php
    class_dbalter.php
    class_dm_user.php
    class_postbit.php
    functions_databuild.php
    version_vbulletin.php
    cron/attachmentviews.php
    cron/threadviews.php
    install/ - all changed
     
  5. amihot

    amihot New Member

    注册:
    2007-02-07
    帖子:
    10
    赞:
    0
    咔咔。
    jel就是速度~
    不像pw。。