Optional Fields and User Update
-
I LOVE this plugin, and would definitely purchase the Pro version if it included the following features:
– include googleplus, twitter, facebook optional fields
– ability to not only create user records, but to post updates to existing user records (i.e. change roles, update user field values)
– ability to have an optional auth key stored within the plugin settings, to bypass the need for the nonce. I need to perform the post from a third party application (Infusionsoft), which does not support me retrieving the nonce value.Would you be able to add these features to the Pro version??
Thanks!
-
Hi Jerry,
– include googleplus, twitter, facebook optional fields
You can save any optional fields as user meta for any user.
just call
Method: update_user_meta
It needs ‘cookie’ and ‘meta_key’ var and ‘meta_value’ to update. You may send multiple values separated by comma.http://localhost/api/user/update_user_meta/?cookie=COOKIE-HERE&meta_key=googleplus&meta_value=jerryroxas
http://localhost/api/user/update_user_meta/?cookie=COOKIE-HERE&meta_key=facebook&meta_value=jerryroxas
http://localhost/api/user/update_user_meta/?cookie=COOKIE-HERE&meta_key=twitter&meta_value=jerryroxas– ability to not only create user records, but to post updates to existing user records (i.e. change roles, update user field values)
Yes, you can update user fields:
– ability to have an optional auth key stored within the plugin settings, to bypass the need for the nonce. I need to perform the post from a third party application (Infusionsoft), which does not support me retrieving the nonce value.
Pro version already has API key protection saved in setting page. I just need to add the bypass setting for nonce which is a good idea. This can be done. I will add bypassing option in the next update of Pro version.
Thanks for liking the Plugin.
Hi Jerry,
– include googleplus, twitter, facebook optional fields
You can save any optional fields as user meta for any user.
just call
Method: update_user_meta
It needs ‘cookie’ and ‘meta_key’ var and ‘meta_value’ to update. You may send multiple values separated by comma.http://localhost/api/user/update_user_meta/?cookie=COOKIE-HERE&meta_key=googleplus&meta_value=jerryroxas
http://localhost/api/user/update_user_meta/?cookie=COOKIE-HERE&meta_key=facebook&meta_value=jerryroxas
http://localhost/api/user/update_user_meta/?cookie=COOKIE-HERE&meta_key=twitter&meta_value=jerryroxas– ability to not only create user records, but to post updates to existing user records (i.e. change roles, update user field values)
Yes, you can update user fields:
– ability to have an optional auth key stored within the plugin settings, to bypass the need for the nonce. I need to perform the post from a third party application (Infusionsoft), which does not support me retrieving the nonce value.
Pro version already has API key protection saved in setting page. I just need to add the bypass setting for nonce which is a good idea. This can be done. I will add bypassing option in the next update of Pro version.
Thanks for liking the Plugin.
Hi Jerry,
– include googleplus, twitter, facebook optional fields
You can save any optional fields as user meta for any user.
just call
Method: update_user_meta
It needs ‘cookie’ and ‘meta_key’ var and ‘meta_value’ to update. You may send multiple values separated by comma.http://localhost/api/user/update_user_meta/?cookie=COOKIE-HERE&meta_key=googleplus&meta_value=jerryroxas
http://localhost/api/user/update_user_meta/?cookie=COOKIE-HERE&meta_key=facebook&meta_value=jerryroxas
http://localhost/api/user/update_user_meta/?cookie=COOKIE-HERE&meta_key=twitter&meta_value=jerryroxas– ability to not only create user records, but to post updates to existing user records (i.e. change roles, update user field values)
Yes, you can update user fields:
– ability to have an optional auth key stored within the plugin settings, to bypass the need for the nonce. I need to perform the post from a third party application (Infusionsoft), which does not support me retrieving the nonce value.
Pro version already has API key protection saved in setting page. I just need to add the bypass setting for nonce which is a good idea. This can be done. I will add bypassing option in the next update of Pro version.
Thanks for liking the Plugin.
Hi Jerry,
– include googleplus, twitter, facebook optional fields
You can save any optional fields as user meta for any user.
just call
Method: update_user_meta
It needs ‘cookie’ and ‘meta_key’ var and ‘meta_value’ to update. You may send multiple values separated by comma.http://localhost/api/user/update_user_meta/?cookie=COOKIE-HERE&meta_key=googleplus&meta_value=jerryroxas
http://localhost/api/user/update_user_meta/?cookie=COOKIE-HERE&meta_key=facebook&meta_value=jerryroxas
http://localhost/api/user/update_user_meta/?cookie=COOKIE-HERE&meta_key=twitter&meta_value=jerryroxas– ability to not only create user records, but to post updates to existing user records (i.e. change roles, update user field values)
Yes, you can update user fields:
– ability to have an optional auth key stored within the plugin settings, to bypass the need for the nonce. I need to perform the post from a third party application (Infusionsoft), which does not support me retrieving the nonce value.
Pro version already has API key protection saved in setting page. I just need to add the bypass setting for nonce which is a good idea. This can be done. I will add bypassing option in the next update of Pro version.
Thanks for liking the Plugin.
Hi Jerry,
– include googleplus, twitter, facebook optional fields
You can save any optional fields as user meta for any user.
just call
Method: update_user_meta
It needs ‘cookie’ and ‘meta_key’ var and ‘meta_value’ to update. You may send multiple values separated by comma.http://localhost/api/user/update_user_meta/?cookie=COOKIE-HERE&meta_key=googleplus&meta_value=jerryroxas
http://localhost/api/user/update_user_meta/?cookie=COOKIE-HERE&meta_key=facebook&meta_value=jerryroxas
http://localhost/api/user/update_user_meta/?cookie=COOKIE-HERE&meta_key=twitter&meta_value=jerryroxas– ability to not only create user records, but to post updates to existing user records (i.e. change roles, update user field values)
Yes, you can update user fields:
Changing role is tricky. User can’t and should not be able to change his own role, that does not make sense. Only admin should do that.
– ability to have an optional auth key stored within the plugin settings, to bypass the need for the nonce. I need to perform the post from a third party application (Infusionsoft), which does not support me retrieving the nonce value.
Pro version already has API key protection saved in setting page. I just need to add the bypass setting for nonce which is a good idea. This can be done. I will add bypassing option in the next update of Pro version.
Thanks for liking the Plugin.
Hi Jerry,
– include googleplus, twitter, facebook optional fields
You can save any optional fields as user meta for any user.
just call
Method: update_user_meta
It needs ‘cookie’ and ‘meta_key’ var and ‘meta_value’ to update. You may send multiple values separated by comma.http://localhost/api/user/update_user_meta/?cookie=COOKIE-HERE&meta_key=googleplus&meta_value=jerryroxas
http://localhost/api/user/update_user_meta/?cookie=COOKIE-HERE&meta_key=facebook&meta_value=jerryroxas
http://localhost/api/user/update_user_meta/?cookie=COOKIE-HERE&meta_key=twitter&meta_value=jerryroxas– ability to not only create user records, but to post updates to existing user records (i.e. change roles, update user field values)
Yes, you can update user fields:
Changing role is tricky. User can’t and should not be able to change his own role, that does not make sense. Only admin should do that & they can do that from admin panel..
– ability to have an optional auth key stored within the plugin settings, to bypass the need for the nonce. I need to perform the post from a third party application (Infusionsoft), which does not support me retrieving the nonce value.
Pro version already has API key protection saved in setting page. I just need to add the bypass setting for nonce which is a good idea. This can be done. I will add bypassing option in the next update of Pro version.
Thanks for liking the Plugin.
woohoo.. sorry for multiple replies.. looks like something gone wrong with WordPress here..
lol, i was gonna say… wow, that’s a lot of responses!
thanks for getting back to me, and for adding the nonce bypass on the pro version. the problem i have is that i’m posting to the json_api_user from within infusionsoft to create new users real time on my wordpress site. unfortunately, infusionsoft doesn’t allow me to capture and process the response from the json_api_user, so i can’t retrieve wordpress user cookies and then repost to the user_update method to update the meta fields.
do you have any suggestions to achieve what i need to do with your plugin? it would be really helpful, because i love how clean and simple your plugin is!
please let me know.
thanks!
I got your point.
Then you need a custom plugin where user is not authenticated via cookie for updating his profile data. All validation will be via only API key and mnay be api secret. And then you will be able to update any data, you will need to provide user_id with every call though.
send me email and we can talk further what you need.
Thanks
Ali, I just sent you an email via the email address on the contact page of your website (http://www.parorrey.com/contact/). Please review and reply back to my email. Thanks for your help!
hi
can I clarify one point, ALi, where you say you can send multiple values seperated by comma: is that 1)multiple pairs of meta_key/meta_values OR 2)one meta_key that accepts multipe comma seperated values?I am interested in option 1 becaue I do’t want to have to issue multiple network requests. if option is possible can you please confirm the syntax?
Hi usergoodvery,
Currently, you can only update one pair of key/value at a time. Although you can use ‘xprofile_update’ endpoint for multiple values at once.
I will add a new endpoint to allow multiple meta_key/value update simultaneously in a day or two.
great stuff. how did you go with media upload? is that ready in pro?
I was stuck in some other earlier task.. will be on media upload endpoints around this weekend.. thanks for checking & reminding.
no problems good luck with that
The topic ‘Optional Fields and User Update’ is closed to new replies.