View Full Version : Account Search criteria
rosegarden
June 25, 2012, 05:55 AM
I want create a shortcut link to list the members within a country
For example I have 23 members in USA. I want to create a link to list this 23 members
Something like that ...
www.xxx.com/member-accounts/search-results.html?f[country]=united_states
What should be the correct SQL Query for this?
Vladimir
June 25, 2012, 06:16 AM
Hello,
You can try the following:
1. Open file includes/controllers/account_type.inc.php
2. Add this code to top of the script:
!empty($_GET['f']) ? $_POST['f'] = $_GET['f'] : '';
rosegarden
June 26, 2012, 03:53 AM
thanks :) this work well except there is a problem which i raise in ticket #MKF-255451
rosegarden
July 4, 2012, 05:02 AM
Hi Viktor again
How about if i want to hardcode a search link based on a field
The display search result based on that field on refine search pagd
Example ...
Xxxx.com/advanced search?brand=nike
Display adavnce page with brand nike displaying all listing from different categories
Vladimir
July 4, 2012, 08:46 AM
You can add a page with the same url in your admin panel. (page type - External)
rosegarden
July 9, 2012, 08:55 AM
Main category : (category)
Bag
Sub-category : (brand)
Nike
Addidas
Reebok
Field : (type)
Sport
Casual
Is it possible to create a search result for the following listings that only display listing with field = "sport" under the "Nike" sub-category
ht tp://www.xxx.com/listings/bag/nike/search-results.html?f[type]=sport
Powered by vBulletin® Version 4.1.9 Copyright © 2024 vBulletin Solutions, Inc. All rights reserved.