Quote:
Originally Posted by reddyink
As a user how can I upload a file using browse, select and upload.(similar to add thread)
Where is the field???
Do I need to make it active using admincp??
|
step 1:
By default (i.e. as first installed) uploads are disbled in LDM, so the first step for the admin is to enable them (LDM/admin/settings/Controls on File Uploads) You have to specify the directory where the uploaded files will be stored (unlike vb itself, which by default stores attachments in the database).
step 2:
You mustalso decide which filetypes can be uploaded. By default, LDM will accept any filetypes that are listed in the VB/admin/attachments table. Standard users will be able to upload files up to the size limits given in that table; admins can upload up to the maximum size permitted by your php site configuration.
LDM will *not* accept uploads of filetypes that are not listed in that table, so if there are particular filetypes you need, you have to add them, along with correct 'mimetype' information. There's a LDM extra (see the extras directory in the release) which will do this for most of the common filetypes automatically), or you can do the job by hand
step 3
You need to give the desired usergroups permission to upload (LDM/admin/permissions/can_upload_files)
After you've done this, the 'add entry' form will include options to browse and upload.
Ther can be problems with step 1 depending on your site configuration, but it's possible to work around these in most cases.