Announcement

Collapse
No announcement yet.

vBulletin 2.3.2 Released

Collapse
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

  • vBulletin 2.3.2 Released

    vBulletin 2.3.2

    After a CVS conflict rendered the attachment.php file included with vBulletin 2.3.1 unusable, we have decided to release a replacement version, numbered 2.3.2. This version resolves the error resulting from the CVS conflict, and also addresses a few other bugs that slipped through the net for 2.3.1.

    We recommend that all sites running vBulletin 2 upgrade to 2.3.2 as soon as possible.

    Upgrading from vBulletin 2.3.1

    We are aware that this release comes hot on the heels of yesterday's 2.3.1 release, so we will try to make the upgrade process as painless as possible for you. After you download the vBulletin 2.3.2 zip file from the members' area, you need only upload the files listed as changed below. The files have had very minor edits, with the exception of vbulletin.style, so a quick look at the differences between the two files should reveal the changes.

    If you have hacked some of the PHP files on your board, you will find instructions detailing the changes to the files wherever possible in the next message of this thread.

    Whatever you choose to do, you should run admin/upgrade25.php to update your version number and get the latest version of the default style.

    Backing up forums

    Please be sure to check your backups, that they are complete before continuing with an upgrade. We had reports that PHP was causing time out errors when creating the back up SQL, and this was causing for incomplete or corrupted backups. The safest way to do a backup is to use the mysqldump utility through telnet/SSH, as it will not suffer from any such problems.

    Installation / Upgrade Instructions

    These are available in the Members Area.

    Files changed (from 2.3.1)
    • Main Directory:
      • attachment.php - fix CVS conflict
      • global.php - make copyright year dynamic
      • search.php - fix bug with page numbering
      • showthread.php - fix bug with page numbering
    • Admin Directory
      • admin/adminfunctions.php - fix missing regular expression delimiter bug
      • admin/vbulletin.style - fix over-zealous & to & conversion (especially for email templates)
    • Additionally, the following files were updated or created to reflect the new version number:
      • admin/global.php
      • admin/install.php
      • admin/upgrade1.php
      • admin/upgrade25.php


    Templates Changed (from 2.3.1)
    • footer - update for making copyright year dynamic
    • printthread - update for making copyright year dynamic
    • email_parentcoppa - update COPPA URL
    • email_activateaccount - Convert & to &
    • email_activateaccount_change - Convert & to &
    • email_lostpw - Convert & to &
    • email_newuser - Convert & to &
    • email_notify - Convert & to &
    • email_sendtofriend - Convert & to &
    Last edited by Kier; Fri 8 Aug '03, 8:11am.

  • #2
    Upgrading from 2.3.1

    attachment.php
    This file was broken in the vB 2.3.1 zip file due to a CVS conflict. We recommend you simply replace this file with the new version.

    global.php
    Find this code:
    Code:
    $header='';
    $footer='';
    And replace with this:
    Code:
    $header='';
    $footer='';
    $copyrightyear = date('Y');
    showthread.php
    Find this code:
    Code:
      } else {
       	sanitize_pageresults($getpagenum[posts], $pagenumber, $perpage, $newmaxposts, $maxposts);
      }
    And replace it with this:
    Code:
      } else {
       	sanitize_pageresults($getpagenum[posts], $pagenumber, $perpage, $newmaxposts, $maxposts);
      }
      $pagenumber = ceil($getpagenum['posts']/$perpage);
    search.php
    Find this code:
    Code:
        $countmatches=$getnum[posts];
    And replace with this:
    Code:
        sanitize_pageresults($countmatches, $pagenumber, $perpage, $searchperpage, $searchperpage);
    
        $countmatches=$getnum[posts];
    Find this code:
    Code:
    if (strpos($val, '%') !== false)
    And replace with this:
    Code:
    if (strpos(" $val", '%') != false)
    admin/adminfunctions.php
    Find this code:
    Code:
    $gotopage = preg_replace('#(&)([a-z0-9_]+=)', '&\2', $gotopage);
    And replace with this:
    Code:
    $gotopage = preg_replace('#(&)([a-z0-9_]+=)#siU', '&\2', $gotopage);
    admin/global.php
    Find this code:
    Code:
    $codeversionnumber="2.3.1";
    And replace with this:
    Code:
    $codeversionnumber="2.3.2";
    Do not forget to upload vbulletin.style and run admin/upgrade25.php!
    Last edited by Kier; Fri 8 Aug '03, 8:49am.

    Comment


    • #3
      To discuss this release, please use this thread.

      Comment

      Related Topics

      Collapse

      Working...
      X