latest stable versions: v150827 (changelog)

Old Forums (READ-ONLY): The community now lives at WP Sharks™. If you have an s2Member® Pro question, please use our new Support System.

Registration / Profile Field

Home Forums Community Forum Registration / Profile Field

This topic contains 7 replies, has 3 voices. Last updated by  Cristián Lávaque 4 years, 3 months ago.

Topic Author Topic
Posted: Wednesday Sep 26th, 2012 at 6:26 am #26534
Stuart Giles
Username: Juggy69

Hello,

I am looking to add an additional field that is

Visible on signup but un-editable
Can be edited by an Editor or Admin level
Visible within the user profile

I have seen the registration options and the only way i think it can be done is as follows
Field Required* No (Optionial)
Allow Profile Edits* No (Un-editable after Registration) *Allows admin to edit
Can an Editor Level Edit?

Regards

Stuart

List Of Topic Replies

Viewing 7 replies - 1 through 7 (of 7 total)
Author Replies
Author Replies
Posted: Wednesday Sep 26th, 2012 at 12:59 pm #26598
David Welch
Username: dwbiz05

I would set it to:

Required: No
Allow Profile Edits : Yes (Editable)

Add this in the Other Attributes (optional) Section:

onclick="var urlCheck = window.location + ''; if(urlCheck.indexOf('wp-admin') == '-1'){ $(this).attr('disabled','disabled'); }"

This should disable the field if the user clicks on it but should allow the admin to edit it in the admin section.

Not sure about Editor Level access. You may have to use a role editor plugin to add that functionality.

Hope that helps,

Dave

Posted: Wednesday Sep 26th, 2012 at 1:20 pm #26602
Stuart Giles
Username: Juggy69

Hi Dave,

Cheers or the reply

I think my option is better :-)

Is there an option to have hidden during registration also?

I use Adminize Plugin to remove things from the dashboard but can’t quite see anything that would allow an editor to view / edit that section

Regards

Stuart

Posted: Thursday Sep 27th, 2012 at 6:48 am #26669

Can an Editor Level Edit?

Don’t think so. You’d need the capability to edit users, not posts.

Is there an option to have hidden during registration also?

Maybe this one?
[hilite code]No (uneditable & totally invisible, both during & after registration)[/hilite]

Posted: Thursday Sep 27th, 2012 at 3:31 pm #26720
Stuart Giles
Username: Juggy69

Hi Cristian,

I need to be able to allow editors to edit the page after a new registration, so then the user can copy their membership number to add to contact forms etc

Can S2 member auto generate Membership number for certain levels then?

Regards

Stuart

Posted: Thursday Sep 27th, 2012 at 11:10 pm #26790

I need to be able to allow editors to edit the page after a new registration, so then the user can copy their membership number to add to contact forms etc

I see, then you’d need to edit the editor’s role so he has the required WP capability for that.
http://codex.wordpress.org/Roles_and_Capabilities
http://wordpress.org/extend/plugins/user-role-editor/

Can S2 member auto generate Membership number for certain levels then?

No, it doesn’t have that feature, but you could probably create a hack for that. I’ll take this as a feature request and add it to the list. Thanks for the idea. :)

Posted: Monday Oct 1st, 2012 at 4:53 pm #27130
Stuart Giles
Username: Juggy69

Hi Cristian,

If your adding the second question as a feature request then surkey to 1st question should also be added otherwise no one will see the membership number ;-)

Regards

Stuart

Posted: Tuesday Oct 2nd, 2012 at 6:57 am #27199

Sure. I took note of it too. :)

Viewing 7 replies - 1 through 7 (of 7 total)

This topic is closed to new replies. Topics with no replies for 2 weeks are closed automatically.

Old Forums (READ-ONLY): The community now lives at WP Sharks™. If you have an s2Member® Pro question, please use our new Support System.

Contacting s2Member: Please use our Support Center for bug reports, pre-sale questions & technical assistance.