The Arcive of Official vBulletin Modifications Site.It is not a VB3 engine, just a parsed copy! |
|
#1
|
|||
|
|||
Template Conditionals Problem
I need a Template Conditional that Shows my $bbuserinfo[field12].png Profile Field choosen Image to all the Other Users and to me.
With all the Template Conditionals i did try, the Image was showing only to me |
#2
|
||||
|
||||
Please post what you tried and also tell us what template you tried it in.
|
#3
|
|||
|
|||
I got this in my Postbit_legacy Template. This should Display a Background Image for the Postbit_Legacy, for other Users and for me but it Displays the Background only for me and not for Other Users...
PHP Code:
|
#4
|
||||
|
||||
you need to use $post[field12] not $bbuserinfo[field12].
|
#5
|
|||
|
|||
PHP Code:
|
#6
|
|||
|
|||
There are two other incidences of $bbuserinfo[field12] in your code, did you try it with those replaced too?
Quote:
|
#7
|
|||
|
|||
background: #212224 url(images/postbit/$post[field12].png);
Displays Nothing |
#8
|
||||
|
||||
Just put "Value: $post[field12]" in the message area and see what it says when you view the page, see what comes after value... Is it blank?
Are you sure you are using VB 3.x? This won't work on VB 4.x. |
#9
|
|||
|
|||
the output is:
Postbit1 Postbit1 is the Image name defined in Profile Fields... Image is Postbit1.png |
#10
|
||||
|
||||
Quote:
Code:
background: #212224 url(images/postbit/$post[field12].png); Code:
background: #212224 url(images/postbit/Postbit1.png); Code:
background: #212224 url("images/postbit/Postbit1.png"); |
|
|
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
More Information | |
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|