Your cart is currently empty!
Adding website to profile shortcode
—
by
Hi,
I’m having real trouble with the adding new fields for both the registration and profile shortcodes. I’ve used to extra fields shortcode, but when the user registers none of the additional information is saved in the user profile.
Also, how would I go about adding a website field to the user profile?
Thanks, plugin works great besides! So easy to customize for my needs!
Afzaal
Posted in Affiliates Pro
Comments
11 responses to “Adding website to profile shortcode”
Hi Kento,
Notice you just registered. I’ve not upgraded the account to affiliate so you can access the affiliate area at:
http://www.thinkupthemes.com/my-account/affiliate-center/
Thanks,
Afzaal
Cool, this looks great! I see the graphs seem to have an issue but I think you posted a comment on that here, will have a look at this.
Do you see the additional field’s value on the related user account?
Hi Kento,
Yes I saw the additional fields for the support account. Is there a way I can output this info in the profile shortcode? I’ll do some testing to figure out why the additional fields only seem to be showing for a new registered account, and not when an existing user subsequently signs up to be an affiliate.
Thanks for all your help!
I think in this case, the easiest would be to just pull the values with get_user_meta, rather than using an additional plugin to display user meta using shortcodes.
Glad to help!
Hi Kento, i’m searching solution to display user profile with extra shortcode.
Based on your answer above, I’ve to pull the values with get_user_meta. Could you help me how I can implement this solution in wordpress page?
Thank you.
Hi Mat,
You mean to display the values? It’s quite easy, if you have a look at the get_user_meta function reference in the Codex, you will find an example – I would make sure to sanitize the output though (the example that displays the
last_name
value doesn’t).Cheers
Thanks for the quick reply Kento. At the moment I’ve added 1 additional field “Monthly Page Views” using the shortcode below:
[affiliates_registration_extra_fields extra_fields_text=”monthly_page_views|Monthly Page Views” terms_post_id=”9817″]
This can be found at the following link:
http://www.thinkupthemes.com/affiliates/
Thanks in advance!
Afzaal
Thanks Afzaal, the shortcode looks ok. I’ve also made a quick test here using the exact same version and it’s recording the additional field info in the user profile that is related to the affiliate account.
Maybe it’s because you would expect to see the additional fields in the affiliate’s profile rather than the user profile? Note that these additional fields are added to the user account related to the affiliate, not the affiliate entry itself.
Hi Kento,
I noticed your pageview input in the members area. I tried testing it again by registering to the site using the affiliate form. In this case the details show in the user profile.
However, if an existing user signs up to the affiliate program then the extra fields info doesn’t show in the user profile. Seems odd. I’ll continue testing.
Also, is there a way to make the [affiliates_registration_extra_fields] editable for an already registered user? Some of my users signed up with just an email and username. This then prevents them from registering as it required a first and last name.
Thanks!
Thanks Afzaal,
For an existing user, they need to complete their profile details so they can sign up using the registration form. As we have the name as a requirement, it’s designed to force them to fill this in. What you can do is to point them to their profile to complete the missing name info.
Cheers
Hi Afzaal,
Please post the current way you are using the shortcode, it could be possible that you’re using incorrect syntax so let’s check that first. Can you also post a link to the site so we can have a look at the registration form?