Using 1.1 b4. How would one go about outputting information from custom profile fields to an SSI driven page? Specifically what I'm doing is creating a custom profile field where users can enter the number of people they plan to bring to an event. The SSI page contains general information about the event, then outputs the usernames and number of people attending with those members. Perhaps even with a total at the end. How can this be done? Alternatively, can anyone think of an easier way to store this info in the database then output it on the appropriate page using the existing software? Thanks for your thoughts! Hope all is well for you.
I'm a bit tired now and my brain is not working so well so I'm not sure if what I'll say does make sense or not.
If you use loadMemberData/loadMemberContext to load the members data, you'll get all the custom fields values in
$memberContext[$user]['custom_fields']
that is an array. So you should be able to find the custom field by looping over the the entries of the array.
Could you somehow use a poll for that ... if not ignore me, I just finished a quadruple ale :P
I'm all ears for suggestions. Far from being a programmer, any help is welcome! Haha