Esvon Classifieds Unofficial Support Board
Welcome, Guest. Please login or register.

Login with username, password and session length
  Home    Help    Search    Login    Register  
*
Sep 08, 10, 21:32
Esvon Classifieds Unofficial Support Board  |  Esvon Classifieds  |  Wish list (Moderators: isell, SeVende)  |  Topic: Search 'All' Feature Advanced search
 
Pages 1 2
Author
Topic: Search 'All' Feature  (Read 3845 times)
« on: May 27, 05, 23:38 »
lindsabc Offline
Apprentice classifier
*
Posts: 11



Wish we could have a 'free' Search All feature built into the standard search menu.  It would be great to put in some key words and search all the ads not just specific categories.  I asked Vlad about it and apparently it would cost quite a bit and be a slog for updating etc.  Anyone got any thoughts about this? :-[
Logged
 
Reply #1
« on: May 27, 05, 23:46 »
snow Offline
Regular classifier
**
Posts: 34



In the lasted version, this function has been included.
You can find it in the Demo.

But...I understand, it would be a pain for old version to upgrade.
I'm a new user, but I already begin to feel it.
Logged
 
Reply #2
« on: Jun 07, 05, 14:43 »
JosephMarc Offline
Apprentice classifier
*
Posts: 15



I am currently on version 794 and have also asked Vlad about a year ago for the search all feature. I was told it cost alot of money and would require many coding changes.  After reviewing the code I was able to include a search all feature with as little as one line of code.
Logged
 
Reply #3
« on: Jun 07, 05, 22:52 »
lindsabc Offline
Apprentice classifier
*
Posts: 11



Any chance of sharing the code?
 Grin
Logged
 
Reply #4
« on: Jun 08, 05, 14:54 »
JosephMarc Offline
Apprentice classifier
*
Posts: 15



Here is what I did in Header.htm.

Add the line in bold.


         <select name=cid class=txt8>
             <option value="All" selected>All Categories
         <!-- TPL_INSERT : b_Categories_Sel -->
         <!-- TPL_CELL : def -->
            <option ##sel## value="##id##">##name##
         <!-- /TPL_CELL : def -->
         <!-- /TPL_INSERT : b_Categories_Sel -->
         </select>

Works like a charm for me!!   Wink  Let me know how it works for you.
   
Logged
 
Reply #5
« on: Jun 12, 05, 21:55 »
gthomas Offline
Apprentice classifier
*
Posts: 23



tried the above code and all i got was a mysql error. I've done a lot of customization so upgrading doesn't seem reasonable for me Cry
Logged
 
Reply #6
« on: Jun 13, 05, 00:56 »
JosephMarc Offline
Apprentice classifier
*
Posts: 15



gthomas - had a bit of trouble with this feature so he set the value = "0" and all is good.
Logged
 
Reply #7
« on: Jun 13, 05, 14:15 »
b3d Offline
Intrepid classifier
***
Posts: 95

WWW

I'm confused Huh. All my version have a selection for "All" or "All Categories" in dropdown and it works fine.
Logged
 
Reply #8
« on: Jun 13, 05, 14:21 »
JosephMarc Offline
Apprentice classifier
*
Posts: 15



The search bar in the header of your site.  Do you have a "All" there?
Logged
 
Reply #9
« on: Jun 13, 05, 14:27 »
b3d Offline
Intrepid classifier
***
Posts: 95

WWW

Yes. It has been in every version that I ever used.

For some reason the latest version I used didn't include a dropdown for "Any Words", "All Words", and "Exact Phrase",  so I added them back in.
Logged
 
Reply #10
« on: Jun 13, 05, 14:34 »
JosephMarc Offline
Apprentice classifier
*
Posts: 15



What's the URL?
Logged
 
Reply #11
« on: Jun 13, 05, 14:35 »
hawk Offline
Esvon Team
Fearless Classifier
****
Iron sharpeth iron Posts: 167

WWW

"All Categories" option for keywords search was implemented in build 797 to appear always.

In older releases it appears only if all your categories have the same fields set, i.e. when you don't use category specific ad fields.

If you'll just add 'All Categories' in HTML with id=0 the search will not produce accurate results in most cases.
Logged

The Esvon Team
http://www.esvon.com/
 
Reply #12
« on: Jun 13, 05, 14:51 »
b3d Offline
Intrepid classifier
***
Posts: 95

WWW

http://www.onestopri.com

I use different field sets in this site and I don't think that I changed search in header except I did add boolean dropdown which I think works ok......  There are no ads to search so it is hard to test  Roll Eyes


p.s. "All Categories" does not appear in advanced search.

Vlad, Is there a reason why boolean was not included?
Logged
 
Reply #13
« on: Jun 13, 05, 15:00 »
hawk Offline
Esvon Team
Fearless Classifier
****
Iron sharpeth iron Posts: 167

WWW

 If MySQL full-text search engine is used for keywords search, boolean search works starting from MySQL 4.0.1, so it was removed not to cause confusion for MySQL 3.23.x users.
 It works ok at your website because you have MySQL 4.
Logged

The Esvon Team
http://www.esvon.com/
 
Reply #14
« on: Jun 13, 05, 15:03 »
b3d Offline
Intrepid classifier
***
Posts: 95

WWW

Actually I just did a test and did notice a problem. A keyword search will not find words in description field. I checked to see if I had keyword searchable selected and noticed that there is no option for that in f_descr.
Logged
 
Print  Pages 1 2
Esvon Classifieds Unofficial Support Board  |  Esvon Classifieds  |  Wish list (Moderators: isell, SeVende)  |  Topic: Search 'All' Feature
Jump to: