Wed 13 May 2020 at 06:08 #61186
If you have a person linked to a wp_user when they want to add themselves to a membership using the [eme_add_member_form id=xx] on a standard wp page, if you show a placeholder for the person address, #_ADDRESS1 etc, in the template it will render a blank and read only imput field. I can understand the read-only bit as I think there is a feature request to allow this information to be updated or reviewed on each new membership or RSVP. Not displaying the address values if they exist is a problem.Version 2.1.76Wed 13 May 2020 at 07:22 #61187
I’ll test this out later today but are you sure the wp user is only linked to one eme person?Wed 13 May 2020 at 08:04 #61188
Yes. This is in my dev environment and there are only a few users and I have played around with the linking to the wp_user and not. I have also checked the databaase and the wp_id column is unique except for the zeros. I have been hesitant in creating this request as I can see you are very busy and doing a good job on it. As some background, My plans are to replicate the address and some other fields into Buddypress and do a bit of php magic so they synchronise with eme. I think that ‘people’ ideally should be outside eme and your approach of linking wp users is good. The rationale for me to even try this is so that we have a soft entry for people who then “upgrade” themselves to become full members. For this second step we need addresses and phone numbers as a couple of ways of contacting them.Wed 13 May 2020 at 08:57 #61191
I confirm this issue. This should fix it:
But also, I’m interested in Buddypress integration. So if we could work together on this, I’m more than willing to (or you can code it up and send the changes). I don’t know Buddypress too well though …Wed 13 May 2020 at 09:36 #61194
Your fix seems to be the go but has highlighted another issue with not logged in people that could over write details of other people with the same name. Close this for now and I will do a bit more testing and raise a new issue if it is an issue.
Ditto on buddypress but keen to work out what is going on. I have been a professional developer on corporate systems since a long long time ago so not afraid of getting in there up to my armpits.Wed 13 May 2020 at 10:42 #61195
Well, EME matches the name+email, so if someone enters stuff for you, it will be sent to you too. Of course, you can always require a wordpress user to be logged in before allowing to apply for a EME membership.Wed 13 May 2020 at 23:15 #61198
Just confirming there is no issue with duplicate names. The ‘require a wordpress user to be logged in’ is a good idea as it prevents duplicates appearing in the people list that can occur otherwise. Keep up the good work.
- You must be logged in to reply to this topic.