SMFHacks.com

SMF Gallery Pro => Support => Topic started by: Wonga on June 01, 2007, 08:24:50 am

Title: Members can't rate photos
Post by: Wonga on June 01, 2007, 08:24:50 am
I uninstalled the lite version and installed the pro version .. I can rate images when logged in as the admin but not as a general member.. I cannot find the option to turn this on and I haven't found anything using the search on this site that has the same problem..

Any info would be appreciated. Thanks
Title: Re: Members can't rate photos
Post by: Renegd98 on June 01, 2007, 09:16:58 am
It is found in the permissions area for member groups.
Title: Re: Members can't rate photos
Post by: Wonga on June 01, 2007, 05:46:42 pm
Thanks, That's where I thought it would be but the option isn't showing up on mine.

See attached image... any ideas?

Title: Re: Members can't rate photos
Post by: SMFHacks on June 01, 2007, 06:11:12 pm
Usally occurs if you do not unistall the lite version first then install pro.

If you attach your Sources/ManagePermissions.php I can fix that issue.
Title: Re: Members can't rate photos
Post by: Wonga on June 01, 2007, 06:21:43 pm
Interesting as i did uninstall the lite version as per instructions..

See attached requested file.. Thanks
Title: Re: Members can't rate photos
Post by: SMFHacks on June 01, 2007, 07:02:11 pm
Permissions are there you are just missing the text
Copy these text strings to every modifications.*.php file in the themes/default/languages folder

Code: [Select]
//Begin SMF Gallery Text Strings
$txt['smfgallery_menu'] = 'Gallery';
$txt['smfgallery_admin'] = 'Gallery Configuration';

//Permissions
$txt['permissiongroup_smfgallery'] = 'SMF Gallery';

$txt['permissionname_smfgallery_view'] = 'View SMF Gallery';
$txt['permissionhelp_smfgallery_view'] = 'Allows the user to view the Gallery';
$txt['cannot_smfgallery_view'] = 'You are not allowed to view the Gallery';

$txt['permissionname_smfgallery_add'] = 'Add Picture';
$txt['permissionhelp_smfgallery_add'] = 'Allows the user to add a picture.';
$txt['cannot_smfgallery_add'] = 'You are not allowed to add a picture.';

$txt['permissionname_smfgallery_bulk'] = 'Bulk Uploads';
$txt['permissionhelp_smfgallery_bulk'] = 'Allows the user to use the bulk upload feature.';
$txt['cannot_smfgallery_bulk'] = 'You are not allowed to bulk upload.';

$txt['permissionname_smfgallery_edit'] = 'Edit own Picture';
$txt['permissionhelp_smfgallery_edit'] = 'Allows the user to edit their own picture.';
$txt['cannot_smfgallery_edit'] = 'You are not allowed to edit that picture.';

$txt['permissionname_smfgallery_delete'] = 'Delete own Picture';
$txt['permissionhelp_smfgallery_delete'] = 'Allows the user to delete their own picture.';
$txt['cannot_smfgallery_delete'] = 'You are not allowed to delete that picture.';

$txt['permissionname_smfgallery_ratepic'] = 'Rate Picture';
$txt['permissionhelp_smfgallery_ratepic'] = 'Allows the user to rate a picture.';
$txt['cannot_smfgallery_ratepic'] = 'You are not allowed to rate that picture.';

$txt['permissionname_smfgallery_editcomment'] = 'Edit own Comment';
$txt['permissionhelp_smfgallery_editcomment'] = 'Allows the user to edit their own comments.';
$txt['cannot_smfgallery_editcomment'] = 'You are not allowed to edit that comment.';

$txt['permissionname_smfgallery_comment'] = 'Leave Comments';
$txt['permissionhelp_smfgallery_comment'] = 'Allows the user to leave comments on a picture.';
$txt['cannot_smfgallery_comment'] = 'You are not allowed to leave comments.';

$txt['permissionname_smfgallery_report'] = 'Report Pictures/Comments';
$txt['permissionhelp_smfgallery_report'] = 'Allows the user to report pictures and comments.';
$txt['cannot_smfgallery_report'] = 'You are not allowed to report content.';

$txt['permissionname_smfgallery_autocomment'] = 'Auto Approve Comments';
$txt['permissionhelp_smfgallery_autocomment'] = 'Comments do not need to wait for approval.';

$txt['permissionname_smfgallery_autoapprove'] = 'Auto Approve Pictures';
$txt['permissionhelp_smfgallery_autoapprove'] = 'Pictures do not need to wait for approval.';

$txt['permissionname_smfgallery_usergallery'] = 'Personal Gallery';
$txt['permissionhelp_smfgallery_usergallery'] = 'Allows the user to have a personal gallery';
$txt['cannot_smfgallery_usergallery'] = 'You are not allowed to have a gallery.';

$txt['permissionname_smfgallery_manage'] = 'Admin Gallery';
$txt['permissionhelp_smfgallery_manage'] = 'Allows the user to add/delete/edit all catagories. Delete Comments, Delete Pictures, Approve Pictures';
$txt['cannot_smfgallery_manage'] = 'You are not allowed to manage gallery.';

//END SMF Gallery Text Strings
Title: Re: Members can't rate photos
Post by: Wonga on June 01, 2007, 07:12:34 pm
Thanks SMFHacks,
the problem file was the modifications.english.php file...

all working now.. cheers ;)