Template writers for whom the template language is too limited
can break into PHP at any point in the templates, using the
regular <?php ... ?>
syntax. It is not
mandatory at all to use the Phorum template language for your
templates.
The biggest drawback here, is that knowledge of the Phorum internals is required if you want to work with the data that has been generated by Phorum.
Most template writers will normally only be using HTML and the Phorum template language.
To prevent confusion between PHP code blocks and template statements (which are both surrounded by "{" and "}" characters), always use a whitespace after an opening "{" character in your PHP code. So instead of writing:
<?php if ($this = true) {print "It's true";} ?>
you now have to write:
<?php if ($this = true) { print "It's true"; } ?>
This way you can mix PHP code with template code without running into problems.