Quote:
Originally Posted by RGSerge
Is that function portable, as in, could I life it from global.php and copy it into the main site source and it work (with slight code modification of the function for obvious reasons) i.e. variables and the likes, or would that be a complete pain?
|
well, as the bbcode is stored into the database, and bbcodeparse2 also uses some vb variables, it would be really hard to make it stand alone.
of course it would be possible, but it would be much easier to require global.php