
05-17-2004, 02:07 PM
|
|
|
Join Date: Jul 2002
Posts: 433
Благодарил(а): 0 раз(а)
Поблагодарили:
0 раз(а) в 0 сообщениях
|
|
Quote:
Originally Posted by Xenon
hmm, well, then you have to hack the bbcodeparse function a little bit:
open functions_bbcodeparse.php
find:
PHP Code:
if ($isimgcheck)
{ // do this since we're only checking for smilies and IMG code
$dobbcode = 0;
}
return parse_bbcode2($bbcode, $dohtml, $dobbimagecode, $dosmilies, $dobbcode, $iswysiwyg, $donl2br);
and replace with:
PHP Code:
if ($isimgcheck)
{ // do this since we're only checking for smilies and IMG code
$dobbcode = 0;
}
return str_replace('yahoo', '<a href="http://www.yahoo.com">yahoo</a>', parse_bbcode2($bbcode, $dohtml, $dobbimagecode, $dosmilies, $dobbcode, $iswysiwyg, $donl2br));
that way it's hardcoded, but will work 
|
YOU DA MAN!!! Thanks!
|