vBadvanced Forums  
Go Back   vBadvanced Forums > vBadvanced Products > vBadvanced CMPS > vBa CMPS v2.0 Support > Bugs & Issues > Bugs From 2.0.0

Reply
 
Thread Tools Display Modes
  #1  
Old 01-20-2006, 05:09 AM
SNW SNW is offline
Member
 
Join Date: Feb 2005
Posts: 30
Default bbcode parser bug

The bbcode
PHP Code:
[thread=123]thread title[/thread
is replaced by vBa CMPS on the frontpage with
Code:
http://domainname.com/showthread.php?t=123
instead of
Code:
http://domainname.com/forum/showthread.php?t=123
like in the forum.

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

How can I fix this?

Thanks!

Last edited by SNW; 01-20-2006 at 02:34 PM.
Reply With Quote
  #2  
Old 01-20-2006, 11:15 PM
Brian's Avatar
Brian Brian is offline
Administrator
 
Join Date: Jan 2004
Location: Georgia, USA
Posts: 34,240
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.
Reply With Quote
  #3  
Old 01-21-2006, 04:35 AM
SNW SNW is offline
Member
 
Join Date: Feb 2005
Posts: 30
Default Re: bbcode parser bug

That did the trick, thanks !
Reply With Quote
Reply


Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump

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


All times are GMT -4. The time now is 11:17 PM.

Forums Powered by vBulletin, Copyright ©2000-2009, Jelsoft Enterprises Ltd.
Please note that vBadvanced is in no way affiliated with Jelsoft Enterprises Ltd, nor will Jelsoft be able to provide any support for our products.