Page 1 of 1

Answers to Custom Questions

PostPosted: July 3rd, 2010, 10:25 am
by DickElkinwnrta
I have set up some custome questions for members to answer. How do I, as administrator, get all the answers to my user's questions? Ideally, this should either be a csv file or even better a report from the database that can be displayed to members as a page. :roll:

Re: Answers to Custom Questions

PostPosted: July 7th, 2010, 6:05 pm
by Jason Caldwell
Hi there. Great question. Thanks for writing in.
How do I, as administrator, get all the answers to my user's questions? Ideally, this should either be a csv file or even better a report from the database that can be displayed to members as a page.

With the free version of s2Member, you can use the Profile Editing Panel supplied by the s2Member plugin. This is detailed under: s2Member -> General Options -> Profile Modifications. The Profile Modification Panel will make all of these details available to a Member, and even let them modify their answers if they need to.

Now, with the s2Member Pro Module, you can also export the data into a CSV file. The s2Member Pro Module comes with a very advanced Import/Export system that also supports Custom Fields. http://www.s2member.com/

In either version, you *could* also use PHP to pull details for a specific User.
Code: Select all
<?php
$user = new WP_User("johndoe22");
$fields = get_usermeta($user->ID, "s2member_custom_fields");
print_r($fields);
?>