I'm not quite sure what custom thread fields you need for your download section besides the file upload and the description. This is a simple example for that. Only use file upload and description. Modify it if you have other custom thread fields.
- File fields for file upload:
- Title: File Upload
- Key: mhdld_file
- Applicable Forums: select download section
- Input Field Type : File
- Valid File Extensions : rar|zip|pdf
Modify it as our needs. It is the file extension that can be uploaded.
- Maximum File Size : 204800
Modify it as our needs. It is the maximum file size can be uploaded (in bytes).
- Editable by / Required Field? : Everyone (required)
Modify it as our needs. We can choose which usergroup can upload file.
- Display Format :
If the file not available for all usergroups, we can select which usergroup can download the file. Select the usergroup in the Viewable by Usergroups setting, then specify what to be displayed for usergroup who can't download the file in Unviewable Value text area.
- Textbox fields for description:
- Title: Description
- Key: mhdld_desc
- Applicable Forums : select the download forum
- Editable by / Required Field? : Everyone (required)
Modify it as our needs.
- Display Parsing : We can select Use MyBB Parser (MyCode) if we want to use BBCode in the description.
- Display Format :
Then, set our download forum setting like this:
- Template Prefix: mhdld_
- Show first post on every showthread page: Yes
Then create new templates in
Global Templates:
(The templates bellow based on MyBB 1.4)
- mhdld_forumdisplay_thread
- mhdld_forumdisplay_threadlist
- mhdld_postbit_first and mhdld_postbit_first_classic
- mhdld_postbit_inlinecheck
- mhdld_postbit_posturl
I think that's the basic.