wpuzer
Forum Replies Created
-
Please take this as a feature request. Is this the best place to make feature requests or is there some more official place?
It’s the same issue as the OP. Do you still want me to create a new topic? Just curious why?
No, should I do that? Do you have a link?
I am also interested in this but also glad to hear you’re focusing on core improvements
@imthatguydavid can you elaborate on how you did that a little
Ok going to Ultimate Member->Settings->Appearance and changing a setting here and saving corrected the problem.
I would think ideally the default avatar url would not store the host name in the database. But I guess it does because the avatar could be hosted on a different domain.
I found in table
wp_options
the keyum_options
has a valuedefault_avatar
and the url field still has the old site url. This seems like a bug in that it doesn’t get updated.I see that I can check
um_is_on_edit_profile()
to know if profile is in edit mode or not.This is how I’m adding a field now:
function my_add_registration_date() { ?> <?php if(!um_is_on_edit_profile()): ?> <div class="um-field um-field-user_registered um-field-text" data-key="user_registered"> <div class="um-field-label"> <label for="user_registered">Registration Date</label> <div class="um-clear"></div> </div> <div class="um-field-area"> <?php echo date('F j, Y', my_get_registered_date()); ?> </div> </div> <?php endif; ?> <?php } add_action('um_profile_content_main_default', 'my_add_registration_date');
So mostly my issue is resolved although if there’s a cleaner way to integrate this let me know.
Looks like I can use the hooks in
ultimate-member\templates\profile.php
Such as
um_profile_header
andum_profile_content_main_default
Those get me pretty close. Built-in fields go inside
<div class="um-row _um_row_1 " style="margin: 0 0 30px 0;"> <div class="um-col-1">
The hooks insert stuff outside of that as far as I can tell, but still I think close enough to do what I need.
Now I need to avoid showing the field when the profile is in edit mode.
I also have this issue where pressing the enter key after entering information into search box does nothing. The user must click the “Search” button. Alternatively the user can hit the enter key twice.
Is this related to the previous entries dropdowns that appear?
Marking as resolved
Ok I found it. It’s in Ultimate Member -> Settings -> Notifications -> Admin E-mail Address.
Seems a little unintuitive that an Email setting would not be under the Email settings section. Although I do understand how it’s also used for notifications.
My concern was mostly that the account page showed the first name and last name which was a duplication of data that was already on the profile. Now I see I can turn that off in the Ultimate Member -> Settings -> Account section there is switch called “Add a First & Last Name fields”
I see in the Ultimate Member -> Settings -> Account section there is switch called “Add a First & Last Name fields” unchecking that seems to fix the problem
I have this same issue. Looking forward to the fix