PriMoThemes — now s2Member® (official notice)

This is now a very OLD forum system. It's in READ-ONLY mode.
All community interaction now occurs at WP Sharks™. See: new forums @ WP Sharks™

Adding Buddypress with an existing s2member user base

s2Member Plugin. A Membership plugin for WordPress®.

Adding Buddypress with an existing s2member user base

Postby leialee31 » May 17th, 2011, 1:07 am

Hi,

Thanks so much for this great plugin. It's been really helpful! :)

I have a conundrum. I've built a site for an arts nonprofit that allows artists who want to participate in a festival to register as members. Up until now, I've only been using s2member. There are over 100 registered users who have filled out very detailed information using s2member's custom fields.

However, the nonprofit wants to list all of the artists at a certain level on a directory page that links to individual profiles (which are like business listings). This apparently is what the membership fee is meant to cover. I've attempted to use members-list to no avail - I can't get it to show s2member custom fields and I haven't been able to find a detailed or successful solution.

I know that the question of creating a public directory has been addressed in the forums before, but I read through all the posts and didn't see a resolution. I also know you guys were talking about adding a feature like this to the pro module, and I'd love to get an ETA on that. I would gladly purchase Pro, but this project is ridiculously time sensitive so it would be so, so helpful to know if the release is too far away for me to wait on this time around.

If there isn't any way to do this with members-list, I'd like to try to install buddypress since it seems to have all those functions, but since all of our registered members filled out custom field information that's stored differently I don't know how to make the jump without losing all of their data.

So my questions in short are as follows:
1) Is there anywhere I can find a detailed explanation of how to use members-list with s2member custom fields?
2) If not, is the s2member pro module with the ability to create member lists and profiles coming out very soon?
3) Failing all else, is there a way for me to import the data for my existing users into buddypress without losing all of the custom profile information they've already filled out?

Thank you so much in advance for your help, and I'm sorry this was so long!

Leia D.
Last edited by leialee31 on May 17th, 2011, 1:25 am, edited 1 time in total.
User avatar
leialee31
Registered User
Registered User
 
Posts: 9
Joined: May 17, 2011

Re: S2member adding buddypress with existing member base

Postby leialee31 » May 17th, 2011, 1:23 am

I should add, if the only way for me to salvage my user information is to manually do it member by member, I'm willing to do that (though it's a bummer. :D ). I just need to know whether that's my only option at this point.

Thank you again!
User avatar
leialee31
Registered User
Registered User
 
Posts: 9
Joined: May 17, 2011

Re: Adding Buddypress with an existing s2member user base

Postby leialee31 » May 17th, 2011, 4:50 pm

I found a solution, and I didn't even need BP! Role-specific Member list and user profiles are active. :D I used a kind of defunct user profile plugin and figured out how to get the variables in there properly with some of the code that other people in the forum were knocking around. I'll share how and post a link when I get a little further if anyone's interested.
User avatar
leialee31
Registered User
Registered User
 
Posts: 9
Joined: May 17, 2011

Re: Adding Buddypress with an existing s2member user base

Postby Cristián Lávaque » May 17th, 2011, 4:55 pm

Awesome! I'm interested, and I'm sure others are too.

I had not replied earlier because I emailed Jason asking how to do this and was waiting for his reply.

I'm very glad you solved it. I look forward to your how-to. :)
Cristián Lávaque http://s2member.net
Is s2Member working for you? Please rate it Image at WordPress.org. Thanks! :)
User avatar
Cristián Lávaque
Developer
Developer
 
Posts: 6836
Joined: December 22, 2010

Re: Adding Buddypress with an existing s2member user base

Postby Jason Caldwell » May 18th, 2011, 6:52 pm

Hi there. Yes, please do share.
I'd love to see what you came up with.

FYI: You can grab s2Member's Custom Fields for a User like this:
Code: Select all
<?php
$field 
= get_user_field("my_custom_field");
?>

Or for a specific User like this:
Code: Select all
<?php
$field 
= get_user_field("my_custom_field", $user_id);
?>

Or get all of the fields in an array, like this:
Code: Select all
<?php
$fields 
= get_user_option("s2member_custom_fields");
?>
~ Jason Caldwell / Lead Developer
& Zeitgeist Movie Advocate: http://www.zeitgeistmovie.com/

Is the s2Member plugin working for you? Please rate s2Member at WordPress.org.
You'll need a WordPress.org account ( comes in handy ). Then rate s2Member here Image
.
User avatar
Jason Caldwell
Lead Developer
Lead Developer
 
Posts: 4045
Joined: May 3, 2010
Location: Georgia / USA

Re: Adding Buddypress with an existing s2member user base

Postby leialee31 » May 23rd, 2011, 4:38 pm

Hey guys, thank you so much for your helpful replies!

I used a combination of the User-Photo plugin, the Wordpress-Users plugin (which seems to be kind of abandoned by its creator in terms of support and stuff) and of course s2member.

You can see the results in action here: http://www.northsideopenstudios.org/view-members/. It's not super pretty yet because it's a list of artists, and artists are lazy (they haven't all uploaded images yet). WP-users is sorting by the levels I want to display (showing only members who have paid), ordering them by id, and pulling the s2member custom fields by using the break-into-an-array code that someone else posted here a while back.

I'm working on a mini tutorial in a post below, but I'm a horrible, horrible coder so I'm not sure how clearly I'll be able to explain. :) Tutorial posted here: viewtopic.php?f=4&t=6536
User avatar
leialee31
Registered User
Registered User
 
Posts: 9
Joined: May 17, 2011

Re: Adding Buddypress with an existing s2member user base

Postby Cristián Lávaque » May 23rd, 2011, 4:50 pm

Cool! :)
Cristián Lávaque http://s2member.net
Is s2Member working for you? Please rate it Image at WordPress.org. Thanks! :)
User avatar
Cristián Lávaque
Developer
Developer
 
Posts: 6836
Joined: December 22, 2010

Re: Adding Buddypress with an existing s2member user base

Postby leialee31 » May 23rd, 2011, 6:40 pm

Oh, also, let me know If I should move this tutorial to a separate post, since it's not strictly relevant to the thread title. If one of you is able to do that that's cool too.
User avatar
leialee31
Registered User
Registered User
 
Posts: 9
Joined: May 17, 2011

Re: Adding Buddypress with an existing s2member user base

Postby Cristián Lávaque » May 23rd, 2011, 8:39 pm

Thanks a lot Leia! Very good work for someone that doesn't know much PHP. :)

If you want I can help you split the tutorial to its own thread, just tell me what subject line you'd like for it.
Cristián Lávaque http://s2member.net
Is s2Member working for you? Please rate it Image at WordPress.org. Thanks! :)
User avatar
Cristián Lávaque
Developer
Developer
 
Posts: 6836
Joined: December 22, 2010

Re: Adding Buddypress with an existing s2member user base

Postby Jason Caldwell » May 23rd, 2011, 9:12 pm

I split this topic into a separate tutorial post for you:
viewtopic.php?f=4&t=6536
~ Jason Caldwell / Lead Developer
& Zeitgeist Movie Advocate: http://www.zeitgeistmovie.com/

Is the s2Member plugin working for you? Please rate s2Member at WordPress.org.
You'll need a WordPress.org account ( comes in handy ). Then rate s2Member here Image
.
User avatar
Jason Caldwell
Lead Developer
Lead Developer
 
Posts: 4045
Joined: May 3, 2010
Location: Georgia / USA


Return to s2Member Plugin

Who is online

Users browsing this forum: Bing [Bot] and 2 guests

cron