Member
Member
Nordlicht   2019-02-08, 16:03
#1

Right from the start: Rating Plugin is not activated.

Where does ZPC get the ratings if pictures can't get rated by website visitors?

I am facing the situation that ZPC displays "rated" pictures:
https://www.bikestation.fi/com/page/archive/?set=topratedimages
https://www.bikestation.fi/com/page/archive/?set=mostratedimages

Can it be, that ZPC is reading the ratings from within the picture/metadata?
I am thinking of Darktable and/or DigiKam. I was running into some "issues" with both apps.

If the Ratings Plugin isn't active, where does ZPC get the information which pictures are actually "popular"?
https://www.bikestation.fi/com/page/archive/?set=popularimages

Thanks!

Administrator
Administrator
acrylian   2019-02-08, 16:13
#2

From the database field named "rating" (all four item types have that). If that plugin was never active and therefore there is no value, the order is rather randmon since all have the same value. So to have an effect there must be some kind of rating.

I am facing the situation that ZPC displays "rated" pictures:
https://www.bikestation.fi/com/page/archive/?set=topratedimages
https://www.bikestation.fi/com/page/archive/?set=mostratedimages

This is entirely something this theme does. None of the offical onees do that.

Member
Member
Nordlicht   2019-02-08, 16:31
#3

Ok, I c, so the title of this subject should rather start with "Libratus: ratings + popular"
I'll walk through the database entries.

What about the popular images?
https://www.bikestation.fi/com/page/archive/?set=popularimages

Is this related with "ratings" or is this related with "most visited" pictures?

Thanks!

Administrator
Administrator
acrylian   2019-02-08, 16:40
#4

Sorry, I really should not answer inbetween doing other stuff:

  • Popular: Order by db column hitcount
  • Most rated: Order by db column total_votes
  • Top rated: Calculated results via query using two db columnstotal_value/total_votes

The later two also know a threshold value optionally. See the image_album_statisics plugin which the theme should use (don't remember right now).

So of course all these make no sense if neither the hitcounter is calculated nor anything has been or can be rated ;-)

Member
Member
Nordlicht   2019-02-08, 17:31
#5

Yes, there were entries in your mentioned fields.
Lucky me - I already thought that it related with the offline workflow...

I would think that the database entries were happening during the test phase before going live.

Thanks for your support!

  
Powered By MyBB, © 2002-2026 MyBB Group.
Made with by Curves UI.