Announcement

Collapse
No announcement yet.

Minor bug in vBulletin 2.3.2 - fix available

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

  • Minor bug in vBulletin 2.3.2 - fix available

    A minor bug in vBulletin 2.3.2 has been discovered. This bug causes no threads to be displayed when you click the Subscribed Threads link inside the User CP.

    The fix is simple to apply.

    Within member2.php, find the following code:
    Code:
    makeforumjump();
    Replace that code with this:
    Code:
      makeforumjump();
      
      // set default value for $daysprune 
      if (empty($daysprune) OR $daysprune < 1) {
       $daysprune = 30;
      }
    I have updated the members' area with this fix, but if you have already downloaded the vBulletin 2.3.2 zip file it should be easier for you to edit your existing files rather than download the entire package again.

    Our apologies for any inconvenience caused.

  • #2
    A small bug has been found which prevents users from browsing to the second page of a search when viewing the results as posts. The following fix will correct this.

    within search.php find the following code

    Code:
    " WHERE post.visible=1 AND $newpostsql $search[query]");
    Replace that code with this:

    Code:
    " WHERE post.visible=1 AND $newpostsql $search[query]");
    $countmatches=$getnum[posts];
    Last edited by Scott MacVicar; Sun 10 Aug '03, 4:09am.
    Scott MacVicar

    My Blog | Twitter

    Comment


    • #3
      A bug in functions.php can cause problems if you allow dynamic URL for [img] tags.

      In functions.php, replace:

      Code:
      	if($dobbimagecode and ($bbuserinfo[userid]==0 or $bbuserinfo[showimages])) {
      	  // do [img]xxx[/img]
      	  $bbcode = preg_replace("/\[img\](\r\n|\r|\n)*((http|https):\/\/([^;<>\(\)\"".iif($allowdynimg,"","!\?\&")."]+)|[a-z0-9\/\\\._\- ]+)\[\/img\]/siU", "<img src=\"\\2\" border=\"0\" alt=\"\">", $bbcode);
      	}
      	$bbcode = preg_replace("/\[img\](\r\n|\r|\n)*((http|https):\/\/([^;<>\*\(\)\"]+)|[a-z0-9\/\\\._\- ]+)\[\/img\]/siU", "<a href=\"\\2\" target=\"_blank\">\\2</a>", $bbcode);
      with:
      Code:
      	if($dobbimagecode and ($bbuserinfo[userid]==0 or $bbuserinfo[showimages])) {
      	  // do [img]xxx[/img]
      	  $bbcode = preg_replace("/\[img\](\r\n|\r|\n)*((http|https):\/\/([^<>\(\)\"".iif($allowdynimg,"","!\?\&")."]+)|[a-z0-9\/\\\._\- ]+)\[\/img\]/siU", "<img src=\"\\2\" border=\"0\" alt=\"\">", $bbcode);
      	}
      	$bbcode = preg_replace("/\[img\](\r\n|\r|\n)*((http|https):\/\/([^<>\*\(\)\"]+)|[a-z0-9\/\\\._\- ]+)\[\/img\]/siU", "<a href=\"\\2\" target=\"_blank\">\\2</a>", $bbcode);
      Steve Machol, former vBulletin Customer Support Manager (and NOT retired!)
      Change CKEditor Colors to Match Style (for 4.1.4 and above)

      Steve Machol Photography


      Mankind is the only creature smart enough to know its own history, and dumb enough to ignore it.


      Comment

      widgetinstance 262 (Related Topics) skipped due to lack of content & hide_module_if_empty option.
      Working...
      X