Facebook  Twitter 

SMFHacks.com

+-

SMFHacks.com

+- User Information

Welcome, Guest.
Please login or register.
 
 
 
Forgot your password?

+- Forum Stats

Members
Total Members: 4200
Latest: [chrisB]
New This Month: 4
New This Week: 1
New Today: 1
Stats
Total Posts: 42599
Total Topics: 7433
Most Online Today: 103
Most Online Ever: 2482
(April 09, 2011, 07:02:45 pm)
Users Online
Members: 2
Guests: 48
Total: 50

Author Topic: No Permissions box  (Read 5185 times)

0 Members and 1 Guest are viewing this topic.

Offline Christina

  • Member
  • *
  • Posts: 5
    • View Profile
No Permissions box
« on: May 02, 2007, 06:52:15 am »
Hi

I have successfully installed gallery pro but have empty tables in the admin / permissions panel of SMF forums.

Could someone please advise me on how to fix this?  Thanks.

Offline SMFHacks

  • Administrator
  • Hero Member
  • *****
  • Posts: 16155
    • View Profile
Re: No Permissions box
« Reply #1 on: May 02, 2007, 07:06:55 am »
You will need to copy the code below to all the /themes/default/languages/modifications.*.php files  before the ?> in each file
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
Get your Forum Ranked! at https://www.forumrankings.net - find out how your forum compares with others!

Like What I do? Support me at https://www.patreon.com/vbgamer45/

Offline Christina

  • Member
  • *
  • Posts: 5
    • View Profile
Re: No Permissions box
« Reply #2 on: May 02, 2007, 07:23:18 am »
Thanks - fantastically fast response and it worked!

Now I have about 6 links to gallery in the default theme, luckily I am not using that other than during installs lol.

Offline SMFHacks

  • Administrator
  • Hero Member
  • *****
  • Posts: 16155
    • View Profile
Re: No Permissions box
« Reply #3 on: May 02, 2007, 07:30:26 am »
That sounds like the mod was installed a couple times. Gallery menu links are located in index.template.php  just remove the duplicate Gallery menu button calls.
Get your Forum Ranked! at https://www.forumrankings.net - find out how your forum compares with others!

Like What I do? Support me at https://www.patreon.com/vbgamer45/

Offline Christina

  • Member
  • *
  • Posts: 5
    • View Profile
Re: No Permissions box
« Reply #4 on: May 12, 2007, 09:07:11 pm »
Back again, sorry to be a pain.  Previous to this when I had the box of permissions up I didn't realise it was missing a few fields until I just followed the documentation in configuring the gallery. This is a screenshot of the permissions tabs, the code in modifications.english.php is exactly as posted.

Is there anything else I need to modify?  I did try a clean install on a clean SMF forum but had the same issues.

Thanks

Offline Christina

  • Member
  • *
  • Posts: 5
    • View Profile
Re: No Permissions box [Solved]
« Reply #5 on: May 12, 2007, 10:13:36 pm »
I ended up uninstalling the mod, with errors. I edited each file that came up as an error to take out all gallery references, deleted the gallery files left on the server and reinstalled. Still had a modifications.english.php error so I readded the code mentioned above and voila, all is good and I am able to add user gallerys.

Thanks

 

Related Topics

  Subject / Started by Replies Last post
5 Replies
5976 Views
Last post November 30, 2006, 09:18:00 am
by SMFHacks
6 Replies
6940 Views
Last post June 18, 2007, 06:43:27 pm
by SMFHacks
2 Replies
4978 Views
Last post August 05, 2007, 09:03:27 pm
by SMFHacks
3 Replies
5811 Views
Last post September 11, 2007, 10:44:29 pm
by Wonga
5 Replies
4296 Views
Last post February 23, 2008, 05:04:58 pm
by SMFHacks

+- Recent Topics

Errors with SMF2WPBridge by [chrisB]
Today at 10:16:59 am

Undefined index: id by SMFHacks
Today at 09:41:30 am

Permissions query by davejo
Today at 01:31:46 am

"Notify all store admins of item purchase" Not Working in SMF 2.1.2 or 2.1.3 by Michael Vail
Today at 01:02:34 am

Additional Recommendations for SMF Store by Michael Vail
November 26, 2022, 12:49:58 pm

SMF Store 5.0 Beta Errors - Trying to access array offset on value of type null by Michael Vail
November 26, 2022, 12:07:42 pm

Modification: Subcategories total in main gallery view by VisiGod
November 26, 2022, 11:27:34 am

Change log for Downloads Pro 6.13 and 6.14 by Nicole
November 20, 2022, 08:24:34 am

Release date? by SMFHacks
November 20, 2022, 08:09:10 am

Can't install due to missing file? by SMFHacks
November 18, 2022, 06:55:45 pm

Powered by EzPortal