-
Author
-
October 24, 2013 at 02:46 #5022agentsrrParticipant
How do you add states easily to the user profile fields? like countries.
Thanks
October 24, 2013 at 18:48 #5054SQadminKeymasterYou can take a look on how we generated them in sweetdate/custom_buddypress/bp-functions.php lines 286 – 509
Hi there!!! Help others from the community and mark any reply as solution if it solved your question. Mark as a solutionJanuary 4, 2014 at 11:45 #9075Azerty514ParticipantHi Robert,
Can you provide me stp more information about this, I would also like to add states to the united states and canada.
thank you
January 6, 2014 at 02:28 #9172AbeKeymasterHello,
You can add the states as dropdown from the admin menu Users – Profile fields but it will be a huge job to add all states manually. Other thing is that they won’t have any relation to the country.
To have states depend on the country selected you need to develop a Javascript solution. It is not an easy job so you probably will need help of a developer from microlancer.com or similar.Cheers
Hi there!!! Help others from the community and mark any reply as solution if it solved your question. Mark as a solution---
@ SeventhQueen we do our best to have super happy customers. Thanks for being our customer.January 6, 2014 at 10:50 #9202Azerty514Participantah ok, thank you Abe for the info, Another question, the list of countries from the http://www.geonames.org, is it possible to:
– Easily translate into French?
– Remove a few countries in the list?January 6, 2014 at 23:53 #9257AbeKeymasterHi, I don’t think they have localized names. You can search on their site maybe you find some info on that.
This is the file responsible for the integration of geonames: wp-content/themes/sweetdate/custom_buddypress/kleo-bp-city-auto.phpYou have a list of countries at the end, try to remove them from that array
Hi there!!! Help others from the community and mark any reply as solution if it solved your question. Mark as a solution---
@ SeventhQueen we do our best to have super happy customers. Thanks for being our customer. -
AuthorPosts
The forum ‘Sweetdate – WordPress’ is closed to new topics and replies.