Support Forums

search "not equal to"

This is a discussion on search "not equal to" within the Templates, HTML, CSS, and Design Help forums, part of the General category; when we do the search, for all fields the argument is "equal to". how can I use a "not equal ...


Go Back   68 Classifieds Forums > General > Templates, HTML, CSS, and Design Help

Reply
 
Thread Tools Display Modes
Old 12-13-2009, 08:01 AM   #1
Customer
 
Join Date: Jun 2008
Location: Maldives
Posts: 134
Rep Power: 16
business is on a distinguished road
Default search "not equal to"

when we do the search, for all fields the argument is "equal to".
how can I use a "not equal to" argument in the search. I am looking at modifying the search URL... eg. I have the following search string.

Code:
searchresults.php?searchtext=&type=7&opt36[]=SOLD+OUT+!!!!!&Submit=Search
I want to make it not equal to "SOLD OUT !!!!!". i tried modifying the URL to opt36[]!=SOLD+OUT+!!!!!. but doesn't seem to work. I want to make the result not include listings marked as SOLD OUT.
__________________
v 4.2.0 Developer - Default Template
business is offline   Reply With Quote
Old 12-19-2009, 05:59 AM   #2
Customer
 
Join Date: Jun 2008
Location: Maldives
Posts: 134
Rep Power: 16
business is on a distinguished road
Default

any suggestions?
__________________
v 4.2.0 Developer - Default Template
business is offline   Reply With Quote
Old 12-20-2009, 08:08 PM   #3
68 Classifieds Staff
 
Eric Barnes's Avatar
 
Join Date: Mar 2006
Location: Belmont, NC
Posts: 5,489
Rep Power: 135
Eric Barnes is just really nice Eric Barnes is just really nice
Default

You would have to alter the php file and add a new search parameter. It can't be done from the url alone.
__________________
Eric Barnes
68 Classifieds Developer
Customer Area | Issue Tracker | Documentation | 68C Mods | 68 @ Twitter | My Modules
Eric Barnes is offline   Reply With Quote
Reply

Thread Tools
Display Modes


Similar Threads
Thread Thread Starter Forum Replies Last Post
"Search All" extra fields option brad33 Technical Support 5 04-30-2009 05:21 PM
Adding a "Product Directory" & "Find a Dealer" system spaceboy Technical Support 1 09-18-2008 06:16 PM
How to change title name "Place" to "post" on main page? YourPalAl Technical Support 4 04-28-2008 10:39 PM


All times are GMT -4. The time now is 10:15 AM.


Powered by vBulletin® Version 3.8.1
Copyright ©2000 - 2011, Jelsoft Enterprises Ltd.
Search Engine Friendly URLs by vBSEO 3.2.0