Thread Rating:
  • 3 Votes - 5 Average
  • 1
  • 2
  • 3
  • 4
  • 5
 My Feature Ideas
ZiNgA BuRgA Offline
Fag
*******
Posts: 3,357
Joined: Jan 2008
Post: #1
My Feature Ideas
v1.40 of XThreads will have most of the features I've wanted to include in the plugin.  So I'm thinking of slowing down on development after that, and primarily only maintain bug fixes and maybe something that really interests me, but I kinda want to move on to other things.

But whilst I'm still working on it, I may consider adding something.
Here's a dump of the random ideas I thought had some interest, but may or may not implement:

Custom Thread Fields
  • Max/min limit for multiple valued thread fields (ie, you cannot have more than 5 values) Use conditional input error in XThreads 1.6: <if substr_count({VALUE}, "\n") > 5 then>You cannot enter more than 5 items</if>
  • Multiple file input field??  This may be rather tricky to do.
  • Vocabulary.  For example, you may set this to "valid username".  If so, XThreads will ensure that anything entered by the user will be a valid username on the board.  This may be useful for applications where you may wish to assign a thread to someone or similar (and the filtering system will allow users to see what's assigned to them).  Other vocab terms could work, such a valid thread ID etc.  A difficulty may be what to do if the thread/post is deleted.
  • Additional "Parser" setting: filtered HTML.  Allows HTML, but a very limited subset of it.  Dunno if this is useful in any way. Seems not too useful; can always attach a plugin and use with conditionals to do the parsing.
  • Additional "Parser" setting: evaluated value.  Essentially allows variables to be inserted, as well as conditionals.  I'm worried about the security implications of this however.  This may be useful for a "custom pages" type system.
  • Separate "editable" and "settable" permissions.  The former refers to being able to edit the value (ie after the thread has been posted), whereas the latter refers to permissions when posting a new thread.  May be useful if you want someone to set a value but not change it after posting perhaps. Use conditional input error in XThreads 1.6: <if $current_page == 'editpost.php' then>You cannot modify this value</if> (you'll probably also want to wrap a similar conditional around Custom Input HTML)
  • Extend display order?  Right now it just orders fields around the place, however, there's no easy way to move a field above the subject, or below the message textarea etc.  Although it can be done via template edits, there's a bit of difficulty with getting the tab indexes right.  IDK how I'd ever implement such a thing though.  Suggestions?
  • Recognise more file types than just images, such as ZIP archives, MP4 videos etc; eg "only accept .torrent files", and provide additional information about the torrent file in the $threadfields['key'][...] array Use a plugin framework for this instead.  Stick to image types only for core.
  • Custom HTML for thread field input; I originally planned to do this, but ditched it, so might bring it back.  The idea is that you can specify the HTML used for the thread field input, rather than relying on a preset textbox/textarea/selectbox etc
  • Regular expression matching in Format Map?
  • Indexing table - improve performance with filtering on a multi-valued field, and possibly allow displaying all values set for a field (ie a thread tagging system)

Other
  • Variables and conditionals in forum template prefix.  May have some uses, such as "views", eg, use a different template prefix if $mybb->input['view']=='different'.  Difficulty with handling search/portal prefixes however.
  • Partial match filtering.  Currently, filtering only works on exact matches, eg filtertf_something=somevalue - something must equal somevalue.  Perhaps allow some way to filter based on what it starts/ends with or contains, eg everything beginning with 's'.  Am worried about the performance of this, but I guess that's the admin's decision to enable it.
  • Filter by other thread properties, eg replies, views, closed status etc?
  • Additional filter operators (somewhat linked to partial match filtering) - eg > operator, combined with the above, filter by threads with >10 replies or whatever, or maybe all threads with thread field somefield NOT equal to somevalue
  • Filter threads in portal
  • xtattachment optimiser?  Optimise uploaded JPEG/PNGs (through jpgcrush/pngout if available) or provide some means for parsing and modifying uploaded attachments? Doesn't make too much sense without context of the file.  May add some image processing support for v1.6
  • Gzip support for xtattachments?  And maybe even store the file gzipped? [won't work well with ranged requests]  Possibly also add some smart system to see whether it's worthwhile gziping a file, eg, it's pointless to gzip a PNG file, but probably a good idea to gzip a HTML file.
  • Disable certain moderation actions in certain forums.  May help with some integrity, for example, allowing moderators to move threads around the place may have some adverse effects on thread fields.
  • Or maybe check integrity on moderation action and get moderators to amend integrity violations?  For example, if required thread field A is assigned to forum A, but not B, and a moderator moves a thread from forum B to A, normally, the required thread field A won't have a value set, since it was posted in B and not required there.  With this, when the moderator attempts the move, it will ask the moderator to fill in A, helping maintain integrity.
  • Some plugin API?  I'm thinking of deferring this.
  • Admin logs - I really haven't looked at this and don't even know if it works
  • Check data integrity?  There's a few places where a bug may potentially damage (XThreads') data in the database due to various integrity assumptions.  A check integrity feature can ensure that these assumptions haven't been broken by anything.
  • More per forum settings overrides?  Such as override maximum post size (on a per forum basis), post flood time etc.  Maybe more suitable for a separate plugin though...
  • Child threads - allow threads to be created within threads.  Can potentially see some uses (discussion forking?, maybe downloads within a download, for example, older versions of a program) but IDK how easy it is to implement.  Some random idea that came by me some time...
  • Search thread fields, dunno how to implement this one exactly
  • Custom post fields - probably won't ever implement this

I'm obviously not going to implement all, or really, any, of these, but if you think anything is particularly interesting, you can put your case forward, and I'll see if you've thought up something I haven't thought of before Tongue

My Blog
(This post was last modified: 07-15-2012 05:54 PM by ZiNgA BuRgA.)
12-08-2010 09:00 PM
Find all posts by this user Quote this message in a reply

« Next Oldest | Next Newest »

Messages In This Thread
My Feature Ideas - ZiNgA BuRgA - 12-08-2010 09:00 PM
RE: My Feature Ideas - Imran - 12-08-2010, 11:41 PM
RE: My Feature Ideas - RateU - 12-09-2010, 06:52 AM
RE: My Feature Ideas - ZiNgA BuRgA - 12-09-2010, 08:49 AM
RE: My Feature Ideas - RocketFoot - 12-09-2010, 10:49 PM
RE: My Feature Ideas - RateU - 12-10-2010, 06:12 AM
RE: My Feature Ideas - ZiNgA BuRgA - 12-10-2010, 09:01 AM
RE: My Feature Ideas - RateU - 12-10-2010, 12:12 PM
RE: My Feature Ideas - leefish - 12-10-2010, 12:44 PM
RE: My Feature Ideas - ZiNgA BuRgA - 12-10-2010, 10:05 PM
RE: My Feature Ideas - leefish - 12-11-2010, 01:58 AM
RE: My Feature Ideas - RateU - 12-11-2010, 04:11 AM
RE: My Feature Ideas - ZiNgA BuRgA - 12-12-2010, 10:34 AM
RE: My Feature Ideas - RateU - 12-13-2010, 07:35 AM
RE: My Feature Ideas - ZiNgA BuRgA - 12-13-2010, 08:34 AM
RE: My Feature Ideas - RateU - 12-14-2010, 01:57 AM
RE: My Feature Ideas - ZiNgA BuRgA - 12-14-2010, 09:37 AM
RE: My Feature Ideas - ZiNgA BuRgA - 12-14-2010, 10:38 AM
RE: My Feature Ideas - leefish - 12-15-2010, 01:16 AM
RE: My Feature Ideas - ZiNgA BuRgA - 12-15-2010, 08:27 AM
RE: My Feature Ideas - RateU - 01-25-2011, 08:52 AM
RE: My Feature Ideas - ZiNgA BuRgA - 01-25-2011, 04:42 PM
RE: My Feature Ideas - RateU - 01-26-2011, 04:17 AM
RE: My Feature Ideas - ZiNgA BuRgA - 01-26-2011, 08:24 AM
RE: My Feature Ideas - RocketFoot - 01-29-2011, 07:52 AM
RE: My Feature Ideas - ZiNgA BuRgA - 01-29-2011, 11:11 AM
RE: My Feature Ideas - leefish - 01-29-2011, 11:49 AM
RE: My Feature Ideas - ZiNgA BuRgA - 01-29-2011, 08:47 PM
RE: My Feature Ideas - RateU - 01-31-2011, 09:38 AM
RE: My Feature Ideas - RateU - 10-25-2011, 08:02 AM
RE: My Feature Ideas - ZiNgA BuRgA - 10-25-2011, 12:21 PM
RE: My Feature Ideas - Sama34 - 10-25-2011, 02:40 PM
RE: My Feature Ideas - RateU - 10-26-2011, 05:37 AM
RE: My Feature Ideas - RateU - 10-27-2011, 06:57 AM
RE: My Feature Ideas - RateU - 01-15-2012, 06:45 AM
RE: My Feature Ideas - ZiNgA BuRgA - 01-15-2012, 09:48 AM
RE: My Feature Ideas - RateU - 01-16-2012, 02:24 AM
RE: My Feature Ideas - ZiNgA BuRgA - 01-16-2012, 10:14 AM
RE: My Feature Ideas - RateU - 01-17-2012, 01:20 AM
RE: My Feature Ideas - leefish - 04-27-2012, 05:06 PM
RE: My Feature Ideas - ZiNgA BuRgA - 04-27-2012, 10:10 PM
RE: My Feature Ideas - leefish - 04-28-2012, 01:36 AM
RE: My Feature Ideas - ZiNgA BuRgA - 04-28-2012, 09:32 AM
RE: My Feature Ideas - brad-t - 07-10-2012, 12:58 AM
RE: My Feature Ideas - ZiNgA BuRgA - 07-10-2012, 08:29 AM
RE: My Feature Ideas - brad-t - 07-10-2012, 11:11 PM
RE: My Feature Ideas - ZiNgA BuRgA - 07-10-2012, 11:36 PM
RE: My Feature Ideas - brad-t - 10-13-2012, 04:31 AM
RE: My Feature Ideas - brad-t - 07-11-2012, 05:07 AM
RE: My Feature Ideas - brad-t - 10-23-2012, 11:55 PM
RE: My Feature Ideas - ZiNgA BuRgA - 10-24-2012, 08:22 AM
RE: My Feature Ideas - brad-t - 10-25-2012, 05:24 AM

 Standard Tools
Forum Jump: