View Full Version : No BBCode and Line Break In Description Section
stitch
12-05-2005, 12:26 AM
Hello
I tried to use bbcode and post a description that has multiple lines break but it doesn't do anything. Is there anything that we can do to solve this problem
thanks
Brian
12-05-2005, 01:51 AM
Currently there is not an option to parse BB code in descriptions. I know there was a hack for this for the vB 3.0 version, but I'm not sure if it's been ported to work with vB 3.5.
stitch
12-05-2005, 02:48 AM
Currently there is not an option to parse BB code in descriptions. I know there was a hack for this for the vB 3.0 version, but I'm not sure if it's been ported to work with vB 3.5.
Uhmmm I took a look a at the showlink.php come up with this modification.
I can use the bbcode for custom fields. As a result this will be depended on the customed fields parsing permission
Find
require_once('./includes/class_bbcode.php');
Delete it
Find
require_once('./links_global.php');
Add Under
require_once('./includes/class_bbcode.php');
Find
$diropts = construct_dir_opts($link['catid'], $link['options']);
Add Under
$parser =& new vB_BbCodeParser($vbulletin, fetch_tag_list());
$link['description'] = $parser->do_parse(unhtmlspecialchars($link['description']), $diropts['allow_custom_html'], $diropts['allow_custom_smilies'], $diropts['allow_custom_bbcode'], $diropts['allow_custom_bbimgcode']);
Save File
vBulletin® v3.7.4, Copyright ©2000-2009, Jelsoft Enterprises Ltd.