Support Forum
Ok... I am using Avada for my theme... I am using WP-Members to control register/login/out etc...
In WP-Members, when someone registers I have them fill out some extra profile fields that we need to collect... However, I can't figure out how to get those fields to show up in the SP profile page... I would like the user to be able access and change them from there...
I have also bought ALL your plugins. I thought that the Custom Profile Field Plugin would help, but I can't get it two work...
All the fields that the user creates with WP-Members shows up just fine in the "normal" WP Users Profile view... I just need to get them to show up in the SP profile view also...
Any thoughts?
depends on how you stored the extra data you had them add... if it uses the standard wp storage for profile info (user meta), then the custom profile fields plugin can pull that data directly... of course, you still have to use the template tags for the custom profile fields as shown in the code page: https://simple-press.com/docum.....le-fields/
if you didnt store them like standard wp profile data, you are going to have to manually pull the date out and display it on the profile page by editing the forum profile display template file...
so a little more info and we can provide more guidance...
Visit Cruise Talk Central and Mr Papa's World
So that's perfect. You need to start out by using our Custom Profile Fields plugin. Create a new custom field for each of the items of data you want to display. Use the meta_key from the above list as the name of the custom field. are sure the name is identical in every respect.
This will then ensure that the SP profile data object includes that data.
Choose on which SP profile form to display that data and once saved it should just appear and be editable.
Note: Creating this field will not damage any data that already exists.
YELLOW
SWORDFISH
|
Thank you, this worked!!!
A few things to note (and a follow up question on this)...
1. Your meta field defaults to all lowercase. The WP-Members plugin, does not default to lowercase, so I ended up recreating my fields in WP-Members in lower case after I created them in SP.
2. Because of item 1 above, I was playing with it to figure things out... Therefore I had a lot of profile options, and the ones that worked were at the bottom of testing. It would be nice if there was a "reorder" option so that I didn't have to delete and redo to get them in the proper order after I got them all working.
The question:
Is there a way to make the fields required? I made them required at registration with WP-Members pluging, but when they edit the profile from inside of SP, they can delete items that I have marked as required.
Thanks again for your help! It is very nice to have the team that created the plugin be responsive to questions!
Jeremy
1 - we use a WP slug sanitization routine for creating the field... and it does force lowercase... I cant think of a reason other than we wanted to use a built in routine and not recreate the wheel...
2 - are you talking about on the profile for input or for display?? the latter you have complete control via template tag placement... if on the input side, would be a bit of work, I think... would be quite difficult to intersperse with existing core fields, but more feasible to just do ordering of the custom fields.. I dont see any current hooks that would allow easy manipulation either...
Afraid there is no current method for marking a profile field as required... we have thought about it couple times in past, but frankly wasnt enough user request (none) or push for it, so its been very low on priority list...
Visit Cruise Talk Central and Mr Papa's World