2010-08-07, 09:41 PM
Hello
I have tried to add a php code to my mybb theme (I am running latest 1.4) and I am having trouble as it is not working. It does not show anything when it is supposed to show either a piece of text or a banner ad.
I am using the default template and not any other template.
Example of a type of php I am using:-
<?php include("content.php"); ?>
That does not work.
<?php
echo "Hello World!"; // This will print out Hello World!
?>
Also this does not work.
I have been editing the templates direct and incerting the code but it just does not work for some reason.
Any help would be great.
Thank you all in advance.
I have tried to add a php code to my mybb theme (I am running latest 1.4) and I am having trouble as it is not working. It does not show anything when it is supposed to show either a piece of text or a banner ad.
I am using the default template and not any other template.
Example of a type of php I am using:-
<?php include("content.php"); ?>
That does not work.
<?php
echo "Hello World!"; // This will print out Hello World!
?>
Also this does not work.
I have been editing the templates direct and incerting the code but it just does not work for some reason.
Any help would be great.
Thank you all in advance.