WPIntell

Source evidence

auto store user location

BP Distance Search · support · 2022-06-23T13:44:00+00:00

complaintsentiment
mediumseverity
0.8relevance
6replies
Evidence linked to opportunitycommercial context

Proof Health

Open evidence

Commercial opportunities need traceable source links before they are treated as build-worthy.

4 / 31 rows with source links

12.9% of this page's analysis has direct source links.

0 build-decision rows missing links

0 rows here require auditable proof before promotion.

27 rows with no attached evidence

0 rows have source counts but still need direct links.

Conversation

support
itsabhist unresolved
Hi I want to store user current location without filling location form field. Or when visiting profile edit page current location button automatically selected . Please help Hi itsabhist, I’m not sure how this could be achieved, I’ll spend some time on it over the weekend and I’ll get back to you if I find a suitable solution. eagerly waiting for reply Expecting custom function which update automatically user geolocation lat long when function run in xprofile field like “current location” Which further can use as add_action in different situations This reply was modified 3 years, 11 months ago by itsabhist . Hi itsabhist, In the current implementation a user can update their current location if they: * Go to the profile edit page * Click the ‘get current location’ button * Submit the form To automate the above procedure, we should: * Build a form to edit the location profile field, copying it from the profile edit page * Hide it with CSS * With JavaScript, activate the ‘get current location’ button (i.e. call the bps_locate() function in bps-template.js) * With JavaScript, submit the form What do you think? exactly but i think user dose not require to visit profile page . location update can be use from anywre based on add action add_action( 'template_redirect', 'update_location'); funtion update_location() { //store current lat lng to user current location field } 🙂 Yes, this makes the feature very flexible. I’d like to write and test the actual code, but I don’t have enough time at the moment. However I’m sure you or your developer can now proceed with the implementation. Hi I am not software developer. But I am trying to make this. Also requested to spare time for same if possible .

Comments

6 shown
Andrea Tarantini 2022-06-24T09:00:00+00:00

Hi itsabhist, I’m not sure how this could be achieved, I’ll spend some time on it over the weekend and I’ll get back to you if I find a suitable solution.

itsabhist 2022-06-24T18:34:00+00:00

eagerly waiting for reply Expecting custom function which update automatically user geolocation lat long when function run in xprofile field like “current location” Which further can use as add_action in different situations This reply was modified 3 years, 11 months ago by itsabhist .

Andrea Tarantini 2022-06-27T05:37:00+00:00

Hi itsabhist, In the current implementation a user can update their current location if they: * Go to the profile edit page * Click the ‘get current location’ button * Submit the form To automate the above procedure, we should: * Build a form to edit the location profile field, copying it from the profile edit page * Hide it with CSS * With JavaScript, activate the ‘get current location’ button (i.e. call the bps_locate() function in bps-template.js) * With JavaScript, submit the form What do you think?

itsabhist 2022-06-27T09:45:00+00:00

exactly but i think user dose not require to visit profile page . location update can be use from anywre based on add action add_action( 'template_redirect', 'update_location'); funtion update_location() { //store current lat lng to user current location field } 🙂

Andrea Tarantini 2022-06-29T05:34:00+00:00

Yes, this makes the feature very flexible. I’d like to write and test the actual code, but I don’t have enough time at the moment. However I’m sure you or your developer can now proceed with the implementation.

itsabhist 2022-06-29T05:48:00+00:00

Hi I am not software developer. But I am trying to make this. Also requested to spare time for same if possible .