Facebook  Twitter 

SMFHacks.com

+-

SMFHacks.com

+- User Information

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

+- Forum Stats

Members
Total Members: 4257
Latest: Alex998.
New This Month: 1
New This Week: 0
New Today: 0
Stats
Total Posts: 43293
Total Topics: 7522
Most Online Today: 96
Most Online Ever: 2482
(April 09, 2011, 07:02:45 pm)
Users Online
Members: 0
Guests: 82
Total: 82

Author Topic: Admin Store permissions  (Read 6720 times)

0 Members and 1 Guest are viewing this topic.

Offline CWVRV

  • Full Member
  • ***
  • Posts: 102
    • View Profile
    • Classic Winnebagos & Vintage RVs!
Admin Store permissions
« on: July 28, 2009, 08:52:22 pm »
I gave another member the ability to "admin store".  However, the permissions are very limited:  adding/editing category/item.

I expected them to be able to have full ability to admin the store.  Like, see use ALL the settings available to the site Administraor, meaning, all the functions listed in the AdminSettings2() array.

I can't figure out how to add these permissions to "admin store" member group permission option.

Thanks!
« Last Edit: August 06, 2009, 11:08:51 pm by ~ Phåråoh ~ »

Offline SMFHacks

  • Administrator
  • Hero Member
  • *****
  • Posts: 16451
    • View Profile
Re: Admin Store permissions
« Reply #1 on: July 29, 2009, 09:43:05 pm »
They should be able to access the settings link from the main store page to access the store settings.
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 CWVRV

  • Full Member
  • ***
  • Posts: 102
    • View Profile
    • Classic Winnebagos & Vintage RVs!
Re: Admin Store permissions
« Reply #2 on: July 29, 2009, 10:46:24 pm »
Correct, they should.  And they can access them through the settings link.  However, the only options they have is to add and edit categories, etc.  They don't have the configure store permissions, so they can't see the orders pending, the logs, the inventory, etc.

When they click on the settings, they are taken to the forum admin area with no links to the store at all.

I can provide a test entity via pm so you can see it if you wish.

« Last Edit: July 29, 2009, 10:48:54 pm by ~ Phåråoh ~ »

Offline CWVRV

  • Full Member
  • ***
  • Posts: 102
    • View Profile
    • Classic Winnebagos & Vintage RVs!
Re: Admin Store permissions
« Reply #3 on: August 06, 2009, 07:39:01 am »
Still needing assistance.  Thanks.

Offline SMFHacks

  • Administrator
  • Hero Member
  • *****
  • Posts: 16451
    • View Profile
Re: Admin Store permissions
« Reply #4 on: August 06, 2009, 06:40:32 pm »
What version of SMF is being used? Probably can give you should code that you can test.
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 CWVRV

  • Full Member
  • ***
  • Posts: 102
    • View Profile
    • Classic Winnebagos & Vintage RVs!
Re: Admin Store permissions
« Reply #5 on: August 06, 2009, 08:32:48 pm »
I apologize for that oversight.  Basic info, how could I have forgotten?  v2.0 RC1.2

Thank you.

Offline SMFHacks

  • Administrator
  • Hero Member
  • *****
  • Posts: 16451
    • View Profile
Re: Admin Store permissions
« Reply #6 on: August 06, 2009, 08:41:24 pm »
Open Sources/Admin.php
Find
Code: [Select]
'search' => array(
'function' => 'AdminSearch',
'permission' => array('admin_forum'),
'select' => 'index'
),]
Add After
Code: [Select]
'store' => array(
'label' => $txt['smfstore_admin'],
'file' => 'Store2.php',
'function' => 'StoreMain',
'permission' => array('smfstore_manage'),
'custom_url' => $scripturl . '?action=admin;area=store;sa=admin;sesc=' . $sc,
'icon' => 'server.gif',

),

This should add a Store Configuration link under the main dropdown or main section for the forum in SMF.
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 CWVRV

  • Full Member
  • ***
  • Posts: 102
    • View Profile
    • Classic Winnebagos & Vintage RVs!
Re: Admin Store permissions
« Reply #7 on: August 06, 2009, 11:09:40 pm »
Perfect!  Thank you so much for your assistance.

 

Related Topics

  Subject / Started by Replies Last post
12 Replies
11608 Views
Last post November 23, 2006, 04:03:50 am
by justafishermen
1 Replies
5364 Views
Last post February 19, 2009, 12:28:51 pm
by NightBird
0 Replies
5510 Views
Last post March 17, 2007, 09:42:39 pm
by ikick
0 Replies
3068 Views
Last post September 02, 2007, 11:08:37 pm
by Nena
10 Replies
14191 Views
Last post January 24, 2008, 07:23:08 pm
by SMFHacks

+- Recent Topics

Rate own images by fvlog19
April 11, 2024, 10:56:53 am

Tidy Child Boards on 2.1.4 by SMFHacks
April 04, 2024, 03:54:12 pm

Problems SMF 2.0.19 > 2.1.4 SMF Gallery Pro - Recents Images to overall header by Michel68
March 30, 2024, 12:41:08 pm

Can't DROP 'id_member'; check that column/key exists Datei: by SMFHacks
March 30, 2024, 11:58:20 am

No thumbnails on new uploads by Tonyvic
March 29, 2024, 06:26:18 am

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

Powered by EzPortal