I updated EE and Files Add On crashed my site. I had to disable Files add on to restore the site, and then when I tried to activate the plugin again, I received an error, “Plugin could not be activated because it triggered a?fatal error.” I also tried deleting and reinstalling the plugin, to no avail. I see that it has not been updated in 9 months. Does this mean that it’s no longer supported?
]]>The following function in the code uploads the files with a double extension. For example, filename.jpg.jpg. The variable $name already contains the extension so adding on $ext is unnecessary.
function ssa_change_filename($dir, $name, $ext){
$filename = $name.$ext;
$filename = apply_filters(‘ssa_override_filename’,$filename);
return $filename;
}
A suggestion would be to remove the call to this function in the $upload_overrides. Here is a workaround that helped me until that is done:
function remove_extra_ext( $filename ) {
return pathinfo( $filename, PATHINFO_FILENAME );
}
add_filter( ‘ssa_override_filename’, ‘remove_extra_ext’ );
Hi,
I noticed from a previous thread that there’s some kind of ‘filter ‘”ssa_override_filename” that I can add so names are changed automatically when uploaded.
Is there a short guide on how to do this?
My use case would be to rename the file with the information obtained from the entry. i.e: [first name]-[last name].jpg
]]>Hello,
I have the same problem with mediadesk3, get a 500 error when I try that code. How did you resolve it at the end?
]]>Hello, there is a bug in the plugin when from the backend you try to replace the file or you create the new registration.
The issue is due a jquery malformed DOM traversation with Jquery, infact, in the backend the layout is HTML table and not div like in the frontend. When you upload a file a javascirpt error occured in the console.
Please can you provide an update to solve this issue?
Thanks
]]>Hi,
First of all, thanks for this useful plugin.
I would like to know if there is an existing filter that could permit me to change the rename the file uploaded. Is there a proper way to do that, upgrade-proofly ?
My goal is to replace each accents before saving the file to the server.
Thanks
]]>Is there a possibility of a future release supporting cloud storage like Google Drive?
It would be nice to not take up server space and be able to upload the files to a folder on Google Drive.
]]>hello, How would I go about choosing what folder to upload these files?
I dont want them mixing with my other media upload.
Essentially I need a folder for files for this event.
thannnnnks!
Getting an invalid url error. Allowed file type is set to pdf
Error message reads:
An error has occurred:
Please upload your most recent résumé or CV : Please enter a valid URL
The event is here: https://creativemanitoba.ca/events/art-managing-career-spring-2018-now-open-applications/
]]>I’m actually on the current version of WP 4.9.45 and I’m getting an error of invalid URL. Is the plugin not updated to the current version?
]]>Hello,
I have a trouble after an upgrade on both event espresso and the plugin :
I encounter that JS error whenever I try to submit a file (example from https://www.chronopro.net/events/corrida-de-chaumont/ page).
It seems also that Event Espresso don’t find the file and won’t validate the subscription when the field is required.
It also trigger another error : TypeError: “exts[qid] is null” at ssa_file_upload.js:12:17
Could you please provide a quick hotfix please, as it blocks our whole website ? ??
Thank you already !
]]>Just so you know i have been testing different versions and cannot get this plugin to work with WordPress 4.8 and EE4.9.42p
Error message is that the admin interface has changed and the plugin needs to use new config method.
]]>I’m currently using the following versions:
EE File Add-on: 1.0.4
EE: 4.9.31.p
WP: 4.7.2
We have the form configured so the file upload is not required. Every time an individual tries to proceed to the next page of the registration, a window pops up stating that there’s an invalid URL and they cannot proceed.
Is this a compatibility issue with the newest version of WP? How can we resolve this issue?
]]>We have the addon for registration fields for events and we are using some file uploads as well. We only have the first file required but when someone submits the form it comes up with an error that 2 and 3 are required as well.
You can see how this works here: https://67.227.186.56/~jansenartcenter/purchase-checkout/?uts=1487784730#checkout
Thanks
]]>I have been using your File Addon for Event Espresso (Version 4.9.28.p) for some time now and it has historically worked great.
Recently, I added an event (duplicate of a past event) which requires a picture upload.
Every time somebody tries to upload a picture they receive a “Please enter a Valid URL” error.
I have tested with the same image files previously tested and get the same error.
I do not know when this began, but it seems recent.
Any help would be greatly appreciated.
Bryan
]]>Hello,
I just installed the plugin but I started to see the following error message at the top of wordpress admin:
The admin page for was not correctly setup because it is using an older method for integrating with Event Espresso Core. This means that full functionality for this component is not available. This error message usually appears with an Add-on that is out of date. Make sure you update all your Event Espresso 4 add-ons to the latest version to ensure they have necessary compatibility updates in place.
Could you let me know how to proceed?
]]>Hello, thanks for the plugin. I have some problems (version events espresso 4.9.22p):
I installed the plugin but it will not let me access the settings.
To attach the images and finish the registration but I can not find the file via ftp.
I think it does not upload correctly because it does not preview in the form.
Please, help!!
Thanks a lot!
]]>Hi !
thank you for your really nice plugin, which will save me a lot of time !
I just would like to ask you for a simple feature : could you please let in the settings of the plugin, choose the file extensions we would like to allow please ?
I saw in the plugin it was hard-coded, so I can just change it in the plugin for now, but I would like something more update-proof, such as a filter on the allowed extensions list.
I wanted to prepare something like that to push it to your github, but wasn’t able to find your repository …
Thank you already for reading me ??
]]>Hi,
the old problem on frontend form,
Is still on back-end form
When I try tò modify data on a registration….(in the registration detail form that has a file field)….a validation error appear
Is the same bug of frontend form?
Is there a way to patch?
Please ket me know…..
Many many thanks for the help.
Hi,I’m using this plugin
Files Addon for Event Espresso 4
on my EE4 installation (LASTEST VERSION EE 4.9.8p).
After an update of EE4 (last week) there is a problem on the validation check on a required file input….follow a scenarios:
1) If I click on browse button and upload a file after the uploading on the input “file” element keep red border and show red message “This field is required”.
2) If I don’t upload a file on a required file element and submit the form…are showed two red message “This field is required.”
in the html i see 2 error message
<label id=”-error” class=”ee-required-text” for=”” style=”display: inline;”>This field is required.</label>
#### AND ####
<label id=”ee_reg_qstn-24-19-error” class=”ee-required-text” for=”ee_reg_qstn-24-19″>This field is required</label>
Anyone that know where can be the problem?
thank you to anyone who wants help to solve this bug
https://www.ads-software.com/plugins/files-addon-for-event-espresso-4/
]]>Hey this is a great example of hooking into the EE plugin api! Great job! I’m one of the developers of EE and was just checking it out and think I may have spotted a security concern with this plugin. Can you get in touch with me please so I can go over it with you? darren (at) eventespresso.com
Thanks!
https://www.ads-software.com/plugins/files-addon-for-event-espresso-4/
]]>