The Arcive of Official vBulletin Modifications Site.It is not a VB3 engine, just a parsed copy! |
|
#1
|
|||
|
|||
Custom profilefield if:condition possible?
Hi there
I'd like to do a <vb:if condition> with a custom profilefield. Here's an example: - I have a custom profile field [field10] - The value is either 'boy' or 'girl' Is it possible to perform an <vb:if condition> for all users that have 'boy' in [field10]? Thanks & cheers Dennis |
#2
|
|||
|
|||
Which template do you want to put that in? If you want to use it in a postbit template to check the post author, you should be able to use condition="$post[field10] == 'boy'" or something like that. You can use $bbuserinfo['field10'] in other templates, but that will check the "current" user (i.e. whoever you're logged in as).
|
#3
|
|||
|
|||
Quote:
I use it in Postbit, and this would be the if condition: <vb:if condition="$post[field10] == 'boy'"> Btw, is there a list available for all available vbulletin 4 conditions? Thanks again! Dennis |
|
|
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
More Information | |
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|