vBulletin 2.3.2 Released

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • Kier
    Former Lead Developer, vBulletin
    • Sep 2000
    • 8179

    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.
  • Kier
    Former Lead Developer, vBulletin
    • Sep 2000
    • 8179

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

    Comment

    • Kier
      Former Lead Developer, vBulletin
      • Sep 2000
      • 8179

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

      Comment

      Related Topics

      Collapse

      Working...