Results 1 to 4 of 4

Thread: How to add search fields to AEDating?

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

    Default How to add search fields to AEDating?

    I have added a new profile field for the sexual preference of the user (Straight/Bi/Bicurious, etc...),I want the users to be able to specify (one or multiple Sex Prefs) to search on. I have read the documentation on search fields provided by aedating, and it is NOT clear at all on how to add additional search fields. Can you help me with this? This is pretty important for me to understand and to have on the site. - ripgraham01
    I don't usually use the "profile fields" interface in the admin panel to add fields or change search values... I just do it in phpmyadmin.

    Does anyone know if the current admin panel "profile fields" pages support this?

    Is there an FAQ about this on aeWebworks in the user support area?

    Maybe in v3.2 this has been enhanced too...

    If the answer is no to all these questions, then we can explore it more here.
    Hi,
    Actually, you can add fields to the DB thru the Admin Panel, you have to manually add the descriptions in the .lang file tho. Anyway, I have
    been thru the FAQ and all of the Docs about adding a search field and it
    is not very helpful, so any advice that anyone may have would be great. I already have the field in and it displays properly, just don't know how to hook it into the search process.
    Ok so I gather you added your field to your ProfilesDesc table in your DB. In that table is one field called search_type and there you can specify how your want it to appear in your detailed search, "check_set" "radio" "list" "check".

    hope this helps

    *****
    edited:

    There is also in the admin panel where you have most likely added your field, there is again this field "Search type", so just fill out how you want it displayed on the search - GamanSaman
    Thanks guys, based upon your input I was able to add the additional fields I was looking for. Once you added some light to the subject, it was not a hard thing to do.

    Thanks!!
    -Rip

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

    Default

    I have spend some time with this, adding Profile fields in the v3.2 (patch 1) admin panel - and I have found some bugs in the aeDating code.

    So, to add fields with any kind of "power" (not just simple stuff), you need to us a combo of the admin panel and phpmyadmin, or just use phpmyadmin.

    Other than the fact that when you add fields to ProfileDesc, you need to add them also to Profiles, phpmyadmin seems like a better interface for doing this work.

    Smoge

  3. #3
    bbking
    Guest

    Default all new fields come out as name=zodiac

    have you noticed, if you view source ont he search page after adding a field, that all the new fields are named zodiac, meaning that even if you searched on the new field it would look in the zodiac table for the answer...

    am i right?

    and how to fix this

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

    Default

    Hi,

    I have not noticed this - could be true!

    But when troubleshooting search problems - the most helpful thing (in my opinion) is the URL construct...

    You know:

    Code:
    http://localhost/loaded1_0/search_result.php?Sex=male&LookingFor=female&DateOfBirth_start=18&DateOfBirth_end=40
    This really holds the key to troubleshooting search errors and problems.

    Compare them from one search page to the next - see what is added or dropped.

    Smoge

    Quote Originally Posted by bbking
    have you noticed, if you view source ont he search page after adding a field, that all the new fields are named zodiac, meaning that even if you searched on the new field it would look in the zodiac table for the answer...

    am i right?

    and how to fix this
    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.

Thread Information

Users Browsing this Thread

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

Similar Threads

  1. Custom fields not working in search page
    By webbuddy in forum Database
    Replies: 9
    Last Post: 08-28-2008, 04:35 AM
  2. Custom fields on search...
    By eSiK in forum General Issues, Comments, Questions
    Replies: 0
    Last Post: 06-16-2007, 11:12 AM
  3. removing search fields
    By venomousdarts in forum General Troubleshooting
    Replies: 0
    Last Post: 02-07-2007, 03:36 PM
  4. Replies: 2
    Last Post: 01-04-2007, 11:13 PM
  5. ad new fields but how to search between 2 numbers?
    By kruemelg in forum FAQ & HOWTO
    Replies: 0
    Last Post: 09-04-2006, 11:29 AM

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
  •