At my test site, I have phpBBArcade, UQM, and Hangman installed. What I am attempting is a custom banner for each add-on (UQM, Arcade, etc).

I realised that there is an easy way of doing this by editing just the overall_header.html file and using the <!-- IF --> and <!-- ELSEIF --> statements. In my code where it loads [SITE_LOGO_IMG} is:
Code: Select all
<tr>
<td height="150" align="center" valign="middle"><a href="{U_INDEX}">
<!-- IF S_IN_ARCADE --><img src="http://screwballscribble.co.uk/phpbb3testing/styles/milky_way/imageset/screwball_arcade.gif"><!-- ELSEIF S_CAN_PLAY_HANGMAN --><img src="http://screwballscribble.co.uk/phpbb3testing/styles/milky_way/imageset/screwball_hangman.gif"><!-- ELSEIF S_IN_UQM --><img src="http://screwballscribble.co.uk/phpbb3testing/styles/milky_way/imageset/screwball_quiz.gif"><!-- ELSE -->{SITE_LOGO_IMG}<!-- ENDIF --></a></td>
G<td align="center" valign="middle"><h1>{SITENAME}</h1><span class="gen">{SITE_DESCRIPTION}</span></td>
<td align="right" valign="top"> </td>
</tr>
When viewing Arcade and Hangman sections, the relevant banner is displayed but for UQM, the default image is shown (which is what I expected) because S_IN_UQM isn't defined. Test site link: http://screwballscribble.co.uk/phpbb3testing/index.php. Select option below logo - ignore "Tournaments". Also ignore present UQM html layout as I'm working on these for the style I use.
Within phpBB3 files we use: define('IN_PHPBB', true);. It's the same case for phpBBArcade and Hangman which uses define('IN_ARCADE', true) and define('IN_HANGMAN', true) respectively.
How do I go about doing the same for UQM and the files/code I need to add please?
