Some questions about a contest album

Forum rules
Support ended: 31.12.2011

Some questions about a contest album

Postby bc2005 » Wed Sep 21, 2011 7:04 pm

Gallery Version: 1.1.4
phpBB Version: 3.0.9
Gallery-Link: http://www.bonsaicafe.be/forum/gallery/album.php?album_id=62

PHP Version: PHP 5
Database Version: MySQL 5.0.32


Error message:

Error description and message
Is there a way to let guests or non registered people give ratings to pictures in a contest album?

Can the administrator of the board see the ratings everyvody gives, or view the score so far, before the contest has ended?

Thx,
Hans
bc2005
Posts 30 - 40
Posts 30 - 40
 
Posts: 37
Topics: 10
Joined: Wed Apr 15, 2009 8:00 pm

Re: Some questions about a contest album

Postby nickvergessen » Wed Sep 21, 2011 11:49 pm

bc2005 wrote:Is there a way to let guests or non registered people give ratings to pictures in a contest album?

No

bc2005 wrote:Can the administrator of the board see the ratings everyvody gives, or view the score so far, before the contest has ended?

This should already work, if they have moderators permissions.
cheers nickvergessen :geek:

Member of phpBB Development-Team
No Support via PM
User avatar
nickvergessen
Administrator
Administrator
 
Posts: 5748
Topics: 217
Images: 139
Joined: Mon Oct 15, 2007 4:15 pm
phpBB.de: nickvergessen
phpBB.com: nickvergessen

Re: Some questions about a contest album

Postby bc2005 » Thu Sep 22, 2011 8:22 am

nickvergessen wrote:This should already work, if they have moderators permissions.


Can't find it. I have looked at it as moderator and admin, but I can only see this: The rating for this images is hidden, until the end of the contest on (date) ...
bc2005
Posts 30 - 40
Posts 30 - 40
 
Posts: 37
Topics: 10
Joined: Wed Apr 15, 2009 8:00 pm

Re: Some questions about a contest album

Postby nickvergessen » Thu Sep 22, 2011 5:16 pm

Ah well sorry, didn't remember it correctly:
you can edit that easily:
includes/gallery/images/rating.php
find:
Code: Select all
            if ($this->image_data('image_contest'))
            {
               if (!$display_contest_end)
               {
                  return $user->lang['CONTEST_RATING_HIDDEN'];
               }

replace with:
Code: Select all
            if ($this->image_data('image_contest') && !phpbb_gallery::$auth->acl_check('m_', $this->album_data('album_id'), $this->album_data('album_user_id')))
            {
               if (!$display_contest_end)
               {
                  return $user->lang['CONTEST_RATING_HIDDEN'];
               }
cheers nickvergessen :geek:

Member of phpBB Development-Team
No Support via PM
User avatar
nickvergessen
Administrator
Administrator
 
Posts: 5748
Topics: 217
Images: 139
Joined: Mon Oct 15, 2007 4:15 pm
phpBB.de: nickvergessen
phpBB.com: nickvergessen

Re: Some questions about a contest album

Postby bc2005 » Thu Sep 22, 2011 9:08 pm

Perfect!!!

Many thanks... :mrgreen:
bc2005
Posts 30 - 40
Posts 30 - 40
 
Posts: 37
Topics: 10
Joined: Wed Apr 15, 2009 8:00 pm


Return to Support & Administration

Who is online

Users browsing this forum: No registered users and 1 guest