RenewMyID
Forum Replies Created
-
Forum: Plugins
In reply to: [WooCommerce] New Product variations not getting saved for some productsYes, i’m also seeing this happening in the newest Woocommerce.
I tested this on multiple server environments. Max input vars isn’t the issue, i checked that.Forum: Plugins
In reply to: [WP Store Locator] WPSL Search Radius and Result Not working on MobileI also seem to have this exact issue, but it doenst appear to be CSS.
Please check https://www.mijnrenaultspecialist.nl/vsr-dealers/Any idea’s? Desktop viewing works perfectly but on mobile it doesnt show any result.
Thanks in advance!
Forum: Plugins
In reply to: [Redux Framework] Field type Slides doenst seem to workThats too bad ?? Thanks anyways!
Forum: Plugins
In reply to: [GravityExport Lite for Gravity Forms] Filename using value of entryThanks for your help and amazing service! It works ??
Final solution:
add_filter('gform_notification', function ($notification, $form, $entry) { if (isset($notification['attachments']) && count($notification['attachments']) > 0) { //probably need to build in some check if this the correct attachment; but asuming you only use this one. $old_filename = $notification['attachments'][0]; // this is acutally the full path to the file. $new_filename = get_temp_dir() . 'new_filename.xlsx'; // base this on your $entry value. // rename the file. if (rename($old_filename, $new_filename)) { // overwrite the file location for the attachment, if the move was successfull. $notification['attachments'][0] = $new_filename; } } return $notification; }, 20, 3);
Forum: Plugins
In reply to: [GravityExport Lite for Gravity Forms] Filename using value of entryThanks, I just send you an email. No rush needed ??
Forum: Plugins
In reply to: [GravityExport Lite for Gravity Forms] Filename using value of entryHi Doeke,
I tried your code, exactly like you posted :-). But then I also didn’t get an attachment.
And then i was so stubborn to try the other hook, but still didn’t work. Parhaps i’m missing something.If you want, i could provide you login to the website or FTP access. How can i send you this?
Either way, thanks! Great and fast support so far!
Forum: Plugins
In reply to: [GravityExport Lite for Gravity Forms] Filename using value of entryI tried it again, but too bad, still no attachment.
I can’t seem to get it working.Any ideas, does it work for you?
Forum: Plugins
In reply to: [GravityExport Lite for Gravity Forms] Filename using value of entryHi Doeke,
I tried the code, but also with some adjustment. The attachment goes missing from the email ?? it isn’t send with the email.
But I like the approach, and tried something else. But this also doesn’t seem to work. No attachment is there. Any ideas?
What i tried but didnt give an attachment in the mail:
add_filter( 'gform_pre_send_email', function ( $email, $message_format, $notification ) { $old_filename = $email['attachments'][0]; $new_filename = get_temp_dir() . 'test_excel.xlsx'; move_uploaded_file($old_filename, $new_filename); $email['attachments'][0] = $new_filename; $notification['attachments'][0] = $new_filename; //print_r($email); //print_r($notification); //die(); return $email; }, 10, 3 );
Forum: Plugins
In reply to: [GravityExport Lite for Gravity Forms] Filename using value of entryHi Doeke,
Awesome! Thanks for your amazingly fast support!
I will try this out today, and I’ll let you know! Thanks!Forum: Plugins
In reply to: [WP-SCSS] Slow Loading since last updateBump.
Forum: Plugins
In reply to: [WP Fastest Cache] Clear cache on save ACF options pageHello Emre,
Yes i’m certain. I checked with incognito mode and in different browsers. Only after refreshing the cache manually the changes are loaded.
I’d love to hear a possible solution. Thanks in advance!