-
Forum
-
Zh OpenStreetMap
-
Component
-
How to enable the rating system?
How to enable the rating system?
-
sanax
-
Topic Author
-
Offline
-
Senior Member
-
Less
More
-
Posts: 77
-
Thank you received: 0
-
-
-
sanax
-
Topic Author
-
Offline
-
Senior Member
-
Less
More
-
Posts: 77
-
Thank you received: 0
-
-
4 years 8 hours ago #13479
by sanax
Last question regarding the voting / rating system.
I see that you actually only vote once (IP recognition ? ) Is it possible to turn that off? I have several services on my main map and would like members to vote on several services if they would like to.
TIA
Please Log in or Create an account to join the conversation.
Less
More
-
Posts: 4609
-
Thank you received: 460
-
-
-
-
-
4 years 6 hours ago #13480
by Dima
But you have 1 placemark.
I store rating by IP and by user.
And get average for it.
If you have different services how do you expect this calculation?
Please Log in or Create an account to join the conversation.
-
sanax
-
Topic Author
-
Offline
-
Senior Member
-
Less
More
-
Posts: 77
-
Thank you received: 0
-
-
Less
More
-
Posts: 4609
-
Thank you received: 460
-
-
-
-
-
4 years 5 hours ago #13483
by Dima
You rate each placemark.
Ie you can vote different placemarks, you don't vote for map.
And it doesn't care in what map placemark is.
For example. You have placemark for hotel and garage.
If you have 2 maps with enabled rating, and display your hotel on both of it, rating will be calculated independent of map, ie for hotel.
But for garage you can rate different for hotel.
All rating data stored for placemark, and it is not connected to map.
Ie: placemark ID + user ID + IP
If you
- don't logged in - search = placemark ID + IP
- logged in - search = placemark ID + user ID
Please Log in or Create an account to join the conversation.
Less
More
-
Posts: 4609
-
Thank you received: 460
-
-
-
-
-
4 years 5 hours ago - 4 years 5 hours ago #13484
by Dima
If you want to check your rating data and play with it, I can tell in what table I store it. You can use update/delete rows and check my logic.
But in placemark rate fields data changed only when you vote.
Ie if you delete/update data from vote table, you need to vote to get new rating
Last edit: 4 years 5 hours ago by Dima.
Please Log in or Create an account to join the conversation.
-
Forum
-
Zh OpenStreetMap
-
Component
-
How to enable the rating system?
Time to create page: 0.080 seconds