![]() |
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 :( |
Please post what you tried and also tell us what template you tried it in.
|
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:
|
you need to use $post[field12] not $bbuserinfo[field12].
|
Quote:
PHP Code:
|
There are two other incidences of $bbuserinfo[field12] in your code, did you try it with those replaced too?
Quote:
|
background: #212224 url(images/postbit/$post[field12].png);
Displays Nothing |
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. |
the output is:
Postbit1 Postbit1 is the Image name defined in Profile Fields... Image is Postbit1.png |
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"); |
not working with the quotes :(
hmmmmmmmmm |
Try putting the URL in the browser and make sure the image exists in the right place.
|
How about a link to the thread so we can see this?
|
All times are GMT. The time now is 06:35 PM. |
Powered by vBulletin® Version 3.8.12 by vBS
Copyright ©2000 - 2025, vBulletin Solutions Inc.
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
![]() |
|
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|