The Arcive of Official vBulletin Modifications Site.It is not a VB3 engine, just a parsed copy! |
|
#1
|
|||
|
|||
Images in category strips, different for each category.
What's the cleanest way to go about doing this? I'm sure I can accomplish it using a few conditionals in the actual background img call for the category strip itself, but that seems like a bit of a pain.
If someone's done this (and I've seen plenty that have) a better way, I'd love to know what it is. |
#2
|
|||
|
|||
Bump because I'm going to try and do this the hard way this weekend.
|
#3
|
||||
|
||||
try inline CSS
eg. background-image: url(images/gradient_tcat$foruminfo[forumid].gif) |
#4
|
|||
|
|||
Dude you rock.
That CSS statement only applies to category strips, right? I notice that same image appears (for example) on my memberinfo tabs, but I can't recall if it's a manual edit I made myself that adds them there. |
#5
|
||||
|
||||
you would have to manually add that to the "forumhome_" nopost template (this would overide any embedded or external CSS)
you can then create your own gradients per forumid gradient_tcat$foruminfo[forumid].gif gradient_tcat34.gif gradient_tcat5.gif you would of course have to create a conditional if you only want the gradient to change only for a few places |
Thread Tools | |
Display Modes | |
|
|
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
More Information | |
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|