![]() |
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 :) |
HTML Code:
<if condition="$post['field7'] == 'ML'"> |
Simple as that, eh!!! Many spanx :)
|
All times are GMT. The time now is 05:51 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:
|