Problem updating profile fields

This topic contains 12 reply and 2 voices, and was last updated by cmorillas 11 years, 8 months ago
Viewing 12 Posts - 1 through 12 (of 12 total)
Author Posts
March 23, 2013 at 9:51 pm 1463
cmorillas 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.
March 23, 2013 at 10:46 pm 1464
Tareq Hasan Tareq Hasan

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

March 23, 2013 at 11:56 pm 1465
cmorillas cmorillas

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.

March 24, 2013 at 9:28 am 1476
cmorillas cmorillas

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.

 

 

March 24, 2013 at 9:47 am 1477
Tareq Hasan Tareq Hasan

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]

March 24, 2013 at 10:32 am 1479
cmorillas cmorillas

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.

March 24, 2013 at 2:42 pm 1481
Tareq Hasan Tareq Hasan

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

March 24, 2013 at 6:36 pm 1482
cmorillas cmorillas

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,

March 24, 2013 at 6:42 pm 1483
cmorillas cmorillas

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.

March 24, 2013 at 6:43 pm 1484
Tareq Hasan Tareq Hasan

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

March 24, 2013 at 6:53 pm 1485
cmorillas cmorillas

What about the message:

“WP User Frontend Error: Pleae activate your copy”

March 24, 2013 at 7:07 pm 1486
Tareq Hasan Tareq Hasan

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

March 24, 2013 at 7:40 pm 1488
cmorillas cmorillas

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 12 Posts - 1 through 12 (of 12 total)