Adjust User Profile Field (Shortcode?) / Write Profile field
Posted: December 4th, 2011, 2:23 pm
Hi
Apologies if this is obvious or I've missed something in Codex. but are there functions to allow you to adjust a user's profile via shortcode after registration?
Essentially what I want to do is have a field in the profile (hidden and unable to edit by the user) that is a check box for terms and conditions. I don't need the user to click them on registration but rather further down the line when they come to do something more advanced on the website beyond registering i.e. download some files for instance. At that stage I want to have a button that confirms the user has read some t&cs and when they click it, it automatically updates that profile field to say they've accepted, and in future when they come to download more files, there is a quick shortcode request/check to see if that field is positive (=allow file download) or negative (ask to confirm T&cs).
Apologies if this is obvious or I've missed something in Codex. but are there functions to allow you to adjust a user's profile via shortcode after registration?
Essentially what I want to do is have a field in the profile (hidden and unable to edit by the user) that is a check box for terms and conditions. I don't need the user to click them on registration but rather further down the line when they come to do something more advanced on the website beyond registering i.e. download some files for instance. At that stage I want to have a button that confirms the user has read some t&cs and when they click it, it automatically updates that profile field to say they've accepted, and in future when they come to download more files, there is a quick shortcode request/check to see if that field is positive (=allow file download) or negative (ask to confirm T&cs).