Comments are there, but needs polishing. Voting isn't yet. G2 isn't G1 on steroid, G2 is a completely different program written from the ground up (or mostly from the ground up).
sexdrvn
Joined: 2003-12-30
Posts: 57
Posted: Fri, 2005-08-19 01:34
by the looks of it, I thought it was exactly that...
G1 on steroids and taken to a new level .
nivekiam
Joined: 2002-12-10
Posts: 16504
Posted: Fri, 2005-08-19 03:13
G2 is a lot more modular and I'd expect (hope) to see a more robust comment module as well as voting and a few others the following months after the first final release of G2 happens.
sexdrvn
Joined: 2003-12-30
Posts: 57
Posted: Fri, 2005-08-19 08:01
that wil kewl to see.
Oldiesmann
Joined: 2005-05-18
Posts: 151
Posted: Sat, 2005-08-20 21:55
I definitely want to see a voting module of some sort. Most other photo gallery scripts have it, so g2 needs it as well...
globo
Joined: 2005-02-07
Posts: 37
Posted: Mon, 2005-08-22 08:08
I too would love to see a voting module.
I don't know how high on the priority-ladder it is now. Maybe my comment will push it one step further up.
fryfrog
Joined: 2002-10-30
Posts: 3236
Posted: Tue, 2005-08-23 04:41
Its less about priority and more about having people interested in working on it. All the devs are busy working out bugs and polishing things up for the final release. Its unlikely this will make it in before then. If you are truely interested in seeing a Voting module (and I am too, mildly), make sure there is an RFE already for it. If there is (or even if there isn't!) feel free to write up a good description of how you think it should work. You could even include html mock ups or drawings. If you really really want it done, write it yourself or perhaps commision it to be written by someone with the skillz.
Personally, I would like to see something simple like netflix has. Just a little bar with 5 possible votes on it you can select while viewing images. It could be expanded to track and make recommendations based on other people's and your votes, ie, if 2 people give image X a 5, then one of those two people gives image Y a 5 also, that image might be suggested to the other person to view.
nivekiam
Joined: 2002-12-10
Posts: 16504
Posted: Tue, 2005-08-23 13:15
I've been comparing coppermine with G1 and G2 and like it's rating system over what's in G1.
But I'm with your fryfrog, I'd love to see what's used in Netflix. I don't have the voting portion turned on for any G1 install I admin because I don't like it. But if there was something quick and sexy looking like what netflix has I'd probably have it turned on even if I didn't care what the results were ;)
Netflix's rating do-hickey is not only unobtrusive, but you don't need a page refresh once you've clicked on it.
globo
Joined: 2005-02-07
Posts: 37
Posted: Mon, 2005-09-12 09:33
Hi,
I'm not a mamber at netflix. could either one of you make a quicksnapshot? I will then try to make the PNGs needed. Maybe that will start to get things going.
NOTE: The behavior is that when you click on the image, your vote is recorded, but the entire page isn't reloaded. So it's using JavaScript or some AJAX interface or something to communicate your vote back to the server without having to reload the page. It's very smooth and nice.
globo
Joined: 2005-02-07
Posts: 37
Posted: Mon, 2005-09-26 12:43
Oh, I see.
I could come up with the sars and stuff. But the programming is more than I can handle.
globo
rmaryan
Joined: 2005-10-14
Posts: 3
Posted: Wed, 2005-11-09 16:49
I am currently looking for the best gallery for our local photographers community and Gallery 2 is really close to be "the best".
Did the development team came into the final agreement on what should be implemented in the voting module? I have reviewed the sourceforge task page - seems like there is a developer assigned to implement this subsystem.
Netflix style looks really cool. Is it possible to implement some advanced functionality like the following:
1. Allow the multiple-criteria voting (criteria count and titles to be specified in the settings). For example, the photo can be evaluated on several criteria: technical quality, artistry, idea.
2. Have the customizable number of evaluation points. I.e. 1,2,3,4,5; bad,good,perfect.
3. Calculate the votes summary either as the average (as this is done in most of the other galleries) or just counting the "hits" numbers. For example, on my webside I'd like to have the only voting results like "231 users liked this photo" - which means the user does not post a subjective mark but just says instead "Hey, I like this!".
As an experienced PHP developer I think these ideas implemetation should not take too much time. On the other hand, having this functionality on-board will make Gallery2 a really extraordinal and incomparably supperior to the others.
Any comments on this from development team? If you would like to consider these ideas I can proceed with some sort of SRS preparation.
fryfrog
Joined: 2002-10-30
Posts: 3236
Posted: Wed, 2005-11-09 23:13
A flexible vote module sounds like a great idea. Netflix style rating would be good for a rating system, but a "yes / no" system would also be really great. Another more indepth option could be a comparison, X vs Y type rating system.
rmaryan wrote:
Any comments on this from development team? If you would like to consider these ideas I can proceed with some sort of SRS preparation.
SRS means Software Requirements Specification - just a document with the planned functionality definition.
Since the development is in active phase as for now, probably it is a good idea not to bother rizzo with the outsider's docs.
However collecting some good ideas and implementing them in the initial design (at least having this design flexible for the future improvements) could be beneficial for all parties.
Probably it makes sense to implement some generic approach which can be used for most voting types.
For example: A. Pure Netflix style voting is a single-criteria, with marks +1 to +5. Summary is calculated as the votes average.
B. "yes/no" style is a single criteria with a single mark (yes or +1) or two marks (-1/+1). Summary is calculated as the sum of votes.
The user will specify in the module options the number of the criteria, the number of the marks, the impact of each mark to the total (i.e. -2, -1, 0, +1, +2), and the formula to be used for the total calculation (average or sum).
Having the design similar to this one allows us "to kill two rabbits by one shot" (not sure if there is such proverb in English
I'll be happy if this idea can help to make this module better.
Right now I've been coding to the "5-star" system. I'm sure once I set up the admin options we can work in different rating scales.
The proverb in English is normally "kill two birds with one stone".
igrcic
Joined: 2005-04-19
Posts: 78
Posted: Thu, 2005-11-10 16:12
or in Croatian... kill two flies with one stroke unpatiently waiting for your module...
thumb
Joined: 2004-05-26
Posts: 238
Posted: Thu, 2005-11-10 19:58
globo, I've created images and have provided them to rizzo. The aim is to allow others to create themes to replace the images with ones of their choosing.
rmaryan
Joined: 2005-10-14
Posts: 3
Posted: Fri, 2005-11-11 16:28
You are doing great work. Thank you!
rizzo
Joined: 2005-11-10
Posts: 29
Posted: Fri, 2005-11-11 19:00
Status update. I have a very working setup. I need to implement admin options (including permissions) yet as well as some other displays (item display vs album display, etc).
Things look very encouraging so far.
I don't want to give out the URL of my prototype site, because it's hosted on my home DSL connection :p
Rating is in feature lockdown and I'm almost done with unit testing and adding unit tests to satisfy my gallery2 overlords. After that I believe it goes to them for code review.
mindless
Joined: 2004-01-04
Posts: 8601
Posted: Fri, 2005-11-18 18:41
globo, nice.
rizzo has implemented all the images as css backgrounds so a theme or even an iconpack could override and use other images like those.
globo
Joined: 2005-02-07
Posts: 37
Posted: Tue, 2005-11-22 12:09
I've attached my bullets in blue and red as 16x16 pixel PNG-24s.
I guess all one would have to do is alter the CSS-file to use them.
rizzo
Joined: 2005-11-10
Posts: 29
Posted: Tue, 2005-11-22 20:53
globo I'm not sure I follow where blue/red half-a/b factor? Which style in rating.css would each correspond to?
globo
Joined: 2005-02-07
Posts: 37
Posted: Wed, 2005-11-23 09:29
The a or b are just different styles for a half vote, they are meant to represent the same. Visually I like the one with the dot (a) better but than I thought that the sliced one (b) is easier to understand. so I provided both as an option. If I had to choose one for a general distribution I'd choose style b since it is easier to understand.
The blue style was meant to replace the yellow star with the red outline and the red style the red star.
I could also change the red to orange to fit the gallery-style a little more. I'm open for any ideas.
rizzo
Joined: 2005-11-10
Posts: 29
Posted: Wed, 2005-11-23 14:00
Currently one set of stars is used to indicate both user rating and overall average. The yellow indicates user rating, the red outline indicates average. You can also use the average rating bar (display turned off in matrix theme) and just use yellow stars. It's all in the CSS.
paularms
Joined: 2005-05-16
Posts: 13
Posted: Sun, 2005-11-27 20:31
I can't wait for the release of this! I've already got my stars made.
GrauNykho
Joined: 2005-09-13
Posts: 32
Posted: Wed, 2005-11-30 12:41
I downloaded the rating module this morning and installed it on my server...
Even if I add the rating block to be displayed on the theme administration (in the sidebar, the album and photo pages), nothing is showed when I navigate on my gallery...
Perhaps somebody has an idea about how to make this module work on my server?
Thanks in advance!
Gallery version = 2.0.2+ noyau 1.0.10
PHP version = 4.3.10 apache2handler
Serveur Web = Apache-AdvancedExtranetServer/2.0.53 (Mandriva Linux/PREFORK-9.2.102mdk) PHP/4.3.10 mod_ssl/2.0.53 OpenSSL/0.9.7e mod_perl/1.999.21 Perl/v5.8.6
Base de données = mysqlt 4.1.11
Boîtes à outils = ArchiveUpload, Gd, NetPBM, Exif, Thumbnail, Ffmpeg, ImageMagick, Dcraw, SquareThumb
Système d'exploitation = Linux sandnyko 2.6.11-12mdkcustom #3 SMP Thu Aug 25 10:37:08 CEST 2005 i686
Navigateur Web = Mozilla/5.0 (Windows; U; Windows NT 5.1; fr; rv:1.8) Gecko/20051107 Firefox/1.5
valiant
Joined: 2003-01-04
Posts: 32509
Posted: Wed, 2005-11-30 12:51
i guess you need to enable rating for an album first.
edit album -> enable rating.
GrauNykho
Joined: 2005-09-13
Posts: 32
Posted: Wed, 2005-11-30 13:12
Thanks for your answer, I did not saw this checkbox before!
Now I have checked it, and when I go back to the album page, I have this error:
Error (ERROR_STORAGE_FAILURE)
* in modules/core/classes/GalleryStorage/DatabaseStorage.class at line 305 (gallerystatus::error)
* in modules/core/classes/GalleryStorage.class at line 248 (mysqldatabasestorage::search)
* in modules/core/classes/Gallery.class at line 223 (gallerystorage::search)
* in modules/rating/classes/RatingHelper.class at line 65 (gallery::search)
* in modules/rating/module.inc at line 135 (ratinghelper::fetchratings)
* in modules/core/classes/GalleryTheme.class at line 1376 (ratingmodule::getitemsummaries)
* in themes/PGtheme/theme.inc at line 364 (pgthemetheme::loadcommontemplatedata)
* in modules/core/classes/GalleryTheme.class at line 901 (pgthemetheme::showalbumpage)
* in modules/core/classes/GalleryView.class at line 312 (pgthemetheme::loadtemplate)
* in main.php at line 337 (showitemview::doloadtemplate)
* in main.php at line 88
* in main.php at line 81
I have it with and without the "Allow Album Rating" option checked on the admin page.
Do you know what this error appears? (the installation, auto-configuration and activation of the module worked fine)
rizzo
Joined: 2005-11-10
Posts: 29
Posted: Wed, 2005-11-30 15:09
I can't tell you exactly what your error means. I can tell you that rating module requires code from CVS HEAD, which will become 2.1, if I recall. I don't believe that gallery 2.0.x will work. However it doesn't make sense that you would get GalleryStorage errors because of it.
Also I have removed the ItemEditOption part of the module, so you no longer have to separately enable rating for each album. Enabling/disabling can be achieved through permissions. The "Allow Album Rating" site admin option pertains to allowing users to rate whole albums, in addition to individual pictures. I'll be adding a more thorough description to the site admin page shortly.
GrauNykho
Joined: 2005-09-13
Posts: 32
Posted: Wed, 2005-11-30 15:33
I have a version wich is about 2 weeks old, downloaded from the CVS... So I probably have to wait or to upgrade another time!
I saw the possibility to use the album permissions to manage it... I think it will be better for the rights management than using the option I used!
Juste a note, the rating module version I tried was donwloaded from CVS this morning :/
And I agree with you about the fact that the admin page has to be filled with a description
rizzo
Joined: 2005-11-10
Posts: 29
Posted: Wed, 2005-11-30 16:03
I would update both gallery2 and rating CVS and try a fresh install of rating on that.
rizzo
Joined: 2005-11-10
Posts: 29
Posted: Fri, 2005-12-16 21:57
Just an FYI that rating is development done and will be included in gallery 2.1, and is committed in the BRANCH_API_DEV of the gallery2 trunk.
If you are using current HEAD of gallery2 CVS, then you'll want to use HEAD of gallery2/modules/rating in the gallery-contrib project.
rating will not work with the 2.0.x branch.
mindless
Joined: 2004-01-04
Posts: 8601
Posted: Sat, 2005-12-17 00:45
yay!
drazin
Joined: 2002-11-23
Posts: 144
Posted: Wed, 2006-01-04 18:52
YAY! thanks rizzo for your work i cant wait to see it! i think i may have been the first to request rating way back in the 1.x days...before joan created it. i am very excited to use it with g2!
chamb1
Joined: 2004-12-27
Posts: 32
Posted: Fri, 2006-01-06 00:25
Wow, nice work! Is there (or will there be) a way to recursively activate the rating module for all albums? I wonder if I can just go into the SQL table....hummmm..... ;)
Again, very nice work!
drazin
Joined: 2002-11-23
Posts: 144
Posted: Fri, 2006-01-06 15:57
is any of the 2.1 branch available?
rizzo
Joined: 2005-11-10
Posts: 29
Posted: Fri, 2006-01-06 16:15
The 2.1 branch is currently in the BRANCH_API_DEV cvs branch of the gallery2 project. I believe it will be merged back into CVS HEAD next week.
Also re: recursive enabling, virshu has made that change.
jinspin
Joined: 2005-08-26
Posts: 26
Posted: Thu, 2006-01-12 22:24
Any nice person wanna put a screenie of what voting looks like in Gallery. Drool!
mindless
Joined: 2004-01-04
Posts: 8601
Posted: Fri, 2006-01-13 03:18
don't have any screenshots, but get current cvs or nightly snapshot and you'll get the module
drazin
Joined: 2002-11-23
Posts: 144
Posted: Mon, 2006-03-27 00:26
can somone tell me what code id need to snip to get the rating of each photo to appear below its photo in thumbnail view? In ohter words, below the "views" id like to see the photos rating before i click on it to see it in photo view. TIA.
Looking forward to learning what code does that - looks great!
Jim
xavtek
Joined: 2005-10-22
Posts: 14
Posted: Mon, 2006-03-27 22:06
Hi,
I'm posting about rating as i'm having troubles making it working properly.
- I activated the rating in the album tab, but the page is not keeping my settings for the checkboxes : if i check them and click "save", the page reloads telling me it stored my settings ok, but the checkbox stays unchecked.
The rating is activated though, but if i make a change and forgot to check the box, it deactivates the ratings. Well this is not a big deal.
- The average rating container is not correctly centered on my pages.
- // My album page keeps on displaying the ratings below the thumbnails event if i didn't choose to add the "rating interface" block to the album pages (in the theme details).// edit : The translation for the 2 checkboxes is not clear at all and i just figured out that if i only check the second one, items on the page (even if they are not albums) are not to be rated.
Sorry if i'm doing something wrong.
The words between "" might not be correct as i had to translate them.
yes just like that....how is that the default? its not like that in mine. how can i do the same thing?
mindless
Joined: 2004-01-04
Posts: 8601
Posted: Mon, 2006-03-27 23:31
xavtek, please start a new topic in the support forums, thanks.
mindless
Joined: 2004-01-04
Posts: 8601
Posted: Mon, 2006-03-27 23:37
drazin, you need to turn on ratings in albums where you want to use it (edit album / Album tab), plus there are permissions you can set to control who can view and add ratings.
some other info: codex.gallery2.org/index.php/Gallery2:Modules:rating
chivas12
Joined: 2005-05-31
Posts: 43
Posted: Mon, 2007-08-27 11:12
Hi,
Can anyone send me the rating module for 2.0.4? As I'm having problems with the 2.1.1 and cannot perform an upgrade and I like the rating module a lot!
I'd really appreciate that! Thanks!
My email:
-----------------------------------------------
My Album:Photo Album
Posts: 16504
Comments are there, but needs polishing. Voting isn't yet. G2 isn't G1 on steroid, G2 is a completely different program written from the ground up (or mostly from the ground up).
Posts: 57
by the looks of it, I thought it was exactly that...
G1 on steroids and taken to a new level .
Posts: 16504
G2 is a lot more modular and I'd expect (hope) to see a more robust comment module as well as voting and a few others the following months after the first final release of G2 happens.
Posts: 57
that wil kewl to see.
Posts: 151
I definitely want to see a voting module of some sort. Most other photo gallery scripts have it, so g2 needs it as well...
Posts: 37
I too would love to see a voting module.
I don't know how high on the priority-ladder it is now. Maybe my comment will push it one step further up.
Posts: 3236
Its less about priority and more about having people interested in working on it. All the devs are busy working out bugs and polishing things up for the final release. Its unlikely this will make it in before then. If you are truely interested in seeing a Voting module (and I am too, mildly), make sure there is an RFE already for it. If there is (or even if there isn't!) feel free to write up a good description of how you think it should work. You could even include html mock ups or drawings. If you really really want it done, write it yourself or perhaps commision it to be written by someone with the skillz.
Personally, I would like to see something simple like netflix has. Just a little bar with 5 possible votes on it you can select while viewing images. It could be expanded to track and make recommendations based on other people's and your votes, ie, if 2 people give image X a 5, then one of those two people gives image Y a 5 also, that image might be suggested to the other person to view.
Posts: 16504
I've been comparing coppermine with G1 and G2 and like it's rating system over what's in G1.
But I'm with your fryfrog, I'd love to see what's used in Netflix. I don't have the voting portion turned on for any G1 install I admin because I don't like it. But if there was something quick and sexy looking like what netflix has I'd probably have it turned on even if I didn't care what the results were ;)
Netflix's rating do-hickey is not only unobtrusive, but you don't need a page refresh once you've clicked on it.
Posts: 37
Hi,
I'm not a mamber at netflix. could either one of you make a quicksnapshot? I will then try to make the PNGs needed. Maybe that will start to get things going.
globo
Posts: 16504
Here are some screenshots I took and of what pops up as you hover over the stars, http://photos.kevinnehls.com/v/G2Forums/
NOTE: The behavior is that when you click on the image, your vote is recorded, but the entire page isn't reloaded. So it's using JavaScript or some AJAX interface or something to communicate your vote back to the server without having to reload the page. It's very smooth and nice.
Posts: 37
Oh, I see.
I could come up with the sars and stuff. But the programming is more than I can handle.
globo
Posts: 3
I am currently looking for the best gallery for our local photographers community and Gallery 2 is really close to be "the best".
Did the development team came into the final agreement on what should be implemented in the voting module? I have reviewed the sourceforge task page - seems like there is a developer assigned to implement this subsystem.
Netflix style looks really cool. Is it possible to implement some advanced functionality like the following:
1. Allow the multiple-criteria voting (criteria count and titles to be specified in the settings). For example, the photo can be evaluated on several criteria: technical quality, artistry, idea.
2. Have the customizable number of evaluation points. I.e. 1,2,3,4,5; bad,good,perfect.
3. Calculate the votes summary either as the average (as this is done in most of the other galleries) or just counting the "hits" numbers. For example, on my webside I'd like to have the only voting results like "231 users liked this photo" - which means the user does not post a subjective mark but just says instead "Hey, I like this!".
As an experienced PHP developer I think these ideas implemetation should not take too much time. On the other hand, having this functionality on-board will make Gallery2 a really extraordinal and incomparably supperior to the others.
Any comments on this from development team? If you would like to consider these ideas I can proceed with some sort of SRS preparation.
Posts: 3236
A flexible vote module sounds like a great idea. Netflix style rating would be good for a rating system, but a "yes / no" system would also be really great. Another more indepth option could be a comparison, X vs Y type rating system.
What does "SRS preparation" mean? I don't think it means "Safety Restraint System"
_________________________________
Support & Documentation || Donate to Gallery || My Website
Posts: 8601
rizzo has started working on this.. his work-in-progress (not functionaly yet) will soon be found at:
http://cvs.sourceforge.net/viewcvs.py/gallery-contrib/gallery2/modules/
globo, I'm sure any images you provide would come in handy.
Posts: 3
SRS means Software Requirements Specification - just a document with the planned functionality definition.
Since the development is in active phase as for now, probably it is a good idea not to bother rizzo with the outsider's docs.
However collecting some good ideas and implementing them in the initial design (at least having this design flexible for the future improvements) could be beneficial for all parties.
Probably it makes sense to implement some generic approach which can be used for most voting types.
For example:
A. Pure Netflix style voting is a single-criteria, with marks +1 to +5. Summary is calculated as the votes average.
B. "yes/no" style is a single criteria with a single mark (yes or +1) or two marks (-1/+1). Summary is calculated as the sum of votes.
The user will specify in the module options the number of the criteria, the number of the marks, the impact of each mark to the total (i.e. -2, -1, 0, +1, +2), and the formula to be used for the total calculation (average or sum).
Having the design similar to this one allows us "to kill two rabbits by one shot" (not sure if there is such proverb in English
I'll be happy if this idea can help to make this module better.
Posts: 29
Yes I'm on the scene. I've set up a project page at http://codex.gallery2.org/index.php/Gallery2:Modules:rating , mindless already told you where the CVS is for now.
Right now I've been coding to the "5-star" system. I'm sure once I set up the admin options we can work in different rating scales.
The proverb in English is normally "kill two birds with one stone".
Posts: 78
or in Croatian... kill two flies with one stroke unpatiently waiting for your module...
Posts: 238
globo, I've created images and have provided them to rizzo. The aim is to allow others to create themes to replace the images with ones of their choosing.
Posts: 3
You are doing great work. Thank you!
Posts: 29
Status update. I have a very working setup. I need to implement admin options (including permissions) yet as well as some other displays (item display vs album display, etc).
Things look very encouraging so far.
I don't want to give out the URL of my prototype site, because it's hosted on my home DSL connection :p
Posts: 37
Hi everyone,
I didn't stop by for a while. The stars have already been supplied so I'm a little late for that. I made some bullets that might also do the job:
[img]http://img190.imageshack.us/img190/9096/boller29lz.jpg[/img]
Link to image
What do you guys think?
globo
Posts: 29
Another update:
Rating is in feature lockdown and I'm almost done with unit testing and adding unit tests to satisfy my gallery2 overlords. After that I believe it goes to them for code review.
Posts: 8601
globo, nice.
rizzo has implemented all the images as css backgrounds so a theme or even an iconpack could override and use other images like those.
Posts: 37
I've attached my bullets in blue and red as 16x16 pixel PNG-24s.
I guess all one would have to do is alter the CSS-file to use them.
Posts: 29
globo I'm not sure I follow where blue/red half-a/b factor? Which style in rating.css would each correspond to?
Posts: 37
The a or b are just different styles for a half vote, they are meant to represent the same. Visually I like the one with the dot (a) better but than I thought that the sliced one (b) is easier to understand. so I provided both as an option. If I had to choose one for a general distribution I'd choose style b since it is easier to understand.
The blue style was meant to replace the yellow star with the red outline and the red style the red star.
I could also change the red to orange to fit the gallery-style a little more. I'm open for any ideas.
Posts: 29
Currently one set of stars is used to indicate both user rating and overall average. The yellow indicates user rating, the red outline indicates average. You can also use the average rating bar (display turned off in matrix theme) and just use yellow stars. It's all in the CSS.
Posts: 13
I can't wait for the release of this! I've already got my stars made.
Posts: 32
I downloaded the rating module this morning and installed it on my server...
Even if I add the rating block to be displayed on the theme administration (in the sidebar, the album and photo pages), nothing is showed when I navigate on my gallery...
Perhaps somebody has an idea about how to make this module work on my server?
Thanks in advance!
Gallery version = 2.0.2+ noyau 1.0.10
PHP version = 4.3.10 apache2handler
Serveur Web = Apache-AdvancedExtranetServer/2.0.53 (Mandriva Linux/PREFORK-9.2.102mdk) PHP/4.3.10 mod_ssl/2.0.53 OpenSSL/0.9.7e mod_perl/1.999.21 Perl/v5.8.6
Base de données = mysqlt 4.1.11
Boîtes à outils = ArchiveUpload, Gd, NetPBM, Exif, Thumbnail, Ffmpeg, ImageMagick, Dcraw, SquareThumb
Système d'exploitation = Linux sandnyko 2.6.11-12mdkcustom #3 SMP Thu Aug 25 10:37:08 CEST 2005 i686
Navigateur Web = Mozilla/5.0 (Windows; U; Windows NT 5.1; fr; rv:1.8) Gecko/20051107 Firefox/1.5
Posts: 32509
i guess you need to enable rating for an album first.
edit album -> enable rating.
Posts: 32
Thanks for your answer, I did not saw this checkbox before!
Now I have checked it, and when I go back to the album page, I have this error:
Error (ERROR_STORAGE_FAILURE)
* in modules/core/classes/GalleryStorage/DatabaseStorage.class at line 305 (gallerystatus::error)
* in modules/core/classes/GalleryStorage.class at line 248 (mysqldatabasestorage::search)
* in modules/core/classes/Gallery.class at line 223 (gallerystorage::search)
* in modules/rating/classes/RatingHelper.class at line 65 (gallery::search)
* in modules/rating/module.inc at line 135 (ratinghelper::fetchratings)
* in modules/core/classes/GalleryTheme.class at line 1376 (ratingmodule::getitemsummaries)
* in themes/PGtheme/theme.inc at line 364 (pgthemetheme::loadcommontemplatedata)
* in modules/core/classes/GalleryTheme.class at line 901 (pgthemetheme::showalbumpage)
* in modules/core/classes/GalleryView.class at line 312 (pgthemetheme::loadtemplate)
* in main.php at line 337 (showitemview::doloadtemplate)
* in main.php at line 88
* in main.php at line 81
I have it with and without the "Allow Album Rating" option checked on the admin page.
Do you know what this error appears? (the installation, auto-configuration and activation of the module worked fine)
Posts: 29
I can't tell you exactly what your error means. I can tell you that rating module requires code from CVS HEAD, which will become 2.1, if I recall. I don't believe that gallery 2.0.x will work. However it doesn't make sense that you would get GalleryStorage errors because of it.
Also I have removed the ItemEditOption part of the module, so you no longer have to separately enable rating for each album. Enabling/disabling can be achieved through permissions. The "Allow Album Rating" site admin option pertains to allowing users to rate whole albums, in addition to individual pictures. I'll be adding a more thorough description to the site admin page shortly.
Posts: 32
I have a version wich is about 2 weeks old, downloaded from the CVS... So I probably have to wait or to upgrade another time!
I saw the possibility to use the album permissions to manage it... I think it will be better for the rights management than using the option I used!
Juste a note, the rating module version I tried was donwloaded from CVS this morning :/
And I agree with you about the fact that the admin page has to be filled with a description
Posts: 29
I would update both gallery2 and rating CVS and try a fresh install of rating on that.
Posts: 29
Just an FYI that rating is development done and will be included in gallery 2.1, and is committed in the BRANCH_API_DEV of the gallery2 trunk.
If you are using current HEAD of gallery2 CVS, then you'll want to use HEAD of gallery2/modules/rating in the gallery-contrib project.
rating will not work with the 2.0.x branch.
Posts: 8601
yay!
Posts: 144
YAY! thanks rizzo for your work i cant wait to see it! i think i may have been the first to request rating way back in the 1.x days...before joan created it. i am very excited to use it with g2!
Posts: 32
Wow, nice work! Is there (or will there be) a way to recursively activate the rating module for all albums? I wonder if I can just go into the SQL table....hummmm..... ;)
Again, very nice work!
Posts: 144
is any of the 2.1 branch available?
Posts: 29
The 2.1 branch is currently in the BRANCH_API_DEV cvs branch of the gallery2 project. I believe it will be merged back into CVS HEAD next week.
Also re: recursive enabling, virshu has made that change.
Posts: 26
Any nice person wanna put a screenie of what voting looks like in Gallery. Drool!
Posts: 8601
don't have any screenshots, but get current cvs or nightly snapshot and you'll get the module
Posts: 144
can somone tell me what code id need to snip to get the rating of each photo to appear below its photo in thumbnail view? In ohter words, below the "views" id like to see the photos rating before i click on it to see it in photo view. TIA.
Posts: 32509
like that?
http://www.nei.ch/gallery/v/diverses/famousfatboy/
thatßs the default..
Posts: 32
Looking forward to learning what code does that - looks great!
Jim
Posts: 14
Hi,
I'm posting about rating as i'm having troubles making it working properly.
- I activated the rating in the album tab, but the page is not keeping my settings for the checkboxes : if i check them and click "save", the page reloads telling me it stored my settings ok, but the checkbox stays unchecked.
The rating is activated though, but if i make a change and forgot to check the box, it deactivates the ratings. Well this is not a big deal.
- The average rating container is not correctly centered on my pages.
- // My album page keeps on displaying the ratings below the thumbnails event if i didn't choose to add the "rating interface" block to the album pages (in the theme details).// edit : The translation for the 2 checkboxes is not clear at all and i just figured out that if i only check the second one, items on the page (even if they are not albums) are not to be rated.
Sorry if i'm doing something wrong.
The words between "" might not be correct as i had to translate them.
here is a link to my gallery :
http://www.xavtek.com/gallery/v/divers/
thanks in advance for your help.
Xavier
Posts: 144
yes just like that....how is that the default? its not like that in mine. how can i do the same thing?
Posts: 8601
xavtek, please start a new topic in the support forums, thanks.
Posts: 8601
drazin, you need to turn on ratings in albums where you want to use it (edit album / Album tab), plus there are permissions you can set to control who can view and add ratings.
some other info: codex.gallery2.org/index.php/Gallery2:Modules:rating
Posts: 43
Hi,
Can anyone send me the rating module for 2.0.4? As I'm having problems with the 2.1.1 and cannot perform an upgrade and I like the rating module a lot!
I'd really appreciate that! Thanks!
My email:
-----------------------------------------------
My Album:Photo Album