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.

About: Manuel Gentinetta

Sorry, I've not written a description yet. I'll get to it soon!


Topics I'm Subscribed To

Viewing 2 topics - 1 through 2 (of 2 total)
Topic Count Last Reply
Code formatting?

By:  Manuel Gentinetta in: Community Forum

voices: 1
replies: 0

3 years, 1 month ago  Manuel Gentinetta

Filter custom registration form field values

By:  Manuel Gentinetta in: Community Forum

voices: 1
replies: 1

3 years, 2 months ago  Manuel Gentinetta

Viewing 2 topics - 1 through 2 (of 2 total)

Topics I've Started

Viewing 3 topics - 1 through 3 (of 3 total)
Topic Count Last Reply
Code formatting?

By:  Manuel Gentinetta in: Community Forum

voices: 1
replies: 0

3 years, 1 month ago  Manuel Gentinetta

Pages with trailing slash

By:  Manuel Gentinetta in: Community Forum

voices: 1
replies: 0

3 years, 2 months ago  Manuel Gentinetta

Filter custom registration form field values

By:  Manuel Gentinetta in: Community Forum

voices: 1
replies: 1

3 years, 2 months ago  Manuel Gentinetta

Viewing 3 topics - 1 through 3 (of 3 total)

My Latest Replies (From Various Topics)

Viewing 3 replies - 1 through 3 (of 3 total)
Author Replies
Author Replies
Posted: Wednesday Oct 16th, 2013 at 11:54 am #60407

As a regex, something like this might work:

AND UMS.meta_value REGEXP '[^"]+\"" . mysql_real_escape_string( $_SESSION['searchfield'] ) . "\".+\"" . mysql_real_escape_string( $_SESSION['searchvar'] ) . "\"'

A quick hack might be

AND UMS.meta_value LIKE '%" . $_SESSION['searchfield'] . "%' AND UMS.meta_value LIKE '%" . $_SESSION['searchvar'] . "%'
Posted: Wednesday Oct 16th, 2013 at 11:05 am #60405

Have you tried this:

https://codex.wordpress.org/Plugin_API/Action_Reference/profile_update

or this:

https://codex.wordpress.org/Plugin_API/Action_Reference/edit_user_profile_update

Also, there might be some help here:

http://www.s2member.com/codex/stable/s2member/user_access/package-filters/#src_doc_ws_plugin__s2member_user_access_level

Without knowing too much of the code, I think s2members just adds new roles/capabilities. So checking a user’s role when their profile is saved might be a start.

Posted: Wednesday Oct 16th, 2013 at 8:48 am #60404

Bump. Please add this to a coming version as soon as possible. Otherwise, handling custom profile fields is almost not possible.

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

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.