+ Reply to Thread
Results 1 to 6 of 6

Thread: Account Search criteria

  1. #1
    Senior Member
    Join Date
    Dec 2011
    Posts
    159

    Account Search criteria

    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 ...

    http://www.xxx.com/member-accounts/s...results.html?f[country]=united_states

    What should be the correct SQL Query for this?

  2. #2
    Flynax developer
    Join Date
    Jun 2010
    Posts
    239
    Hello,

    You can try the following:

    1. Open file includes/controllers/account_type.inc.php
    2. Add this code to top of the script:

    PHP Code:
    Only registered members can view the code

  3. #3
    Senior Member
    Join Date
    Dec 2011
    Posts
    159
    thanks this work well except there is a problem which i raise in ticket #MKF-255451

  4. #4
    Senior Member
    Join Date
    Dec 2011
    Posts
    159
    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

  5. #5
    Flynax developer
    Join Date
    Jun 2010
    Posts
    239
    You can add a page with the same url in your admin panel. (page type - External)

  6. #6
    Senior Member
    Join Date
    Dec 2011
    Posts
    159
    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

+ Reply to Thread