Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 8370339
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 9, 20262026-06-09T13:53:35+00:00 2026-06-09T13:53:35+00:00

I created a page to update a user’s WordPress profile. The site uses cimy

  • 0

I created a page to update a user’s WordPress profile. The site uses cimy user extra fields, and adds several custom fields to the users profile. The page gets all of the users data and enters into the appropriate field in the form. Users can make whatever changes they need then click submit.

When the form is posted is calls edit_user(). It returns errors that all of the extra fields are empty. I can echo out the $_POST variables and they are all there. The names match what they are named in the cimy settings panel. The standard WordPress fields are fine. I am not sure if I need to switch to something other than edit_user(), I have looked at a couple of others methods but nothing looks any better than edit_user(), or is there something else I need to do to be able to update the cimy extra fields.

Here is the code:

if(!empty($_POST['action'])){
    require_once(ABSPATH . 'wp-admin/includes/user.php');
    require_once(ABSPATH . WPINC . '/registration.php');
    check_admin_referer('update-profile_' . $user_ID);
    $errors = edit_user($user_ID);
    echo $_POST['church'];
    if ( is_wp_error( $errors ) ) {
        foreach( $errors->get_error_messages() as $message )
        $errmsg .= "$message ";
    }
    if($errmsg == ''){
        do_action('personal_options_update', $user_id);
        $d_url = $_POST['dashboard_url'];
        wp_redirect( get_option("siteurl").'?page_id='.$post->ID.'&updated=true' );
    }
    else {
        $errmsg = '<div class="box-red">** ' . $errmsg . ' **</div>';
        $errcolor = 'style="background-color:#FFEBE8;border:1px solid #CC0000;"';
    }
}

As per usual, I am sure that I am overlooking something obvious.

Any thoughts would be greatly appreciated.Thanks.

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-06-09T13:53:36+00:00Added an answer on June 9, 2026 at 1:53 pm

    I figured it out. The plugin adds cimy_uef_ to the front of the field names. Once I added that everything worked correctly.

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I've created a page which asks user to fill some form fields and when
I have created a page on my site where users can post directly to
I have created login page forced login in several pages. Now i need to
I try to do following: A user is on his profile page. Now he
I needed to create a custom select list for the user registration page that
The following is a simplified example of a page a user has created at
Say I have a page in my web application that lets a user update
i created a page on which i tried to attain the effect of bottom
I created a page that has a JQuery based dialog using the standard JQuery
I created a page where I give admin's a way to change photos info

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.