![]() |
Question about if statement
I'm trying to put something together that is only shown to the person viewing the thread.
So, for example, if a person is viewing their postbit and they have one of the profile fields empty a message will appear to them saying you have a profile field empty. How would I do that? Code:
<vb:if condition="What goes here?">You have a profile field empty...</vb:if> |
<vb:if condition="$post[userid] == $bbuserinfo[userid]">stuff</vb:if>
|
OK. I figured it out...in case anyone else wanted to know.
This is what goes in the red. Code:
$bbuserinfo[userid] == $post['userid'] --------------- Added [DATE]1289360242[/DATE] at [TIME]1289360242[/TIME] --------------- Quote:
Thanks lynne. I presume either of these ways would work. It's just flipped. |
Yeah, either will work, the order in this condition doesn't matter.
|
am guessing this is a vb4.x why is it posted in the 3.8.x?
|
Um, uh.... moved!
|
lol sorry..
|
All times are GMT. The time now is 05:43 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:
|