×

Notice

The forum is in read only mode.
Welcome, Guest
Username: Password: Remember me
  • Page:
  • 1

TOPIC: deleting non current markers

deleting non current markers 13 years 3 months ago #13156

  • Alan Littlefield
  • Alan Littlefield's Avatar Topic Author
  • Offline
  • Fresh Boarder
  • Fresh Boarder
  • Posts: 3
  • Thank you received: 0
I want to build a site that contains markers for information for all users, but also have the ability for each user to update daily their own position marker.
So the information markers, (in one category) need to stay permanently.
However I would like the user markers to be updated each day as they travel.
Additionally, if the user doesn't update for say 7 days, can the marker change colour?
And if the user doesn't update for say 21 days, can it be automatically deleted?
Thanks for any guidance.

deleting non current markers 13 years 3 months ago #13158

  • Daniel Dimitrov
  • Daniel Dimitrov's Avatar
  • Offline
  • Administrator
  • Administrator
  • Posts: 9618
  • Karma: 155
  • Thank you received: 1081
Hey Alan,
You will need to find someone who can code! Hotspots can't do those things out of the box.

You could for example create a cronjob, that updates the database with the user location + sets the author of the hotspot to the user_id. This way the user will be able to edit this hotspot.

Currently there is no last modified date, so you won't be able to change the color if the user doesn't update the hotspot.

But once I add those modified_by, last_modfied_date fields you can udpate the color and delete the hotspot with that cron job...

Daniel
  • Page:
  • 1
Time to create page: 0.132 seconds