MyBB Community Forums

Full Version: Add a script to the forum ?
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
Hey guys,
I had someone code a script for us that shows information from one of our sql databases. I uploaded the php script to our website but there is a slight problem. The webpage can be viewed by anyone, even if they're not logged into the forums. Is there a way to add this script to a page in our forum so if someone not logged in attempts to view it, it will give them the standard "You must be logged in to view this" message ?

Cheers!