Community Support Forums — WordPress® ( Users Helping Users ) — 2011-05-10T15:49:22-05:00 http://www.primothemes.com/forums/feed.php?f=4&t=6371 2011-05-10T15:49:22-05:00 http://www.primothemes.com/forums/viewtopic.php?t=6371&p=14555#p14555 <![CDATA[Re: s2member pro - how to search members]]>
Hmm... My best suggestion would probably be that you get a freelance develper who creates this directory page for you. viewforum.php?f=37

I hope that helps. :)

Statistics: Posted by Cristián Lávaque — May 10th, 2011, 3:49 pm


]]>
2011-05-10T15:43:33-05:00 http://www.primothemes.com/forums/viewtopic.php?t=6371&p=14553#p14553 <![CDATA[Re: s2member pro - how to search members]]>
The following are the slug names that i need searchable.

Text ( single line )business_name_bizyes3
Text ( single line )first_name_bizyes3
Text ( single line )last_name_bizyes3
Text ( single line )email_biz no3
Text ( single line )contact_number_bizyes3
Text ( single line )business_number_bizyes3
Text ( single line )street_number_bizyes3
Text ( single line )street_name_bizyes3
Text ( single line )street_suffix_bizyes3
Text ( single line )city_biz yes3
Select Menu ( drop-down ) state_biz yes3
Text ( single line )zip_code_bizyes3
Textarea ( multi-line )discount_details_bizyes3
Select Menu ( multi-option )business_catagory_bizyes3

What would the code look like and where do I put it?

Again - I truly appreciate your patience with me. I love s2member, and besides this I have everything else all configured and figured out!

Statistics: Posted by lordjoshua — May 10th, 2011, 3:43 pm


]]>
2011-05-10T12:14:39-05:00 http://www.primothemes.com/forums/viewtopic.php?t=6371&p=14516#p14516 <![CDATA[Re: s2member pro - how to search members]]> get_userdata. https://codex.wordpress.org/Function_Re ... t_userdata

Statistics: Posted by Cristián Lávaque — May 10th, 2011, 12:14 pm


]]>
2011-05-10T11:50:56-05:00 http://www.primothemes.com/forums/viewtopic.php?t=6371&p=14515#p14515 <![CDATA[Re: s2member pro - how to search members]]> get_users function to get the IDs of users at Level 3 and then get the rest of the data you want to display in the directory with get_user_option.

http://codex.wordpress.org/Function_Reference/get_users
https://codex.wordpress.org/Function_Re ... ser_option

Code:
foreach(get_users("role=s2member_level3") as $user) {
    echo 
get_user_option('first_name'$user->ID);
}
 


I hope that helps.

Statistics: Posted by Cristián Lávaque — May 10th, 2011, 11:50 am


]]>
2011-05-10T01:29:08-05:00 http://www.primothemes.com/forums/viewtopic.php?t=6371&p=14498#p14498 <![CDATA[s2member pro - how to search members]]> Statistics: Posted by lordjoshua — May 10th, 2011, 1:29 am


]]>