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.
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.
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.
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!![]()
Its there - use PHPmyAdmin.....Originally Posted by BrainWave
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.
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.
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.
There are currently 1 users browsing this thread. (0 members and 1 guests)
Bookmarks