Facebook  Twitter 

SMFHacks.com

+- +-

SMFHacks.com

+- User Information

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

+- Forum Stats

Members
Total Members: 12389
Latest: GhostHunting
New This Month: 6
New This Week: 1
New Today: 0
Stats
Total Posts: 40341
Total Topics: 7102
Most Online Today: 141
Most Online Ever: 2482
(April 09, 2011, 07:02:45 pm)
Users Online
Members: 3
Guests: 41
Total: 44

Author Topic: Admin Store permissions  (Read 5865 times)

0 Members and 1 Guest are viewing this topic.

Offline CWVRV

  • SMF Gallery Pro Customer
  • Full Member
  • *****
  • Posts: 100
    • 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: 15163
    • 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

  • SMF Gallery Pro Customer
  • Full Member
  • *****
  • Posts: 100
    • 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

  • SMF Gallery Pro Customer
  • Full Member
  • *****
  • Posts: 100
    • 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: 15163
    • 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

  • SMF Gallery Pro Customer
  • Full Member
  • *****
  • Posts: 100
    • 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: 15163
    • 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

  • SMF Gallery Pro Customer
  • Full Member
  • *****
  • Posts: 100
    • 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
9707 Views
Last post November 23, 2006, 04:03:50 am
by justafishermen
0 Replies
2335 Views
Last post September 02, 2007, 11:08:37 pm
by Nena
7 Replies
6382 Views
Last post July 06, 2008, 05:59:38 pm
by rgsknr
3 Replies
5603 Views
Last post October 12, 2008, 08:24:29 am
by SMFHacks
0 Replies
2439 Views
Last post December 10, 2008, 05:59:41 am
by Bigjim

+- Recent Topics

Attachment images Upsidedown or Sideways by Shades
Today at 01:41:33 pm

Installing Awesome Post Ratings on non-default theme by Hatshepsut
Today at 06:54:31 am

Listings page image not showing by Shades
September 23, 2020, 03:05:06 pm

prettyurls - TroubleShooting.wiki by SMFHacks
September 22, 2020, 04:24:47 pm

Quality of images after import by SMFHacks
September 05, 2020, 10:21:44 am

How do I download gallery images? by CWVRV
August 30, 2020, 11:50:07 pm

Deleting Empty Galleries by SMFHacks
August 30, 2020, 11:43:32 am

PHP error by davejo
August 25, 2020, 07:35:13 am

Permissions to list ads and buy items by CWVRV
August 21, 2020, 05:19:45 pm

Doubt with download permissions. by Rock Lee
August 20, 2020, 08:23:24 pm

Powered by EzPortal