(11-18-2010 04:20 PM)ZiNgA BuRgA Wrote: Main issue being whether or not (and how) a user can override or disable this default filter.
If it is a variable, how about adding a variable like the [desc] and [asc] that MyBB has when sorting a thread, Yumi?
Example:
Default forumdisplay filter:
filtertf_status=Unsolved (has other value -> Solved)
filterxt_prefix=3 (has other value -> 1,2)
Other filter applied to this forum:
filtertf_question_type=Installation (has other value -> General)
When user doesn't filter thread (viewing forum display with a normal link), the variable will be "blank", no filter clean link displayed.
Installation
General
When user filter thread with filtertf_question_type=Installation, because there are three filter active automatically, the variable has a value, contained a link to view all Unsolved, Solved, prefix 1, 2 and 3.
Installation [View All]
General
When user click the
[View All] link to view all thread with filtertf_question_type=Installation filtering only, the variable will has another value, contained a link to back to the default forumdisplay filter + Installation filter.
Installation [Default]
General
When user click the
[Default] link, the value will be back to the
[View All] link. Both of the values will be switched each other in the filter as long as the filter is active.
I don't know about using conditional. But I think, using conditional will make it more flexible than using variable? And we can have more control, Yumi?
That is my opinion for the first one, Yumi.
For the second one:
Yeah. I prefer to enable it as global.