File Attachments DJ-Classifieds App
Login

New to DJ-Extensions?

File Attachments DJ-Classifieds App

This app for DJ-Classifieds extension allows users to add attachments to any advert. You can define file formats, allow users to write their own captions or set predefined captions to choose when adding the attachments. 

Configuration

First, install the app like any regular plugin.

Then open the plugin. It's under System -> Manage -> Pluginsand the plugin is called: DJ-Classifieds - Files Attachments.

You can also find it by filtering the Type for DJ classifieds when in plugins:

Once you open the plugin, you can see the possible configuration:

the possible options are:

  • Uploader in adverts - Enable/Disable uploader in adverts
  • Uploader in profileEnable/Disable uploader in profile
  • Uploader in registration Enable/Disable uploader in registration
  • Profile admin emailEnable/Disable profile admin email
  • Attachment formats - here you can set all the formats that you allow your users to upload
  • Predefined captions - Leave empty to allow any caption or put each caption into separate line to make it available as a select list 
  • Max. Attachments limit (backend) - Enter the maximum number of files which users should be allowed to upload. Set negative (e.g. -1) to allow uploading an unlimited number of files in the back-end
  • Max. Attachments limit (frontend) - Enter the maximum number of files which front-end users should be allowed to upload. Enter 0 to deny uploading/managing files
  • Max. attachment size [KB] - Maximum size of single attachment, eg. 2048 = 2MB. 0 = unlimited/limited by server
  • Multiple Attachment Upload - Enable/Disable multiple attachments upload

When all is set, remember to enable the plugin and click Save.

You're now all set.

Frontend

When the plugin is enabled, users can start adding file attachments to adverts.

In the submission form when adding new advert, there's a new field available: Attachments. 

If no predefined captions were set the user can enter own captions or leave the file name. 

If predefined captions were set, the user could choose one of the available options from the select list:  

Depending on the settings in the plugin, the amount of the attachment will be limited or not.

Once the advert is saved and published the attachments are possible to be downloaded in the advert details:

As you can see, there is some more info about the attachments:

  • filename / caption
  • file format
  • size of the file
  • number of downloads 

© 2023 DJ-Extensions.com. All rights reserved.