Support Forum

Advanced Search
Forum Scope


Match



Forum Options



Minimum search word length is 3 characters - maximum search word length is 84 characters
general-topic
Profile Page not showing everything in user profile...
Avatar
Jeremy Wunsch
Member
sp_UserOfflineSmall Offline
Aug 22, 2017 - 6:41 pm

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?

Avatar
Mr Papa
Simi Valley, CA
SP Master
Free Members
sp_UserOfflineSmall Offline
Aug 22, 2017 - 7:43 pm

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...

Avatar
Jeremy Wunsch
Member
sp_UserOfflineSmall Offline
Aug 22, 2017 - 11:30 pm

I believe it uses standard WP storage for profile info...  I am attaching a screenshot, and you can see that there is a Meta Key for each one....WP-Member-Custom-Field-Area.jpgImage Enlarger

Avatar
Yellow Swordfish
Glinton, England
SP Master
sp_UserOfflineSmall Offline
Aug 23, 2017 - 2:52 am

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.

andy-signature.png
YELLOW
SWORDFISH
Avatar
Jeremy Wunsch
Member
sp_UserOfflineSmall Offline
Aug 24, 2017 - 4:32 pm

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

Avatar
Mr Papa
Simi Valley, CA
SP Master
Free Members
sp_UserOfflineSmall Offline
Aug 24, 2017 - 6:00 pm

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...

Forum Timezone: Europe/Stockholm
Most Users Ever Online: 1170
Currently Online:
Guest(s) 1
Currently Browsing this Page:
1 Guest(s)
Top Posters:
Mr Papa: 19448
Ike: 2086
Brandon: 864
kvr28: 804
jim: 649
FidoSysop: 577
Conrad_Farlow: 531
fiddlerman: 358
Stefano Prete: 325
Member Stats:
Guest Posters: 618
Members: 17357
Moderators: 0
Admins: 4
Forum Stats:
Groups: 7
Forums: 17
Topics: 10123
Posts: 79616