![]() |
Is my <if> and < else /> conditional correct?
Code:
<if condition=$show[profilepic]"> I am certain it is my <if> conditional because if i take it out the profile pic shows as suppose to, but the current code shows both the pic and default pic. |
Change the top line to
<if condition="$show[profilepic]"> Your missing the extra " |
thanks, i overlooked that. But For some reason it still won't work
could it be that my Code:
<if condition="$show[profilepic]"> |
change the variable to $userinfo[profilepicurl]
That way it checks if you have a url. If not it'll post your code |
nothing changes. All that i get is the box with the litte red X
|
the correct one is: $userinfo['profilepicurl'] ;)
|
thanks for all the help fellas, works like a charm now. :)
|
Quote:
'' in plugins not templates. |
Quote:
|
Quote:
|
All times are GMT. The time now is 12:06 AM. |
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:
|