The Arcive of vBulletin Modifications Site. |
|
|
#1
|
|||
|
|||
|
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. |
|
#2
|
|||
|
|||
|
yeah, i had this working, and its nto a pligin, i used the <if> tags ^^
i put this in my header Code:
<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>
|
|
#3
|
|||
|
|||
|
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 ?
|
|
#4
|
|||
|
|||
|
i put it at the exact bottom ^^
|
![]() |
|
|
| X vBulletin 3.8.12 by vBS Debug Information | |
|---|---|
|
|
More Information |
|
|
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|