bandnet.org Forums

Full Version: Setting location
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
I've been working on the code for setting locations for artists.

Locations can be set by going to the artists control panel and clicking on the details page. Press the 'edit location' button to set your location.

Currently the database only includes UK places, although you can still select a country if you live in other parts of the world.

See the first reply to this post for more details.
The database currently only contains UK places because of size limitations for database storage. US places will be added to the database soon. You can still select a country. Simply close the selection window and your location up to the point you have selected will be saved.

At some point in the future I will be adding an option to add places that aren't in the database. This will allow people to add their location even if it is not currently stored in the database.

I'm doing it the way I am because I want to add various features that will require knowing an approximate distance between locations. Using a simple text entry box doesn't allow me to do that.

In some cases you may be asked to supply some extra piece of data after you have entered your location. This is to help improve some of the data we have stored and to provide some more accurate information in the future.
This basically means that I can't use this yet, not even set only the country without specifying the location more precisely?

Actually, it's nice that within the UK you can set the precise location, but maybe it's not necessary to have this fine granularity for the entire world. Switzerland isn't so big, so merely setting "Switzerland" might be enough.
Unfortunately, yes, that does mean you can't currently use it if you are anywhere outside the UK. However, with a bit of modification to the database I should be able to allow you to set at least the country.

I'll get onto this as soon as I can. Probably now, in fact. I often seem to stay up till 4am when I've got the motivation to do work Smile.

Edit: Done. You can close the location selection thingy and it'll keep whatever you've selected up to that point. I'll still aim to add some code so places can be added to the database. I hope people won't abuse that too much.
Cool! 8)
Reference URL's