Results 1 to 6 of 6

Thread: Country - my i can modificate this?

  1. #1
    BAVARAC
    Guest

    Default Country - my i can modificate this?

    Hi,

    my i can modification and change country, originally we have 316 country, i want change this in the 150 city... my i can change this and where??

    Thanks and sorry for my English.

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

    Default

    Are you running aeDating / Dolphin / or GPLdate?

    I think you are saying you want to use the country field for cities?

    Countries are handled differently in the different versions... in aeDating - you could edit prof.inc.php pretty easily.

    In Dolphin - this info was moved into the database - making it a bit harder to edit. If you are using Dolphin - you would perhaps be better off adding a new "CityList" field, and hide your old "City" field by adjusting the "visable" and/or "show_on_page" db settings.

    Not sure if this helps much - but it may give you some ideas or some questions you want to ask.

    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.

  3. #3
    BrainWave
    Guest

    Default

    I'm also interested in this subject... I use Dolphin 5.4, and was wondering how i could "delete" / "make invisible" the Country field (in view/edit profile, search, etc...) since i cant find it in the ProfileDesc table...

    Can someone help?

    Thanks!

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

    Default

    Quote Originally Posted by BrainWave
    i cant find it in the ProfileDesc table...
    Its there - use PHPmyAdmin.....

    Here is the insert statemet from v54.sql

    INSERT INTO `ProfilesDesc` VALUES (6, 'Country', '_Country', '', 'global $prof; return $prof[countries];', 'r', 4, 0, 'single', 'user,memb,adm', 'memb,adm', '', '', '', '', '', 1, '3,25', '', '', 'list', 0, 0, '', 10, '-1', '', '', 'none', '', '', '');

    you can set this value

    `visible` set('user','memb','adm') NOT NULL default 'user',

    set it to none selected... and it will not show on join, profile_edit, profile

    But - it will show on pages like search_results - since that is hard coded to show that field.

    The value in Profiles

    `Country` char(2) NOT NULL default 'US',

    means that the default if not set (since it is not showing) on the join_form will be "US".

    Hope this helps,

    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.

  5. #5

    Join Date
    Jun 2007
    Posts
    5

    Default

    How can I hide the country selection box on all pages. I have hidden the countries in the profilesdesc but it still shows in the searches.

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

    Default

    If it is showing in the bottom section of the search, you need to disable the search_type in phpmyadmin - set to nothing - and it will not show there.

    If you mean in the top box, where there is a search by zip code and so on... you will need to edit the template/php code to remove that.

    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.

Thread Information

Users Browsing this Thread

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

Similar Threads

  1. Country help
    By omgland in forum Dolphin General Discussion v6.00 and above
    Replies: 2
    Last Post: 01-26-2009, 10:56 AM
  2. I want to use only one country
    By inkamadness in forum FAQ & HOWTO
    Replies: 1
    Last Post: 06-14-2007, 01:13 PM
  3. Add Country
    By Dino in forum FAQ & HOWTO
    Replies: 0
    Last Post: 04-23-2007, 11:17 AM
  4. Add a country
    By happipappi in forum General Issues, Comments, Questions
    Replies: 2
    Last Post: 09-03-2006, 11:10 AM
  5. More Country
    By warrior in forum FAQ & HOWTO
    Replies: 1
    Last Post: 09-02-2006, 11:16 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
  •