Home Forums Plugin Support WP User Frontend Pro Problem updating profile fields

This topic is: resolved

This topic contains 12 replies, has 2 voices, and was last updated by  cmorillas 6 years, 2 months ago.

Viewing 13 posts - 1 through 13 (of 13 total)
  • Author
    Posts
  • #1463

    cmorillas
    Participant
    Post count: 29

    Hi,

    After installing the plugin, I create a form to update profile which contains profile fields and custom fields.

    When I push the update profile button, only custom fields are updated but the profile fields aren't.

    Any solution?. Thank you in advance.

    #1464

    Tareq Hasan
    Keymaster
    Post count: 2831

    I don't have a clue. I tested in my local machine and as well as the demo server. Both worked fine.

    #1465

    cmorillas
    Participant
    Post count: 29

    I have tried to unistall the plugin and reinstall. But It remains the previous data and configurations. How can I erase everthing?. Where are these data stored?. Becasue I deleted the entire plugin directory by ftp.

    Thank you.

    #1476

    cmorillas
    Participant
    Post count: 29

    I have reinstalled the wordpress and now it said:

    “WP User Frontend Error: Pleae activate your copy”

    And again it doesn't update the email profile field.

     

     

    #1477

    Tareq Hasan
    Keymaster
    Post count: 2831

    You've received a license key and you can activate a site once. Once it's activated, you can't use the same license key again. Anyway, as it's the same site, I have deactivated your current activation. You can now activate that again.

    If you told specifically about the email address field, I would be easier to look into that. And about the email address, seems like you found a bug. To quickly fix that, open the /class/frontend-profile-form.php file, line 314, add a line below that like this:
    [php]‘user_email' => $this->search( $user_vars, ‘name', ‘user_email' ) ? $_POST[‘user_email'] : ”,[/php]

    So now, it should be looking like this:
    [php]
    ‘user_url' => $this->search( $user_vars, ‘name', ‘user_url' ) ? $_POST[‘user_url'] : ”,
    ‘user_email' => $this->search( $user_vars, ‘name', ‘user_email' ) ? $_POST[‘user_email'] : ”,[/php]

    #1479

    cmorillas
    Participant
    Post count: 29

    Hi Again,

    What about the comments in the previous post?. Becasue if I I unistall the plugin and reinstall it, It retrieves all the previous data and configurations including forms that I don't want to use. How can I erase everthing and reinstall a fresh copy of the plugin?. Because I deleted the entire plugin directory by ftp and it doesn't fix my problem (I want a completely fresh install). Where are all these data stored?.

    Thank you again.

    #1481

    Tareq Hasan
    Keymaster
    Post count: 2831

    Those forms are a post type and they are stored in the wp_posts table. If you delete your forms, they should be deleted.

    #1482

    cmorillas
    Participant
    Post count: 29

    Thank you.

    It is still showing the message:

    “WP User Frontend Error: Pleae activate your copy”

    May be, it could be fixed, allowing the plugin to be installed whatever times you want whilst being installed on the same domain.

    I am doing several tests on my wordpress installation, and I am checking my hosting features and performance. I will reinstall my wordpress again in a near future. Maybe with another hosting. But in the same domain.

    Thank you,

    #1483

    cmorillas
    Participant
    Post count: 29

    If you don't mind another suggestion. You can create the file uninstall.php in order to delete all the tables, options and posts, etc. created by the plugin when the user decide to unistall the plugin. Thus will clear  unnecesary data in the wordpress installation, and will allow simplify a fresh reinstall of the plugin in case a user want to do it.

    #1484

    Tareq Hasan
    Keymaster
    Post count: 2831

    May be I need to change the activation api to adapt multiple activation on the same domain.

    #1485

    cmorillas
    Participant
    Post count: 29

    What about the message:

    “WP User Frontend Error: Pleae activate your copy”

    #1486

    Tareq Hasan
    Keymaster
    Post count: 2831

    Can you try hitting the save and activate button on the updates menu.

    #1488

    cmorillas
    Participant
    Post count: 29

    Ok. That was the solution. Thank you very much.

    Remember my two suggestions:

    – Change the activation api to adapt multiple activation on the same domain.
    – Create the file uninstall.php to delete all the things the plugin has introduced in the wordpress database, when the user uninstall the plugin. (http://codex.wordpress.org/Function_Reference/register_uninstall_hook).

    Good job,

    Cesar.

Viewing 13 posts - 1 through 13 (of 13 total)

The topic ‘Problem updating profile fields’ is closed to new replies.