Hmm.. maybe I figure it out... Seems to work with this settings:
my $temp=$form->param('rating_file_loc');
# if(!$::loggedin && $::authentication_type)
# {
# require $::display_module;
# display(javaAlert("Must be logged in to add ratings!"));
# $::function="";
# }
# elsif (isGuest() && $::authentication_type)
# {
# require $::display_module;
# display(javaAlert("Guests can not add ratings!"));
# $::function="";
# }
# else
# {
openDescfile("$::album_dir/$temp/");
getDescription($form->param('object'));
$::shortdesc="$::S{229} ".$::shortdesc;
require $::display_module;
display(buildTemplate());
exit(0);
# }
}
Feature request:
Add this as a config item: Enable Guest to add comments ?!
BR
Tilly
I don´t get it :'(
If I comment out theese lines, the user still must be logged in ?
Is there anyway to let visiting users just hit the Rating button and submit a comment... Without login at all, the way it worked in the previous version ?
BR
Tilly