Quote:
Originally Posted by Dr.CustUmz
I am trying to make a product that will give me a different header based on the forum I am in, that's no problem and complete...
|
Hello Dr.CustUmz
Glad to see you still here. You should upgrade to vB5, I made the jump and I don't regret it anymore even though my version vB 3.8.11 still runs on a domain name. The customization possibilities are also numerous but they are different. The big advantage of Vb5 is a better usability of posting topics and the different layouts that allow you to add even more content to a forum if you know what content to add. Conditionals can of course also be used on this content.
I know you have completed your work and want to do this to deliver a product. So I'm not a coder and I don't know your way of proceeding but the goal of changing the header per forum was achieved on my version vB 3.8.11 simply by copying and pasting the content of the header into the Forumdisplay template and using common conditionals on forums and user groups. vB 3.8.11 is a fast forum, you can do it like this.
You can even go further by dynamically changing the header per forum on each page load i.e. three different headers per forum for example by using this PHP function:
Code:
$safe_functions[] = 'rand';
Code:
<if condition="rand(0, 1)">
content1
<else />
<if condition="rand(0, 1)">
content2
<else />
content3
</if>
</if>
I do the same thing on vB5 but I proceed differently.