The Arcive of Official vBulletin Modifications Site.It is not a VB3 engine, just a parsed copy! |
|
#1
|
||||
|
||||
if condition (fieldx) help please
Hi folks,
Once again, I'm stumped on an if condition situation. I have a standardized layout for two groups, but also employ hidden fields to differentiate gender of members. I need to somehow acquire the value of 'man' or 'woman' (as defined in field 7 of user-profile-fields in ACP) and use that to determine the action followed. For example, say I was using speech synthesis - I'd like posts by 'men' spoken with a male voice, and posts by 'women' spoken by a female voice. So I currently have something to this effect: PHP Code:
I know I have to use field7 to acquire the status ('man' or 'woman') of the poster/member, but I am not sure how to extract it and use it as a defining term for the 'if condition'. All help appreciated |
#2
|
|||
|
|||
HTML Code:
<if condition="$post['field7'] == 'ML'"> ....coding... </if> |
#3
|
||||
|
||||
Simple as that, eh!!! Many spanx
|
|
|
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
More Information | |
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|