Thread Rating:
  • 0 Votes - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
 Opions?
ZiNgA BuRgA Offline
Fag
*******
Posts: 3,357
Joined: Jan 2008
Post: #1
Opions?
I've been thinking about implementing a default forumdisplay filter option, except I'm not sure how I should do it.
For example, should the filter be always enforced?  Or if override-able, when should it be overridden or bypassed?
I'm thinking of implementing it as override-able, which is overridden when the user uses a different value to that specified.

For example, if I set default filter to:
filtertf_tag=Cheap
filterxt_prefix=3

And someone visits forumdisplay.php?fid=10&filterxt_icon=2, there'll be three filters active.  But if they visit forumdisplay.php?fid=10&filterxt_prefix=1 there'll be two filters active.
Array filters will override the defaults too.

Also considering whether variables, and possibly conditionals should be allowable there.

What are your opinions/suggestions?



Also, the filter by prefix/icon/uid/lastposteruid feature added in the v1.337 is a per-forum setting, but one wonders whether this should be done globally or on a per forum basis.  I'm thinking it might make more sense as a global setting than a per-forum one.  What do you think?

My Blog
11-18-2010 03:51 PM
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: