Facebook  Twitter 

SMFHacks.com

+-

SMFHacks.com

+- User Information

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

+- Forum Stats

Members
Total Members: 4219
Latest: Toddie
New This Month: 2
New This Week: 0
New Today: 0
Stats
Total Posts: 42850
Total Topics: 7463
Most Online Today: 92
Most Online Ever: 2482
(April 09, 2011, 07:02:45 pm)
Users Online
Members: 0
Guests: 27
Total: 27

Author Topic: No Permissions box  (Read 5281 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: 16256
    • 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: 16256
    • 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
6025 Views
Last post November 30, 2006, 09:18:00 am
by SMFHacks
6 Replies
7131 Views
Last post June 18, 2007, 06:43:27 pm
by SMFHacks
2 Replies
5047 Views
Last post August 05, 2007, 09:03:27 pm
by SMFHacks
3 Replies
5876 Views
Last post September 11, 2007, 10:44:29 pm
by Wonga
5 Replies
4331 Views
Last post February 23, 2008, 05:04:58 pm
by SMFHacks

+- Recent Topics

Question on Completed Listing & Reserve Price by SMFHacks
Today at 01:43:19 pm

[Mod]GDPR Helper by Nicole
May 29, 2023, 11:58:49 pm

RSS Feed Poster Database Error by SMFHacks
May 22, 2023, 06:26:18 pm

Errors With Older Version. by Ken.
May 09, 2023, 05:35:40 pm

Pretty Urls SEO Pro by SMFHacks
May 06, 2023, 03:30:11 pm

New Post Image Upload Error by Mike66
April 28, 2023, 07:30:28 am

Copyright Removal Key by SMFHacks
April 03, 2023, 02:44:28 pm

Converting from Aeva Media by sudhakar
April 02, 2023, 11:09:54 am

Using SMF's Built-in Search Algorithm by shuban
March 27, 2023, 09:15:10 am

Permissions query by davejo
March 26, 2023, 04:43:48 am

Powered by EzPortal