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™

Hide custom fields on "Profile Edit"

s2Member Plugin. A Membership plugin for WordPress®.

Hide custom fields on "Profile Edit"

Postby talkdownunder » June 5th, 2011, 4:30 pm

Hi,

I have a custom field "age" and need to update it with a cron job every mid night. Members only can be registered by admin and I want that field only appear to the site admin who use the edit page. Members can not see the field "age" on their "Profile Edit" page.

I use a custom filed to show edit to the admin, as there is no other way I can show the member age to the admin on the member edit page as changes done to the wp member edit page, will be lost on a future wp-updates.

And there is another field "first_time" to identify fist time login of the member, to show some messages to the member on his first login to the site. Currently that field also appear in the "Profile Edit".

Any suggestions?
Thanks in advance.


Thanks
Nad
User avatar
talkdownunder
Registered User
Registered User
 
Posts: 19
Joined: May 17, 2011

Re: Hide custom fields on "Profile Edit"

Postby Cristián Lávaque » June 6th, 2011, 3:34 am

Nad, I'm not sure I understand what you're asking. Could you please explain a little more? Thanks!
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: Hide custom fields on "Profile Edit"

Postby talkdownunder » June 6th, 2011, 6:49 am

:? Simply put, how can I hide a custom field from "Profile Edit" page? while its available to edit by Admin in "User Edit" page.

Thanks
Cristan
User avatar
talkdownunder
Registered User
Registered User
 
Posts: 19
Joined: May 17, 2011

Re: Hide custom fields on "Profile Edit"

Postby Cristián Lávaque » June 6th, 2011, 1:31 pm

Ah ok. Did you see the option Allow Profile Edits in the panel to create a new Custom Profile Field? There's an option to make it invisible and not allow edits after registration, but as the admin you are exempt of that setting.
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: Hide custom fields on "Profile Edit"

Postby talkdownunder » June 6th, 2011, 6:03 pm

Ahhhh :o I'm soo dumb
This was a project ran in a fast phase.
Didn't have much time to test all the features, or I might simply missed it.

Thanks my friend

Cheers
Nad
User avatar
talkdownunder
Registered User
Registered User
 
Posts: 19
Joined: May 17, 2011

Re: Hide custom fields on "Profile Edit"

Postby Cristián Lávaque » June 6th, 2011, 7:32 pm

Glad to help. :)
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


Return to s2Member Plugin

Who is online

Users browsing this forum: Google [Bot] and 0 guests

cron