Results 1 to 3 of 3

Thread: bbcode parser bug

  1. #1

    Default bbcode parser bug

    The bbcode
    PHP Code:
    [thread=123]thread title[/thread
    is replaced by vBa CMPS on the frontpage with
    instead of
    like in the forum.

    Apparently it's missing the forum/ part on the frontpage ...

    How can I fix this?

    Last edited by SNW; 01-20-2006 at 03:34 PM.

  2. #2
    Join Date
    Jan 2004
    Georgia, USA

    Default Re: bbcode parser bug

    If you'll look in your vba_cmps_include_bottom.php file for this code:
    PHP Code:
    $bbcode_parser =& new vB_BbCodeParser($vbulletinfetch_tag_list()); 
    And add this right below it:
    PHP Code:
    $bbcode_parser->tag_list['no_option']['thread']['html'] = str_replace('"showthread.php''"' $vbulletin->options['bburl'] . '/showthread.php'$bbcode_parser->tag_list['no_option']['thread']['html']);
    $bbcode_parser->tag_list['no_option']['post']['html'] = str_replace('"showthread.php''"' $vbulletin->options['bburl'] . '/showthread.php'$bbcode_parser->tag_list['no_option']['thread']['html']);

    $bbcode_parser->tag_list['option']['thread']['html'] = str_replace('"showthread.php''"' $vbulletin->options['bburl'] . '/showthread.php'$bbcode_parser->tag_list['option']['thread']['html']);
    $bbcode_parser->tag_list['option']['post']['html'] = str_replace('"showthread.php''"' $vbulletin->options['bburl'] . '/showthread.php'$bbcode_parser->tag_list['option']['thread']['html']); 
    Then that should take care of the problem.

  3. #3

    Default Re: bbcode parser bug

    That did the trick, thanks !

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Similar Threads

  1. New Page with BBCode & Adsense
    By Benjamini in forum Troubleshooting & Problems
    Replies: 4
    Last Post: 12-25-2005, 10:52 PM
  2. [MOD] bbcode in description
    By StewardManscat in forum Modifications
    Replies: 18
    Last Post: 12-01-2005, 05:17 AM
  3. When creating an img and url link in bbcode
    By Oddmaker in forum "How Do I..." Questions
    Replies: 2
    Last Post: 11-09-2005, 01:05 PM
  4. Cant Edit BBcode
    By hardeeonline in forum Bugs From 2.0 RC2
    Replies: 8
    Last Post: 07-23-2005, 06:01 PM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts