Page 1 of 2 12 LastLast
Results 1 to 10 of 11

Thread: configuring the search.php

  1. #1
    hugeknot
    Guest

    Question configuring the search.php

    Hi
    I have installed dolphin 5.4.0
    I have adapted the registration fields turning the script into a professional musician community. I am very happy with this!

    Trouble is... when I go to the search page, I get a host of unwanted search variables such a "sex" "Country" etc. Although these are hidden fields, I cannot work out how to remove them from the search page. each search option has a show/hide option, but I don't want them there at all.

    Thanks in advance
    Hugeknot

  2. #2

    Join Date
    Sep 2006
    Posts
    191

    Default

    yes I am working on this, I still haven't figured out how to make my new profile fields searchable, and remove the excess search fields in search.php

    Anyone have an idea of what we can do?
    ------------------------------------
    Have a MMORPG character you are proud
    of - Toon in your Character at
    http://www.charnation.com

  3. #3
    hugeknot
    Guest

    Default

    Hi
    The answer lies in phpmyadmin where if you browse fields in profiledecs you can select the search type. The ones you don't want to appear select "none".
    Trouble is, I keep messing up the extended search function, so now the search.php just refreshes itself instead of callin on search_results.php.

    I need some help with this!

  4. #4
    hugeknot
    Guest

    Default

    Hi
    Thanks for your reply, but this is not what we want to do!
    We want to completely hide it from the search page... rather than giving a "hide/ show" option.

    The only way I can see how to do this is to select "none" from the search_type field.
    But I need a way to do this without breaking the search function.
    Last edited by hugeknot; 12-21-2006 at 11:31 AM.

  5. #5
    Prometheus
    Guest

    Default

    edited because of stupdity...lol.....my stupidity...

    Todd
    Last edited by Prometheus; 12-21-2006 at 04:36 PM.

  6. #6
    MPP
    Guest

    Default

    ive done it and it still shows
    shows the table and says hide/show

  7. #7
    Prometheus
    Guest

    Default

    OPPPS....
    am I bad? you are completely correct....
    I am wrong. Not the first time.. to be sure...
    I was doing 3 things at once and read your post incorrectly.

    So sorry for that.....

    Todd

  8. #8
    Administrator Smoge's Avatar
    Join Date
    Mar 2005
    Posts
    6,634
    Blog Entries
    5

    Default

    to hide fields on search.php, use phpMyAdmin - and edit the

    Code:
    `search_type` enum('none','radio','list','check','daterange','check_set','text') NOT NULL default 'none',
    Set it to none.

    Smoge
    ModMySite Administrator

    Problems? Questions? Need modifications or other help with your site?

    Open A Ticket , Send Us An Email Or Give Us A Telephone Call +1 518-632-4152.

  9. #9
    hugeknot
    Guest

    Default

    Thanks smodge... that's right!
    But, a word of warning, when I did this with "Looking for sex" it broke my search function!!

    Maybe there are other fields that you have to be careful with too??

  10. #10
    Administrator Smoge's Avatar
    Join Date
    Mar 2005
    Posts
    6,634
    Blog Entries
    5

    Default

    Yes - that field is a required one for search.

    Smoge


    Quote Originally Posted by hugeknot
    Thanks smodge... that's right!
    But, a word of warning, when I did this with "Looking for sex" it broke my search function!!

    Maybe there are other fields that you have to be careful with too??
    ModMySite Administrator

    Problems? Questions? Need modifications or other help with your site?

    Open A Ticket , Send Us An Email Or Give Us A Telephone Call +1 518-632-4152.

Page 1 of 2 12 LastLast

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Similar Threads

  1. problem in configuring dolphin
    By adeelnasir in forum General Issues, Comments, Questions
    Replies: 5
    Last Post: 05-18-2008, 02:37 AM
  2. Replies: 0
    Last Post: 07-13-2007, 05:58 PM
  3. Replies: 5
    Last Post: 04-05-2007, 11:45 AM
  4. Problems Configuring MySQL database
    By Comet2007 in forum General Troubleshooting
    Replies: 1
    Last Post: 02-27-2007, 04:54 PM
  5. Add city and occupation search to Admin Panel search
    By lax33 in forum Free Mod Exchange
    Replies: 0
    Last Post: 10-11-2006, 07:13 PM

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •