View Full Version : A different background or bg image on each forum
delds
09-10-2005, 02:08 PM
Is it possible for a plugin or whatever mod
to have a different background color or different background image in each forum ?
For example you go to a fishing forum, you have a gif bg with fish swiming in around the forum. You select the hunting forum , you may see a deer in the background.
pyro.699
09-10-2005, 02:16 PM
yeah, i had this working, and its nto a pligin, i used the <if> tags ^^
i put this in my header
<if condition="$forumid == 7">
<style type="text/css">
<!--
body {
background-image: url(../forum/folder/image2.jpg);
background-attachment: fixed;
}
-->
</style>
</if>
<if condition="$forumid == 13">
<style type="text/css">
<!--
body {
background-image: url(../forum/folder/image2.jpg);
background-attachment: fixed;
}
-->
</style>
</if>
delds
09-10-2005, 02:24 PM
That should work, you just have to set up a set of if statements for each forums you wish to change the bg, any perticular place in the header template you need to put this ?
pyro.699
09-10-2005, 02:27 PM
i put it at the exact bottom ^^
vBulletin® v3.8.12 by vBS, Copyright ©2000-2025, vBulletin Solutions Inc.