Webmastersite.net
Register Log In

merge toplist filters

Comments on merge toplist filters

david
Forum Regular

Usergroup: Customer
Joined: Jun 22, 2005

Total Topics: 91
Total Comments: 305
david
Posted Jun 30, 2008 - 5:45 AM:

Hi Paul,

Is there a way to merge toplist filters? If I have this as a toplist filter:

catid=63 or catid=87

Can this be made into something shorter? Like catid='63,87'

THanks
David
hai
Forum Regular

Usergroup: Customer
Joined: Apr 03, 2007
Location: NY & PA

Total Topics: 94
Total Comments: 339
hai
Posted Jun 30, 2008 - 8:18 AM:

According to scripts.webmastersite.net/w...for-certain-types-136.html
it looks like you should be using catid='63' or catid='87'
david
Forum Regular

Usergroup: Customer
Joined: Jun 22, 2005

Total Topics: 91
Total Comments: 305
david
Posted Jun 30, 2008 - 8:26 AM:

Hello Hai,

smiling face Of course, but I would like to condense the filters. Writing catid='63' or catid='88' or catid='89'.... is messy.

David
hai
Forum Regular

Usergroup: Customer
Joined: Apr 03, 2007
Location: NY & PA

Total Topics: 94
Total Comments: 339
hai
Posted Jun 30, 2008 - 8:33 AM:

Gotcha. Sorry I misunderstood your question. I thought you were just asking about filtering for 2 categories.
Paul
developer

Usergroup: Administrator
Joined: Dec 20, 2001
Location: Diamond Springs, California

Total Topics: 61
Total Comments: 7868
Paul
Posted Jul 01, 2008 - 12:13 AM:

I'll never condense that format unless paid to, since it's a whole lot simpler for me to leave it in mysql's format (which also keeps consistency with toplists etc) and I have a million things to do that are much more useful.

Your suggested comma format is the same number of keystrokes per number for a long list anyway, presuming you're using copy/paste on ' OR catid='. If this list is going to take you 10 minutes to type your suggestion isn't going to save you more than a couple of seconds.
Search thread for
Download thread as
  • 0/5
  • 1
  • 2
  • 3
  • 4
  • 5



Sorry, you don't have permission to post posts. Log in, or register if you haven't yet.