![]() |
|
Highest Rated Custom Function not working - 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: Highest Rated Custom Function not working (/thread-1166.html) |
Highest Rated Custom Function not working - SubJunk - 2007-02-16 Hi everyone,
Can anyone see an error in the syntax? Is it working for anyone else? If so, did you have to modify something? Highest Rated Custom Function not working - thinkdreams - 2007-02-16 So you're the designer of that fantastic bit of zenphoto code, eh? (didn't quite make the connection at first). I downloaded one of your wallpapers for my new work dual monitor setup just yesterday, after you posted your site in the "sites that use zenphoto" post. And I got the Ultramon program. What a fantastic little app. Anyway, I digress. The highest rated custom function requires the Zenphoto Rating Hack to be configured and working, as well as the DB modifications added before you can use the Highest Rated Custom Function. This requires DB mods, so make sure you're comfortable with that before proceeding. I didn't write either function or the hack, but I have implemented both on my zenphoto implementations (see http://www.thinkdreams.com/zenphoto or http://www.bushwoodworking.com/zenphoto - both using the same theme right now) and they seem to work just fine. I'll be happy to help you configure it and get it working if you want. It's not horribly difficult, just time consuming and a bit tricky. You can grab everything you need for the Image Rating Hack off the wiki at http://www.zenphoto.org/trac/wiki/ZenphotoHacks#ImageRatingHack, and let me know if you have trouble. Highest Rated Custom Function not working - SubJunk - 2007-02-16 Wow, thanks for the kind words Yeah the site is coming along slowly. Ultramon is awesome, it's the first app I install after a reformat, right after gpu drivers. The smart taskbar is pretty much essential for using dual monitors effectively. The guy who makes UltraMon was kind enough to add dmb to his links page without me even asking, generates a fair bit of traffic. Anyway, I've had the image rating hack running for a while, you can see it below each image. Help with the Highest Rated Custom Function would be great! Eventually I would like there to be an option of sorting. I want to have a dropdown list of, say: I think when there are enough images that will become an essential feature; sorting alphabetically is already a problem and I would like users to be able to choose for themselves what is most important to them. For the moment I'm happy with just getting everything sorted by rating though. Highest Rated Custom Function not working - thinkdreams - 2007-02-17 well, if you have the image rating hack working, then really the only other thing I could see it being is the prefix for the sql query. where did you put the database additions for the image rating hack? if they aren't in the images table, then the query above won't work properly. The original instructions from the funbox site suggested putting them in another table, but i chose the images table, which doesn't seem to hurt anything for now, but later on, as Tristan changes zenphoto, it might. So the better way to do it is to follow the original instructions. Anyway, try that. Change the prefix. If you aren't using the images table for your image rating DB fields, that is. Highest Rated Custom Function not working - curiouz - 2007-05-13 Hi Guys, Highest Rated Custom Function not working - curiouz - 2007-05-13 Ok, I got the hack to work Highest Rated Custom Function not working - SubJunk - 2007-05-15 Best to change the actual images yourself I think. If you'd like me to do that for you, just send me an email at subjunkNO@SPAMgmail.com |