The Arcive of Official vBulletin Modifications Site.It is not a VB3 engine, just a parsed copy! |
|
|
#1
|
||||
|
||||
![]()
^ Yeap kh99, I've had to do that on a few custom styles now, I try to avoid it but due to how some CSS is called (Profiles in Dark Styles more so) it seems that is required on occasion.
You should be able to check the the forumid using: Code:
<vb:if condition="$GLOBAL[forumid] == x"> In some templates Code:
<vb:if condition="$forum[forumid] == x"> Code:
<vb:if condition="$thread[forumid] == x"> ![]() Edit: OR actually you could simply whip up a plugin using the parse_templates hook location to render this in headinclude_bottom... something to the effect of: Code:
if ($vbulletin->userinfo['usergroupid'] == '1'){ $forumbg = '<style type="text/css"> html { background: rgb(0, 0, 0) url(images/mybackgroundfolder/blackbackground1.jpg) center fixed; overflow:scroll; } </style>'; } else { $forum = '<style type="text/css"> html { background: rgb(0, 0, 0) url(images/mybackgroundfolder/blackbackground2.jpg) center fixed; overflow:scroll; } </style>'; } $template_hook[headinclude_bottom_css] .= $forumbg; ![]() ![]() |
![]() |
Thread Tools | |
Display Modes | |
|
|
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
![]() |
|
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|