View Full Version : Parsing vB code
PinFX
01-20-2005, 01:42 PM
Hi, I want to put the content of certain posts on the front page of my website (non vB), I was wondering if there is any easy way to parse vB code. Thanks ahead of time,
EDIT: Or even better, have vB parse code to HTML before putting it into the dB
-Pin
sabret00the
01-20-2005, 02:20 PM
$frontpage['pagetext'] = parse_bbcode($frontpage['pagetext']);
don't forget to include the global.php
MartinH66
01-21-2005, 08:37 PM
Not sure if this has always been the case but you'll also need to include 'includes/functions_bbcodeparse.php' to get that function.
Andreas
01-21-2005, 08:39 PM
At least it has been so since 3.0.0 Beta 7
limey
01-22-2005, 12:41 AM
Can this be applied to the archive? I hate how urls are not parsed on the archive.
thanks.
vBulletin® v3.8.12 by vBS, Copyright ©2000-2025, vBulletin Solutions Inc.