Facebook  Twitter 

SMFHacks.com

+-

SMFHacks.com

+- User Information

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

+- Forum Stats

Members
Total Members: 4255
Latest: andreios
New This Month: 3
New This Week: 1
New Today: 0
Stats
Total Posts: 43259
Total Topics: 7518
Most Online Today: 177
Most Online Ever: 2482
(April 09, 2011, 07:02:45 pm)
Users Online
Members: 0
Guests: 185
Total: 185

Author Topic: No Permissions box  (Read 5484 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: 16436
    • 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: 16436
    • 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
6191 Views
Last post November 30, 2006, 09:18:00 am
by SMFHacks
6 Replies
7432 Views
Last post June 18, 2007, 06:43:27 pm
by SMFHacks
2 Replies
5700 Views
Last post August 05, 2007, 09:03:27 pm
by SMFHacks
3 Replies
6450 Views
Last post September 11, 2007, 10:44:29 pm
by Wonga
5 Replies
4859 Views
Last post February 23, 2008, 05:04:58 pm
by SMFHacks

+- Recent Topics

No thumbnails on new uploads by SMFHacks
March 27, 2024, 02:10:41 pm

Display the Contact Page for guests by SMFHacks
March 27, 2024, 10:55:43 am

is it possible to add support for odysee.com by fvlog19
March 21, 2024, 08:47:51 am

Request for admin notification by davejo
March 10, 2024, 01:31:59 am

I need help with torrent upload by Ineedsmfhelp
March 09, 2024, 10:01:13 pm

an idea for new mod (( content type with different display )) by SMFHacks
February 27, 2024, 01:36:27 pm

[Mod] RSS Feed Poster by SMFHacks
February 27, 2024, 11:57:18 am

find duplicate pictures by fvlog19
February 14, 2024, 02:22:40 pm

Error uploading video. by SMFHacks
February 08, 2024, 02:04:16 pm

Gallery icon as last added image by fvlog19
February 01, 2024, 01:04:56 pm

Powered by EzPortal