Page 1 of 1
Customize the output from [s2Member-Profile /]
Posted:
June 16th, 2011, 12:39 pm
by rich_uk
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.
Re: Customize the output from [s2Member-Profile /]
Posted:
June 16th, 2011, 4:04 pm
by Cristián Lávaque
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_43I couldn't find a template either. I'm asking Jason about it.
Re: Customize the output from [s2Member-Profile /]
Posted:
June 16th, 2011, 4:24 pm
by lucjager
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
Re: Customize the output from [s2Member-Profile /]
Posted:
June 17th, 2011, 12:39 am
by jlac839
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).
Re: Customize the output from [s2Member-Profile /]
Posted:
June 17th, 2011, 12:47 am
by Cristián Lávaque
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.
Re: Customize the output from [s2Member-Profile /]
Posted:
June 17th, 2011, 2:22 am
by Jason Caldwell
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
Re: Customize the output from [s2Member-Profile /]
Posted:
June 17th, 2011, 3:56 am
by rich_uk
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
Re: Customize the output from [s2Member-Profile /]
Posted:
June 17th, 2011, 11:43 am
by jlac839
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!
Re: Customize the output from [s2Member-Profile /]
Posted:
July 24th, 2011, 9:15 pm
by quint
Hello jlac839,
Were you successful with integrating s2Member with Formidable Pro? Your feedback as to your progress would be appreciated.
Thanks!
Re: Customize the output from [s2Member-Profile /]
Posted:
July 26th, 2011, 6:32 pm
by craigjb12
+ 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>
Re: Customize the output from [s2Member-Profile /]
Posted:
July 26th, 2011, 11:00 pm
by jlac839
@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.