ZenphotoCMS Forum
I want to add a voting/rating 1 to 10 option button function to it - Printable Version

+- ZenphotoCMS Forum (https://forum.zenphoto.org)
+-- Forum: Support (https://forum.zenphoto.org/forum-1.html)
+--- Forum: General support (https://forum.zenphoto.org/forum-4.html)
+--- Thread: I want to add a voting/rating 1 to 10 option button function to it (/thread-2223.html)



I want to add a voting/rating 1 to 10 option button function to it - dacksal - 2008-02-09

I do have some basic idea of a function, but where should I past it, should I just add it as a new class?

Any help or how the code is to be would be great

I would really like to do this without having the mysql database changed cause i may want to reupload the database to other places




I want to add a voting/rating 1 to 10 option button function to it - acrylian - 2008-02-09

We already have a voting system within zenphoto (1-5 only). Take look at our functions guide on http://www.zenphoto.org/documentation and search for albumrating and imagerating functions.




I want to add a voting/rating 1 to 10 option button function to it - dacksal - 2008-02-09




I want to add a voting/rating 1 to 10 option button function to it - dacksal - 2008-02-09

but i dont see it in the demos, where does the code for it reside




I want to add a voting/rating 1 to 10 option button function to it - DirkSohler - 2008-02-09

Well, and how to use printImageRating()? If i put `into theimage.php` file of my theme it returns some kind of a list, but no rating system/info at all.

http://img131.imageshack.us/img131/2889/bildschirmfototo5.png




I want to add a voting/rating 1 to 10 option button function to it - acrylian - 2008-02-10

It's currently implemented in the default and the example theme. If you want it in any other theme, you have to place these two links in the html head section:
`




I want to add a voting/rating 1 to 10 option button function to it - DirkSohler - 2008-02-10

Hoooooooray, it works! Now i’m looking forward to i18n

Thanks!