Thread Rating:
  • 0 Votes - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
 Opions?
RateU Offline
Administrator
*******
Posts: 2,350
Joined: Mar 2010
Post: #6
RE: Opions?
(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.

11-20-2010 10:20 AM
Find all posts by this user Quote this message in a reply

« Next Oldest | Next Newest »

Messages In This Thread
Opions? - ZiNgA BuRgA - 11-18-2010, 03:51 PM
RE: Opions? - leefish - 11-18-2010, 04:08 PM
RE: Opions? - ZiNgA BuRgA - 11-18-2010, 04:20 PM
RE: Opions? - leefish - 11-19-2010, 10:00 AM
RE: Opions? - ZiNgA BuRgA - 11-19-2010, 10:17 AM
RE: Opions? - RateU - 11-20-2010 10:20 AM
RE: Opions? - ZiNgA BuRgA - 11-21-2010, 09:59 AM
RE: Opions? - RateU - 11-22-2010, 06:28 AM
RE: Opions? - leefish - 11-22-2010, 07:47 AM
RE: Opions? - ZiNgA BuRgA - 11-22-2010, 08:55 AM
RE: Opions? - RateU - 11-22-2010, 10:18 AM
RE: Opions? - ZiNgA BuRgA - 11-22-2010, 11:14 AM
RE: Opions? - RateU - 11-23-2010, 02:34 AM
RE: Opions? - ZiNgA BuRgA - 11-23-2010, 06:32 PM
RE: Opions? - RateU - 11-24-2010, 05:32 AM

 Standard Tools
Forum Jump: