Quote:
Originally Posted by RS_Jelle
If it's a question about the DownloadsII Create New Thread Add-On, you better ask it there to keep things together. But I don't think that add-on can display the uploaded images in the newly created threads? Only if you use the IMG button to set them in the file description, they will be transfered also to the thread, but that's logical (then you need to use an image resizer like this one for your forum).
I didn't forget it. I answered in this post (after the last quote)
You need to chmod the downloads folder (which is one of the files/folders you need to upload before to your forums ftp) to 777 permissions with your FTP-program, so PHP can upload files to it. Chmod is explained for example here and here.
PHP has got an upload limit, that's probably the problem. It's a common issue 
If you have full server access, you can edit your php.ini (PHP configuration file) and edit the size there manually. If you are on a shared server, you can put a .htaccess file in your forums directory (where you can find downloads.php) with the following content:
Code:
php_value upload_max_filesize 25M
php_value post_max_size 25M
Ofcourse you can change the 25MB to what you want. It overrides the php.ini setting.
|
Where could I find that code in the php.ini or downloads.php?
I'm still looking for it. x.x
Edit 1: All I found was this
;;;;;;;;;;;;;;;;
; File Uploads ;
;;;;;;;;;;;;;;;;
file_uploads = On ; Whether to allow HTTP file uploads
;upload_tmp_dir = ; temporary directory for HTTP uploaded files (will use system default if not specified)
upload_max_filesize = 200M ; Maximum allowed size for uploaded files
I changed it from 2M to 200M
That still didn't make a difference.. this was in the php.ini
Edit 2: I've found the post_max_filesize now.. and i made that 200M.. im going to try it now and see what happens