Topic: Using PHP in Template...
I know this topic has been posted a million times, but all the searching I've done doesn't seem to help my specific situation. I know that to include a PHP file you use the <pun_include "whatever.php">... but it doesn't seem to be working for me.
What I'm doing is integrating the forum into my websites template. I've taken a rather simple approach and just built a table around the content in the main.tpl. Right above the forum content, I've used <pun_include "boxes.php">. Boxes.php is a php file that echos out php based features of my site, such as a schedule, calendar, and recent posts. Each feature is placed within one of three boxes atop the page. All of this is done in the boxes.php file, which is uploaded to the forum/includes/user/ directory.
When I load the forum, nothing appears. It's as if the file wasn't even included. There's no error, no html structure of the boxes, nothing. I'm not sure what I'm doing wrong, but was wondering if perhaps it's not even possible to do what I'm trying to do.
It's 5:15 in the morning so if I've left out any information, just post and I'll be more than happy to provide you with what you need.