
10-19-2005, 12:40 PM
|
|
|
Join Date: Feb 2002
Posts: 30
Благодарил(а): 0 раз(а)
Поблагодарили:
0 раз(а) в 0 сообщениях
|
|
Quote:
Originally Posted by Zachariah
I found this @ Vbadvanced.com. My personal Gallery already has this edit, but it might help.
If you'll look in your includes/functions_gallery.php file for this code:
PHP Code:
global $vba_options, $stylevar, $vbulletin, $vbphrase, $show, $adv_sorturl, $catinfo, $counter, $cellwidth, $categoryperms, $showfields, $categorycache, $catopts;
Replace with:
PHP Code:
global $vba_options, $stylevar, $vbulletin, $vbphrase, $show, $adv_sorturl, $catinfo, $counter, $cellwidth, $categoryperms, $showfields, $categorycache, $catopts, $bbcode_parser;
Then find:
PHP Code:
$images['description'] = parse_bbcode2(stripslashes($images['description']), $catopts["$images[catid]"]['allow_desc_html'], $catopts["$images[catid]"]['allow_desc_bbimgcode'], $catopts["$images[catid]"]['allow_desc_smilies'], $catopts["$images[catid]"]['allow_desc_bbcode']);
Replace with:
PHP Code:
$images['description'] = $bbcode_parser->do_parse(stripslashes($images['description']), $catopts["$images[catid]"]['allow_desc_html'], $catopts["$images[catid]"]['allow_desc_smilies'], $catopts["$images[catid]"]['allow_desc_bbcode'], $catopts["$images[catid]"]['allow_desc_bbimgcode']);
And that should take care of the problem.
|
Thank you so much for helping. My file already has these changes in it as well. I wonder what the problem could be?
|