Topic: Need help integrating a header for different parts of a forum
So I have a site where I'd like to use a punbb forum instead of vbulletin (cause it's just so much faster and easier to use) but I'm running into a problem adjusting punbb to match my sites look and feel.
Basically I have different headers for different parts of the forum. Now I was thinking I could make this work in punbb by doing this:
ex.
<?php
if($_GET['id']==3){
echo"output our header";
echo "<div style=\"background-color:#cdcdcd;width:100%\">beautiful</div>";
}
else{}
?>
I have included the following code inside of banner.php which is included in the main.tpl file using the punbb include method. The problem is that when I click a post, the banner disappears even though I'm still inside that forum. This is because the id is no longer equal to 3 because it is based off a URL like so:
/viewtopic.php?id=2
Instead of...
/viewforum.php?id=3
So how can you maintain a header inside of a forum, and inside of the posts within that forum?
Thanks!