The Arcive of Official vBulletin Modifications Site.It is not a VB3 engine, just a parsed copy! |
|
#1
|
|||
|
|||
Profilefield in vbulletin.css
This code has a mind of it's on, I can't get it to work right.
Code:
background: <vb:if condition="$bbuserinfo[field86]">url({vb:raw bbuserinfo.field86})<vb:else />{vb:stylevar doc_background}</vb:if>; |
#2
|
||||
|
||||
And the result you are seeing is?
And what are exact examples of the values of bbuserinfo.field86? |
#3
|
|||
|
|||
<a href="http://i763.photobucket.com/albums/xx279/jeniferqm/aw.jpg" target="_blank">http://i763.photobucket.com/albums/x...niferqm/aw.jpg</a>
just an example, it allows members to have their own background on the website. However it either shows the background, or shows the stock background, it does it randomly rather or not the field is left blank or not. Tried different browsers as well. |
#4
|
||||
|
||||
This is a condition that you are putting in what template? If you are going to switch backgrounds on a user, you shouldn't put that condition in a css template since those get cached by the browser. Put it in the page itself.
|
#5
|
|||
|
|||
That explains why it doesn't always change. How can I go about putting it in a different template?
|
#6
|
||||
|
||||
Put it in a non .css template.
|
Thread Tools | |
Display Modes | |
|
|
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
More Information | |
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|