jdowns1
Forum Replies Created
-
Those are the correct steps. Odd, I’m able to select Dec 14 with the same form. It must be a system setting difference between our installs I guess. I tried setting my time zone to UTC and also changed my start day of the week to Monday to match yours but that didn’t make a difference.
Any suggestions on what to look at on my end to find the discrepancy?
Yes, you understand correctly. I’m not seeing the same behavior you are, I’m able to select Dec 14 as my end date, which gives an error if I select it. Here is my form: https://pastebin.com/KPvcx2gh
No, a minimum of 14 days. I believe I have it set up correctly, that’s not my question. Can you re-read my post and review the screenshots I provided?
Yes, I know I can do that, as that is the solution I suggested at the end of my post. What I’m asking is, is there a way, with a single email notification, to send that notification to multiple email addresses WITHOUT every one of those email addresses populated in the TO field on the message – to protect each user’s privacy? Basically, I want to send 1 email per address, and I have multiple addresses.
Screenshot 2024-11-15 125045.jpg
- This reply was modified 1 week, 3 days ago by jdowns1.
Can I suggest it for a future enhancement? Since an input field can be length restricted, it makes sense that the address fields should have that option as well (all free form fields should in my opinion).
I found a plugin that I had installed was suppressing the WP_DEBUG flag (why would someone do that?). Anyway, I was able to get the debug file generated, and the only thing that is logged is this warning from another plugin:
PHP Warning: Undefined array key “table” in /home/1077984.cloudwaysapps.com/txwhmyhjnx/public_html/wp-content/plugins/wpdatatables/source/class.wpdatatable.php on line 2348
I removed the previous snippet and installed your plugin and it works beautifully, thank you so much for taking the time to write this. I’m going to look through your code to see what might be causing the previous filter to not work as expected, as I’d like to have this in a snippet so I can target it to execute only on the page needed instead of globally.
Thank you again!
debug.log is not being created in the wp-content directory. I have the debug statements set in wp-config.php:
define( 'WP_DEBUG', true );
define( 'WP_DEBUG_DISPLAY', true );
define( 'WP_DEBUG_LOG', true );Awesome, thanks @missveronicatv. I am trying to avoid displaying fewer cards on a row because a long name will still cause this issue if the name is long enough, and lots of users results in lots of page scrolling.
I think your approach will work. I added the snippet and can confirm it is being loaded on the page, but the member names do not change on the cards. I even simplified it down to this function but no change. Any idea what would cause the filter to not be applied, or the function not be called?
add_filter( 'um_ajax_get_members_data', 'um_ajax_get_members_data_truncate', 10, 3 );
function um_ajax_get_members_data_truncate( $data_array, $user_id, $directory_data ) {
$data_array['display_name_html'] = 'Joe Dirt';
return $data_array;
}- This reply was modified 2 months, 3 weeks ago by jdowns1.
Anyone?
I found that this header was being added by Elastic Email, not this plugin.
I hadn’t added any new plugins since I’ve been editing this UM form. Anyway, I resolved this by deleting all the fields on the form, adding the new fields I needed, and then added the rest of the existing fields to complete the form. It seems like deleting all the fields off the form first is what I needed to do for some reason, in case someone else runs into this issue.
This worked, thanks for the suggestion.
The intent of my post was to suggest that it was a defect and was hoping it could be corrected in the plugin itself. As a user without access to the directory, I shouldn’t be able to see ANY of the content of the directory, including the header/footer, and not just the list of users.
That did the trick, thank you!
I’m not sure this is right – this looks to be for changes to the user profile after the user has been created. I’m asking about the registration form before the user is created.
@andrewshu This link gives a 404, it looks like possibly the branch was already merged. Do you have a link I can access that includes this fix? Is it https://github.com/ultimatemember/ultimatemember/archive/refs/heads/development/2.8.x.zip