Author |
Topic |
Webbo
Average Member
United Kingdom
982 Posts |
Posted - 06 October 2002 : 16:13:15
|
I have made a MOD for UK users of Snitz so that their members can select Counties instead of States to show in their profiles. It also includes a slight modification to the inc_countrylist.asp file in order to be a little bit more specific about the part of the United Kingdom they are in.
On a scale of 1 to 10, 10 being hard it has to be 1
The zip file can be downloaded from HERE
Enjoy,
Dave
|
Edited by - Webbo on 07 October 2002 15:38:55 |
|
PeeWee.Inc
Senior Member
United Kingdom
1893 Posts |
Posted - 06 October 2002 : 16:59:20
|
Do you mind if i mod this a little more? |
De Priofundus Calmo Ad Te Damine |
|
|
Webbo
Average Member
United Kingdom
982 Posts |
Posted - 06 October 2002 : 17:00:55
|
Feel free PeeWee
Dave |
|
|
PeeWee.Inc
Senior Member
United Kingdom
1893 Posts |
Posted - 06 October 2002 : 17:04:01
|
Cool, all i am goin to do is add states to it as well, so it will name the counties then have a line and name the states Coz the forum i am doin will have alot of members from both the Uk and the States, all i need now is someone's statelist, anyone have one? |
De Priofundus Calmo Ad Te Damine |
|
|
Webbo
Average Member
United Kingdom
982 Posts |
Posted - 06 October 2002 : 17:19:30
|
I think this is all of them:
Alabama Alaska Arizona Arkansas California Colorado Connecticut Delaware District of Columbia Florida Georgia Hawaii Idaho Illinois Indiana Iowa Kansas Kentucky Louisiana Maine Maryland Massachusetts Michigan Minnesota Mississippi Missouri Montana Nebraska Nevada New Hampshire New Jersey New Mexico New York North Carolina North Dakota Ohio Oklahoma Oregon Pennsylvania Rhode Island South Carolina South Dakota Tennessee Texas Utah Vermont Virginia Washington West Virginia Wisconsin Wyoming Guam Puerto Rico U.S. Virgin Islands
I hope
Dave |
|
|
al_iguana
Junior Member
138 Posts |
|
PeeWee.Inc
Senior Member
United Kingdom
1893 Posts |
Posted - 06 October 2002 : 17:31:51
|
I'll just fix what i am doin now then i will get on it give me a hour and the file will be here |
De Priofundus Calmo Ad Te Damine |
|
|
PeeWee.Inc
Senior Member
United Kingdom
1893 Posts |
Posted - 06 October 2002 : 17:36:23
|
45 states? I'm sure there is more then that Well i dont know as i am not from the US so i will just add them
|
De Priofundus Calmo Ad Te Damine |
|
|
PeeWee.Inc
Senior Member
United Kingdom
1893 Posts |
Posted - 06 October 2002 : 17:50:41
|
ok, maybe i miss counted what you had put there |
De Priofundus Calmo Ad Te Damine |
|
|
Tmpj
Junior Member
Denmark
467 Posts |
Posted - 07 October 2002 : 08:17:30
|
Hmm, what about making a mod where the admin can enter conties or states (Extra)
A sample: I live in Denmark, in a Amt (State) Aarhus Amt, and a city named Silkeborg |
|
|
al_iguana
Junior Member
138 Posts |
Posted - 07 October 2002 : 11:48:01
|
its easy enough to modify. change the uk_counties.asp to list the states in denmark, but leave the title in profile as State.
what we need is this:
the user clicks on the country, eg "UK". then up pops a list of UK counties. or the user clicks on country "Denmark", and up pops a list of Danish states. etc of course, you would need a database with every country and every state/county in those countries... which would be huge... |
----
Don't Dream It ~ Be It http://www.peppermintiguana.co.uk/cymrugothic/ |
|
|
Webbo
Average Member
United Kingdom
982 Posts |
Posted - 07 October 2002 : 15:38:06
|
I've added an extra zip file now for the US States and that can be downloaded from HERE
This will add a drop down list of US states for your members to pick from in their profile.
For other countries just alter the names of the states in the inc_usstates.asp file and follow the same instructions in the note file.
It should be possible to do as you suggested, al_iguana, with enough country's states/counties in seperate files and using a pop-up window to display the choices for the country chosen. The state could then be picked from the pop-up and placed into the profile - how to do it though is a little beyond me time and knowledge wise ..... any takers ??
Have fun,
Dave |
Edited by - Webbo on 07 October 2002 15:40:04 |
|
|
BWJM
Junior Member
Canada
193 Posts |
Posted - 07 October 2002 : 20:50:04
|
Just FYI to whoever is implementing this... Here's a list of the 13 Canadian Provinces & Territories:
Alberta British Columbia Manitoba New Brunswick Newfoundland and Labrador North West Territories Nova Scotia Nunuvut Territory Ontario Prince Edward Island Quebec Saskatchewan Yukon Territory |
|
|
|
beznas
Starting Member
Morocco
23 Posts |
Posted - 09 October 2002 : 02:03:55
|
I think that the most important thing to have in this Mod is that it only shows the US states when a person checks USA from the country dropdown.
It only needs some javascript modifications.
|
Free Palestine! |
|
|
PeeWee.Inc
Senior Member
United Kingdom
1893 Posts |
Posted - 09 October 2002 : 14:46:37
|
quote: Originally posted by beznas
I think that the most important thing to have in this Mod is that it only shows the US states when a person checks USA from the country dropdown.
It only needs some javascript modifications.
and a huge DB |
De Priofundus Calmo Ad Te Damine |
|
|
alex042
Average Member
USA
631 Posts |
Posted - 09 October 2002 : 15:52:16
|
You might want to consider consolidating these states, counties, providences, etc into one file then select the appropriate list based on country selection.
Btw, the inc_usstateslist.asp file I downloaded had some extra stuff on the bottom. I don't know if it got corrupted or if it was saved that way, but it seems to work fine after deleting the extra stuff. Also, are you sure the list is correct? I didn't know Guam was a state. Must be a new one.
|
Edited by - alex042 on 09 October 2002 16:37:29 |
|
|
Topic |
|