+ Reply to Thread
Results 1 to 4 of 4

Thread: Username as search field for account page

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

    Username as search field for account page

    I notice you cannot search user using their username.

    You can search by nearly all the rest of the account_fields.

    How can i add username as a search field?

    I referring to the account page , not the listing page.

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

    You can try to fix it the following way:

    1.
    - open the file: templates/your_template/tpl/controllers/account_type.tpl
    - find this code:

    Code:
    Only registered members can view the code.
    - and change it to following code:

    Code:
    Only registered members can view the code.
    2.
    - open the file: includes/classes/rlAccount.class.php
    - go to method searchDealers()
    - find this line:

    PHP Code:
    Only registered members can view the code
    - and add before it the following code:

    PHP Code:
    Only registered members can view the code

  3. #3
    Quote Originally Posted by Desmond Lim View Post
    I notice you cannot search user using their username.

    You can search by nearly all the rest of the account_fields.

    How can i add username as a search field?

    I referring to the account page , not the listing page.
    hello. have you tried the fix from Vladimir? does it work ok? i am interesting in adding this as well if is working ok. Thanks

  4. #4
    solution works fine. thanks Valdimir
    can you take a look at http://www.flynax.com/forum/showthre...me-as-username
    it is not working if user name is made of 2 or more splited words. with one word works fine.

+ Reply to Thread