Facebook 

SMFHacks.com

+-

SMFHacks.com

+- User Information

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

+- Forum Stats

Members
Total Members: 4301
Latest: Bolon377
New This Month: 9
New This Week: 4
New Today: 1
Stats
Total Posts: 43801
Total Topics: 7605
Most Online Today: 561
Most Online Ever: 2482
(April 09, 2011, 07:02:45 pm)
Users Online
Members: 1
Guests: 51
Total: 52

Author Topic: Admin Store permissions  (Read 6919 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: 16677
    • 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: 16677
    • 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: 16677
    • 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
12174 Views
Last post November 23, 2006, 04:03:50 am
by justafishermen
1 Replies
5505 Views
Last post February 19, 2009, 12:28:51 pm
by NightBird
0 Replies
5666 Views
Last post March 17, 2007, 09:42:39 pm
by ikick
0 Replies
3195 Views
Last post September 02, 2007, 11:08:37 pm
by Nena
10 Replies
14735 Views
Last post January 24, 2008, 07:23:08 pm
by SMFHacks

+- Recent Topics

A day? by davejo
June 11, 2025, 04:14:35 pm

Dual 'Upload Url' by davejo
June 06, 2025, 04:27:45 pm

Automatic Sorting of Categories by Kiwi
June 03, 2025, 10:32:32 pm

[Mod]Cloudflare Turnstile for SMF by SMFHacks
May 08, 2025, 10:08:43 am

Disable "Notify me of Comments feature" by Kiwi
May 08, 2025, 02:04:16 am

Trying to access array offset on null by Michel68
May 05, 2025, 08:47:34 am

Default [Additional] Membergroups upon Registration by SMFHacks
April 30, 2025, 10:22:52 am

Sorted FTP Import Directory by SMFHacks
April 25, 2025, 05:11:22 am

Search results items per page? by SMFHacks
April 18, 2025, 04:12:23 pm

Suggestions and request by Senkusha
April 03, 2025, 02:30:43 pm

Powered by EzPortal