Buddypress geolocator plugin

Cerrado Publicado hace 7 años Pagado a la entrega
Cerrado Pagado a la entrega

Part A - INFORMATION ENTRY AND DISPLAY

1. plugin will have a Wordpress admin ("backend") settings form to enter Google geocoder API key

2. plugin will check to ensure Buddypress is installed and active. If not, plugin will generate an alert in the backend

3. if Buddypress is installed and activated, plugin will auto-generated an xprofile field called Postal/Zip Code. Field will remain even if plugin is uninstalled, though admin can delete it via backend under users as per normal Buddypress xprofile behaviour.

4. under settings for plugin, admin can create a form selecting which xprofile fields will be used for a member search. See existing plugin "BP Profile Search" as a model, though one addition for this plugin is the ability to deactivate (hide) xprofile field description(s) on form on a field by field basis

5. when user is filling out xprofile fields on the form in their Buddypress profile, and they enter their postal or zip code ("entry") into the plugin generated xprofile field, upon submission of the form plugin will send the entry through Google's geocoder API using the key entered by admin in (1).

- If Google geocoder returns zero results, user is returned to the form with an alert stating "Oops! The postal/zip code entered doesn't seem to be valid."

- If Google geocoder returns a good result, plugin will pull the city, prov/state/region, and country corresponding with the result from Google. City name remains a whole word (or words). Prov/state/region will be contracted to common abbreviation for that location (e.g. CA for California, BC for British Columbia, NSW for New South Wales, etc.). An example of a region is Scotland within the UK. Country remains whole word (or words) except where Google returns a common abbreviation e.g. UK for United Kingdom, USA for the United States of America.

- user has the option of entering "antarctica" (upper/lower case not important, any combination accepted) if they don't want a location entered. Doing so will bypass geocoder check and enter their location into the wordpress database as "Antarctica" under country.

6. When user submits form with a valid postal/zip code and google has returned a result, plugin writes the city, prov/state/region, and country into the Wordpress database as meta for that user.

7. In the user profile, the xprofile result for postal/zip code hides the entered xprofile data of the user's actual entry and instead displays the city, prov/state/region, and country from that user's meta. Under the buddypress edit tab user (and admin) sees the postal/zip code they entered in the xprofile field.

Part B - SEARCH FORM

1. plugin will generate a configurable search form that will find results based on selected xprofile data. In the backend, admin can configure this search form by selecting the xprofile fields desired, including special fields like age range. Again, see existing plugin "BP Profile Search" as a model.

- Search form will allow users to search Buddypress members of the site via any combination of xprofile fields selected via the form (age, age plus country, gender plus country, etc.)

- Prov/state/region input and city input will be conditional. User selects country first, which populate sthe prov/state/region dropbox with appropriate selections. When user selects prov/state/region, the city dropbox is populated with appropriate selections. Form should have blanks for prov/state/region and for city prior to conditional selection so the form remains consistent in layout.

2. Admin has the option of choosing a page to display the search form by adding a PHP code snippet (entered into hard-coded pages e..g. buddypress/members/[url removed, login to view]) or shortcode (entered via backend into wordpress generated pages) where they want it to display. Admin may choose no page at all, as there's a widget option.

3. plugin will include a widget that can be placed in sidebar or footer, displaying the search form.

PHP Plugin vBulleting WooCommerce WordPress

Nº del proyecto: #11550005

Sobre el proyecto

8 propuestas Proyecto remoto Activo hace 7 años

8 freelancers están ofertando un promedio de $751 por este trabajo

mcfarhat

Hey there, If you're looking for excellent development quality and great English communication skills, you've come to the right place. I am a highly experienced wordpress developer, with over 12 years of professional Más

$1400 CAD en 3 días
(23 comentarios)
5.7