The Arcive of Official vBulletin Modifications Site.It is not a VB3 engine, just a parsed copy! |
|
#1
|
|||
|
|||
Solved: Using $post['fieldX'] in array?
Hey there,
I'm currently trying to display a header (e.g. "<name> is currently playing") in a dropdown menu, only if at least one field has been given/answered/entered by the user in his usercp. So far I've tried the following: HTML Code:
<if condition="in_array($post[profilefieldid], array(9,10,11,12,13))"> <tr> <td class="thead">$post[username] is currently playing</td> </tr> </if> Any help would be greatly appreciated. EDIT: Never mind, I've fixed it. I just added an if conitional with OR statements for each $post['fieldX']. Thanks anyway. |
|
|
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
More Information | |
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|