MyBB Community Forums

Full Version: can php code be used in a post
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
Well, pretty straightforward Smile Can php code be used in a post?
I don't mean display php code as text with [bb]codes, but acutally something like:

<?php include ("latest_threads.php"); ?>

A bit more background information:
I've writtin a custom set of scripts which reads data from the forum db & uses it for display on a site. (I guess you could look at it as a semi-portal frontend).

I have a few forums, hidden from the public that are used to "power" the different categories/pages of the site (so I'm using the forum as a CMS).
Well you can allow html but if people allow this you will get some bad spam and it would be annoying Sad
No you can't. It's just like templates, you can't use php in there because it is unstable to run from the MySQL database. I hope that solves it for you!
that's a serious security risk wurtel...