Notice

The forum is in read only mode.

Support Forum

Welcome! Support Forums have been reactivated
Welcome the Technical Support section. Help us in assisting you by providing us with a concise and descriptive elaboration of your issues. Be specific and if possible, provide us with a step-by-step instruction in replicating your problem.

Geolocation on the database?

11 years 3 weeks ago
  • carlatf's Avatar
    Topic Author
  • carlatf
  • Offline
  • Fresh Boarder
  • Posts: 33
  • Thank you received: 1
Licenses:
JomSocial Active

ISSUE SUMMARY:

Hi,
I'm building a modification and I want to update the geolocation via an APP.
Can you tell me where Jomsocial stores that info?
best regards,
Carla



STEPS TO REPLICATE:
1
2
3
4
5
RESULT
EXPECTED RESULT
BROWSER

11 years 3 weeks ago
  • carlatf's Avatar
    Topic Author
  • carlatf
  • Offline
  • Fresh Boarder
  • Posts: 33
  • Thank you received: 1
Licenses:
JomSocial Active

I meant the geolocation info it grabs from my browser not the address the user can enter in the profile

11 years 3 weeks ago
  • Dimas's Avatar
  • Dimas
  • Visitor
  • Thank you received: 0
Licenses:

I dont understand.. but if you ask the database its stored inside this table #__community_location_cache

11 years 3 weeks ago
Licenses:

Hi, Carla.

Geolocation grabbed by browser is not stored anywhere but in browser in current session.
This is related with browser - not with JomSocial.
JS stores only data provided by users in the system.


- Instead of saying: 'it's not working', explain the problem in detail.
- Screenshots with the URL visible in them and the problem marked are more than welcome.
- Tell us how to replicate the problem, we can't fix it if we can't find it.
- Make sure that your site/server meets JomSocial System Requirements
- Make sure to setup JomSocial Cron Job
- Always provide us with access details to the backend and ftp. We need it to debug problems.
- If you have a similar problem, but a solution you found isn't working, open a new thread instead of 'merging' with an existing one.

- Use the "Thank You" feature on any post that helped you
11 years 3 weeks ago
  • carlatf's Avatar
    Topic Author
  • carlatf
  • Offline
  • Fresh Boarder
  • Posts: 33
  • Thank you received: 1
Licenses:
JomSocial Active

Hi,
I meant where is recorded the geolocation of the user?
Sometimes when I enter into my site I click on "Share my location" Where's that stored?
I want to use it to display the users near the user

11 years 3 weeks ago
  • Dimas's Avatar
  • Dimas
  • Visitor
  • Thank you received: 0
Licenses:

If you mean when share location on sharebox, its stored inside this table #__community_activities field 'latitude' and 'longitude'

11 years 3 weeks ago
  • carlatf's Avatar
    Topic Author
  • carlatf
  • Offline
  • Fresh Boarder
  • Posts: 33
  • Thank you received: 1
Licenses:
JomSocial Active

Those two are the only places where JS stores the user coordinates?

11 years 3 weeks ago
Licenses:

Hi, Carla.

Location detected by browser is stored only in case you save it in post. Just like Dimas mentioned.
Geo data created from user street, city and so one is stored here: _community_location_cache


- Instead of saying: 'it's not working', explain the problem in detail.
- Screenshots with the URL visible in them and the problem marked are more than welcome.
- Tell us how to replicate the problem, we can't fix it if we can't find it.
- Make sure that your site/server meets JomSocial System Requirements
- Make sure to setup JomSocial Cron Job
- Always provide us with access details to the backend and ftp. We need it to debug problems.
- If you have a similar problem, but a solution you found isn't working, open a new thread instead of 'merging' with an existing one.

- Use the "Thank You" feature on any post that helped you
11 years 2 weeks ago
  • carlatf's Avatar
    Topic Author
  • carlatf
  • Offline
  • Fresh Boarder
  • Posts: 33
  • Thank you received: 1
Licenses:
JomSocial Active

Hi, what about if the user doesn't enter the adress?

I'm hiring someone to make a plugin that:
" automatically geolocated via HTML5 Geolocation (or the most accurate method you can find if you have a better one) and the information is stored inside Jomsocial table as the new location of the user.
Locations are retrieved each 15minutes and each time the user logins."

I want to know the right table to store the info, if it's possible overwrite the current JS lat and long information so I can display the nearest users to my user and related stuff.


It's off that with so many geo location plugins and stuff available this doesn't exist.

11 years 2 weeks ago
  • Dimas's Avatar
  • Dimas
  • Visitor
  • Thank you received: 0
Licenses:

that nearby geolocation should be hackend, we cant help you to achive this sorry..

11 years 2 weeks ago
  • carlatf's Avatar
    Topic Author
  • carlatf
  • Offline
  • Fresh Boarder
  • Posts: 33
  • Thank you received: 1
Licenses:
JomSocial Active

I don't mean to help me, I just want to know where I should store it so I can create a Users Map later.

:)

11 years 2 weeks ago
  • Dimas's Avatar
  • Dimas
  • Visitor
  • Thank you received: 0
Licenses:

I glad you understand lol..

well, you can put the lat and lang to this table #__community_users, put on fields "latitude" and "longitude"

Moderators: Piotr Garasiński
Powered by Kunena Forum

Join 180,000 websites creating Amazing communities

JomSocial is the most complete, easy-to-use addon that turns Joomla CMS into a
full -fledged, social networking site

TRY NOW BUY NOW