Quote:
Originally posted by Redmak
There's an easy way to have vbcode and linebreaks and stuff interpreted by vbulletin so it shows up on your main news page.
Make sure the following line is added to the news script
PHP Code:
require("./global.php");
To have the message parsed by vbulletin add the following:
PHP Code:
$bericht=bbcodeparse2($pagetext,"1","1","1","1");
$bericht is now the formatted message
The 1's stand for "dohtml,dobbimagecode,dosmilies,dobbcode"
Enjoy
|
Ok this is already in the hack, but my smilies still don't show up, the links are good just not the smilies. I have the script in the forums directory and I am php including it in a file that is outside of the forums directory. Any ideas why my smilies aren't showing up. It really isn't a big deal cause I could just go with out smilies. So if know one knows why that's fine.