2010-02-07, 07:14 AM
This is an idea I had a long time ago but stopped working on it after a while. Decided to pick it up again recently.
However, I don't know whether I'll ever release this, or even complete it, so no promises here or anything.
This plugin is based on a simple idea, and integrates quite tightly with MyBB. The primary idea of XThreads (eXtend Threads) is adding additional thread fields (hence the name), however, used correctly, it can give some interesting results.
Rather than list features etc, I'll just stick up a quick demo board, showing some of the things which can be done with XThreads. This is just a stock MyBB 1.4.11 install with XThreads and a few template modifications - there are no other plugins/code modifications installed:
http://mybbhacks.zingaburga.com/forumdisplay.php?fid=24 (I've been lazy with some template edits - see here for more info)
Old demo board (registration disabled): http://mybbhacks.zingaburga.com/xtdemo/
This plugin does require the user to know how to edit MyBB's templates, so HTML/CSS knowledge is recommended.
Anyway, just posting this if anyone's interested. Again, I don't know if it'll ever be available.
More info on the admin interface:
The plugin adds a Custom Thread Fields section to the AdminCP - from here you can add/edit/delete thread fields. Here's a summary of a few properties thread fields can have:
It also adds some stuff when adding/editing a forum:
Added global templates (note, all of these work with custom template prefixes):
There are a few other misc stuff that really don't have a whole lot of importance.
However, I don't know whether I'll ever release this, or even complete it, so no promises here or anything.
This plugin is based on a simple idea, and integrates quite tightly with MyBB. The primary idea of XThreads (eXtend Threads) is adding additional thread fields (hence the name), however, used correctly, it can give some interesting results.
Rather than list features etc, I'll just stick up a quick demo board, showing some of the things which can be done with XThreads. This is just a stock MyBB 1.4.11 install with XThreads and a few template modifications - there are no other plugins/code modifications installed:
http://mybbhacks.zingaburga.com/forumdisplay.php?fid=24 (I've been lazy with some template edits - see here for more info)
Old demo board (registration disabled): http://mybbhacks.zingaburga.com/xtdemo/
This plugin does require the user to know how to edit MyBB's templates, so HTML/CSS knowledge is recommended.
Anyway, just posting this if anyone's interested. Again, I don't know if it'll ever be available.
More info on the admin interface:
The plugin adds a Custom Thread Fields section to the AdminCP - from here you can add/edit/delete thread fields. Here's a summary of a few properties thread fields can have:
- Name, Description
- Key (you use {$threadfields['key']} to reference a thread field from a template
- Applicable forums
- Who can edit the field
- Type of field (textbox, textarea, selectbox, file input etc)
- Parsing preference (eg allow MyCode/HTML etc)
- Allow filtering by value (eg the thread prefixes example)
- Allow multiple values
- Display formatting
- Custom format mappings
- Text masking / valid list of values
- Allowed file extensions/magic/max filesize etc, image thumbnail generation sizes
It also adds some stuff when adding/editing a forum:
- Template Prefix - this powerful field allows different forums to have vastly different functions
- Thread Grouping (useful for the gallery example)
- Display first post at top of every showthread page
- XThreads' inline search (enabled in the gallery example; basically modifies the inline forumdisplay searchbox behaviour)
- Override threads/posts per page
- Allow blank post message
- Don't include this forum's threads/posts in global stats
- Custom WOL text for various things
Added global templates (note, all of these work with custom template prefixes):
- editpost_first - allow you to have a different template if user is editing the first post of a thread
- forumdisplay_group_sep - separator template used with thread grouping
- forumdisplay_thread_null - dummy template used with thread grouping
- showthread_noreplies - dummy template, can be used to display something if the thread has no replies
- forumdisplay_searchforum_inline, threadfields_inputrow - templates for XThreads functions
There are a few other misc stuff that really don't have a whole lot of importance.