woods81
Forum Replies Created
-
I had the same issue. Here is what I did in order to fix it. Although this is a temporary fix until the author releases a patch!
Open that php file and look for line 50.
Replace this:
if( !empty( array_intersect( $selected_brands, $product_brands ) ) ) return true;With this:
$array_intersect = array_intersect( $selected_brands, $product_brands ); if( !empty( $array_intersect ) ) return true;He used a function inside an if statement but you have to use a variable instead.
Hope this helps.
Forum: Plugins
In reply to: [Ajax Upload for Gravity Forms] Using merge tags in file renamingHi,
Any updates on this? Still not interested in accepting a freelance job?
Thanks.
Forum: Plugins
In reply to: [Ajax Upload for Gravity Forms] Using merge tags in file renamingHi,
Yeah the process would be like that more or less.
The exactly base file name would be:
{unique-sequential-number}-{first_name}-{last-name}-{user-number}{category-of-the-file}.jpegAll fields are mandatory and they are filled out by the user except for the sequential number. For that I am using another script that automatically gives a sequential number BUT it is only after the form is submitted so if you could run your script after submission and use the {sequential-number} merge tag would be awesome!
Many thanks!
Forum: Plugins
In reply to: [Ajax Upload for Gravity Forms] Using merge tags in file renamingHi,
Thanks for your response.
What I am trying to do is a bit complex. I want users to be able to upload several files but then I need to rename those files based on other fields (e.g. {first_name}-{last-name}-{sequencial-number}.jpg
May I contact you to request a freelance job?
Thanks.