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: 170
Total: 170

Author Topic: Admin Store permissions  (Read 6703 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: 16436
    • 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: 16436
    • 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: 16436
    • 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
11568 Views
Last post November 23, 2006, 04:03:50 am
by justafishermen
1 Replies
5355 Views
Last post February 19, 2009, 12:28:51 pm
by NightBird
0 Replies
5498 Views
Last post March 17, 2007, 09:42:39 pm
by ikick
0 Replies
3062 Views
Last post September 02, 2007, 11:08:37 pm
by Nena
10 Replies
14156 Views
Last post January 24, 2008, 07:23:08 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