show only rated pictures

mam885

Joined: 2013-07-03
Posts: 8
Posted: Tue, 2014-08-05 23:08

I'm using "ratings"-module, so I rated pictures. But how can I show only >4*-pictures, for example?

 
tempg

Joined: 2005-12-17
Posts: 1857
Posted: Sun, 2014-08-10 19:38

Depends on what you want to do with that information.

Gist: Run a db query (ORM) on whatever tables/fields the module is using and you'll get back the 4* images listed in an array.

(Based on your question, I'm assuming that you might not know how to do that, but I can't fish through the module to check on this right now. Report back if you try to get this working.)

 
spags

Joined: 2010-03-26
Posts: 120
Posted: Sun, 2014-08-10 21:01

It might be helpful to look through the code of the dynamic module. It sounds like this might be one way you could implement the problem. Disclaimer: I've never looked at or used the module, but suspect it would help your cause.