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™

Customize the output from [s2Member-Profile /]

s2Member Plugin. A Membership plugin for WordPress®.

Customize the output from [s2Member-Profile /]

Postby rich_uk » June 16th, 2011, 12:39 pm

Hi

I'm looking for a way customize the output from the [s2Member-Profile /] tag. Basically the output isn't really formatted they way we need and I'm dealing with around 30 custom fields, so it's getting a bit ugly. Functionally it all works great, I just want to make it more intuitive and friendly to users.

I couldn't find any files within the TEMPLATES folder that could be modified but I may be looking in the wrong place! Also the CSS in my main stylesheet seems to be getting overwritten by rules generated by s2member (either in it's own stylesheet or with the use of "style" attributes).

If there's a way to edit the output HTML that would be a big help (this is the PRO version too).

Thanks
Rich.
User avatar
rich_uk
Registered User
Registered User
 
Posts: 2
Joined: June 16, 2011

Re: Customize the output from [s2Member-Profile /]

Postby Cristián Lávaque » June 16th, 2011, 4:04 pm

Hi Rich.

Right now, I only see the hooks to edit this. viewtopic.php?f=40&t=9629&src_doc_v=110605#src_doc_line_43

I couldn't find a template either. I'm asking Jason about 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: Customize the output from [s2Member-Profile /]

Postby lucjager » June 16th, 2011, 4:24 pm

I would also like to see an pro form for profile modification, just like the pro forms which looks way better then the standard ones.

~ Luc
User avatar
lucjager
Experienced User
Experienced User
 
Posts: 33
Joined: November 10, 2010

Re: Customize the output from [s2Member-Profile /]

Postby jlac839 » June 17th, 2011, 12:39 am

I too am interested in customizing the forms. I've been hunting around the documentation for a way to do this but not finding it yet. I actually want to integrate the s2Member Pro functionality with Formidable Pro. Could you point me to where to read up on this please? I will admit that I have not watched all the s2Member vids yet, nor have I read everything available (there's a lot).

It seems to me that I ought to be able to do something like s2Member_function ( _form( _Formidable-gen-form() )); In other words create a Formidable form and have its returned values map onto the required s2Member data structure. If I have to code this up somehow that's fine but I'm new to Wordpress and need some pointers (ha no pun intended).
User avatar
jlac839
Registered User
Registered User
 
Posts: 3
Joined: June 17, 2011

Re: Customize the output from [s2Member-Profile /]

Postby Cristián Lávaque » June 17th, 2011, 12:47 am

jlac, you'd need to create the custom capabilities with s2Member, populate them in an account, go see how they are saved in the usermeta table in the database, and then figure out how to save them like that with another form.

Yeah, there's a lot to learn, but you can take it little by little, with the things you'll need to use (some parts you probably won't need). The videos are a great start http://s2member.com/videos/

lucjager wrote:I would also like to see an pro form for profile modification, just like the pro forms which looks way better then the standard ones.


Thanks for the vote. I emailed Jason on this topic, let's see what he says. :)
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: Customize the output from [s2Member-Profile /]

Postby Jason Caldwell » June 17th, 2011, 2:22 am

Thanks guys. No templates yet for the Profile, but we'll add this to our TODO list. Until then, you can certainly use CSS to style your Profile panels. s2Member's default CSS for Profile editing is inside: /s2member/includes/s2member.css. Starts at line #162 if you're running s2Member v110606+.

@TODO
~ 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: Customize the output from [s2Member-Profile /]

Postby rich_uk » June 17th, 2011, 3:56 am

Thanks for the fast responses!

I can certainly manage this by playing with that CSS file for now. And if we get a template to play with in future upgrades, that would be great. Thanks again.

Rich
User avatar
rich_uk
Registered User
Registered User
 
Posts: 2
Joined: June 16, 2011

Re: Customize the output from [s2Member-Profile /]

Postby jlac839 » June 17th, 2011, 11:43 am

Thanks for the info Cristian and Jason. I too will review the CSS approach for now.
I spent a few minutes trawling in the DB last night examining the meta data. I'd certainly need to spend some "quality time" with it to fully understand how to manipulate it with Formidable. As you said Cristian, little by little!

Thanks!
User avatar
jlac839
Registered User
Registered User
 
Posts: 3
Joined: June 17, 2011

Re: Customize the output from [s2Member-Profile /]

Postby quint » July 24th, 2011, 9:15 pm

Hello jlac839,

Were you successful with integrating s2Member with Formidable Pro? Your feedback as to your progress would be appreciated.

Thanks!
User avatar
quint
Registered User
Registered User
 
Posts: 1
Joined: July 24, 2011

Re: Customize the output from [s2Member-Profile /]

Postby craigjb12 » July 26th, 2011, 6:32 pm

+ 1 for customizable profile templates. A way to wrap sections in divs would be extremely helpful when dealing with long profiles as well,

e.g.

<div class="secction-name">
item
item
item
</div>
User avatar
craigjb12
Registered User
Registered User
 
Posts: 29
Joined: July 22, 2011

Re: Customize the output from [s2Member-Profile /]

Postby jlac839 » July 26th, 2011, 11:00 pm

@Quint

Unfortunately I have not had any time to work on integrating s2Member data from the mysql db with Formidable Pro. I have looked into it a bit and as Cristián suggested, it does look to be feasible. However, it will take a bit of investigation to determine the field formats and how to manipulate s2Member data with another package. Plus there's always the issue that s2Member might change one or more elements as part of a release and the investigation would need to be repeated etc.

Since I need to get something up and running soon, I'm sticking with the s2Member form for the moment and the Formidable Pro will have to remain on the back burner. Sorry.
User avatar
jlac839
Registered User
Registered User
 
Posts: 3
Joined: June 17, 2011


Return to s2Member Plugin

Who is online

Users browsing this forum: Exabot [Bot], Google [Bot] and 3 guests

cron