1 (edited by 2008-08-24 15:46:43)

Topic: [HACK] Uploading files different from images...

Name: File Upload in Images Module.
Author: Flexer
CuteNews Compatibility: 1.3.6 - * (no incompatibility reported yet)
Description: Like the title says.
Instructions:
Open ./inc/images.mdu and search for "bmp" or "jpg". You shoul find line like this somewhere:

$allowed_extensions = array("gif", "jpg", "png", "bmp", "jpe", "jpeg");


now if you whant to add more formats just add them as ,"my_type" in front of existing arrays example:

$allowed_extensions = array("gif", "jpg", "png", "bmp", "jpe", "jpeg", "my_type");

2 (edited by 2008-08-24 15:54:16)

Re: [HACK] Uploading files different from images...

Name: file upload hack
Author: FI-DD
CuteNews Compatibility: 1.3.6 - * (no incompatibility reported yet)
Description: Add a module like the image manager, but then for managing files.
It is pretty much working like the Cutenews image manager.
Another feature is the pagination. By default the hack displays 20 files per page. You can easily change this and other configurations in files.mdu at the beginning of the file.
Demo: manager blog with files
Discussion Topic: here
Instructions:

After the installation you will find an [insert file] link in the Add News/Edit News view. After clicking on it you can upload new files or select an existing one. A download link to the selected file will be inserted in your short/full story. In Cutenews 1.4.1 this will work with wysiwyg editor enabled, too.


In "Options" (admin panel)  you will find a new link "Manage Uploaded Files". Here you can upload new files and rename or delete existing ones.

Installation:
Please read the readme.txt coming with the download file.

Download:

Download page