Overvrite existing files without confirmation.
Detect the max size from upload_max_filesize in php.ini
If enter users in parameter, only this access the form upload.
Now in simpleupload admin exists a link to readme.txt file.
Use only to registered users. Only with login (registered or special access level).
Create the directory upload
Enable the display of the positions in to select a position
Extensions - Template Manager - Options
Enable preview of positions
After publish disable display position (security)
Open the site:
In username enter the user to access simple upload (optional)
Edit the module Simple Upload and select the position
afterhead1 (in Allrounder template)
Scroll up and Assignment Module
Assign the pages will appear where
Only documents, images, zip.etc
SimpleUpload for default accept extensions.
Your problem is php, in php.ini exists the limitation to lenght of upload.
upload_max_filesize = here lenght in M
Other directive also.
I got the http 500 error as well after uploading.
To get rid of it add:
$app = & JFactory::getApplication();
to the function fileUpload
and replace $msg = $mainframe->enqueueMessage... with $app->enqueueMessage
Thanks for this nice module
I add this and others features.
See new version of Simple Upload.
- Overwrite files
- Add "All types" option in select
See readme.txt to details.
Also, i tried to change the parameters (file size) from the module manager and didn't do anything, i finally edited the php file and worked fine.
Just a few upgrades more and it will be perfect!
Thank you for your feedback.
I try serious options of progress bar and dont like none.
Now the error messages has improved and upload directory is absolute, not more in Joomla directory.