MyBB-Plugins Forums

Full Version: Extra thread fields 1.1
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
Pages: 1 2 3 4 5 6 7
Although everybody can see this section and its threads and posts, only subscribers can download attachments. Click here to subscribe.

Description
This plugin allows you to set up new fields to threads. The fields can be required or not and editable or not (if not editable, they won't show up when editing a thread).
Note: the fields aren't displayed anywhere but you can easily display them by adding $thread['field_name_here'] in templates which use the variable $thread like showthread.

Screenshots
[Image: fields.th.png]
(viewing extra fields in Admin CP)

[Image: editpost.th.png]
(Editing a thread, note that 2 fields are not editable, that's why they don't show up here)

[Image: addpost.th.png]
(Creating a thread)

Installation
Upload the contents of the Upload folder to your forums's root and activate the plugin.

Upgrade
Upload the contents of the Upload folder to your forums's root.
Upload upgrade.php to your forums's root and run it from your browser. Delete it right after running it.

Add/View/Edit fields
Go to Admin CP -> Tools & Maintenance -> Extra Thread Fields
Supported input types: text box and text area

License
license.txt

Changes in 1.1
- Usergroups and Forums can now be choosen for individual fields
- Sanitizes all custom fields in show thread and forum display

If you're wondering where this plugin could be useful, here's an example: (the forum in the screenshot also uses my Custom Browsing plugin so the changes affect the forums I want and I don't need to edit the templates of all themes)
[Image: examplep.th.png]

(the version column is an extra field)
Can we set which forums are affected?
Read the first post
Well then this is awesome.
amazing plugin
Great, nice work Pirata!
- Shadows.
Great Plugin!
how to make it appear? i'm not understand
Enable it and go to Admin CP -> Tools & Maintenance -> Extra Thread Fields to choose what forums are affected. Look at the screenshots he posted for the rest cause it explains it there.
I means how to make it appear at forumdisplay (thread)

Thread / Author - Replies - Views - Rating - Last Post (default)

Thread / Author - Software - Replies - Views - Rating - Last Post (this is what I want to)
Pages: 1 2 3 4 5 6 7