MyBB Community Forums

Full Version: Can I use SSI in templates?
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
I've been trying to include an ssi file from outside Mybb into one of my templates to produce images from an external program. Mybb doesn't seem tp be acceting the include however. Nothing shows on my screen anyhow in the index page. The page I'm trying to include is here
http://www.mopar100.com/mopower/get_photo.php

Yes the page is primitive and needs some layout work, but you get the idea of what Im trying to do anyhow. Smile

And I'm calling it this way inside my index template
<?php include("http://www.mopar100.com/mopower/get_photo.php"); ?>

The area I located the include inside my index template is here
<html>
<head>
<title>$settings[bbname]</title>
$headerinclude
</head>
<body>
$header$nars_report
<br />
<?php include("http://www.mopar100.com/mopower/get_photo.php"); ?>
<table width="100%" border="0">
<tr>
<td width="75%" valign="top">$forums </td>

Thanks
PHP code does not work in the templates. See this thread which contains a solution.
Seems to be more than one variable to add so this isn't going to work for me. There has to be a way to show this file. It sure would be nice to have our own gallery like the big dog software companies. Sad