News:

You may pay someone to create your store, or you visit our seminar and become a professional yourself with the silver certification

Main Menu

Live Update: THEN (Access restricted to Vendor and Administrator only)

Started by PRO, August 29, 2011, 14:53:41 PM

Previous topic - Next topic

pindemon

Quote from: BanquetTables.pro on September 19, 2011, 14:53:04 PM
LOOK in your joomla user manager, and see if YOU have 2 users there, and set the other one to superadmin

I have 2 users:

1 - Super User that is assigned to ALL the groups (Public - Manager - Administrator - Vendor - Registered - Author - Editor - Publisher - Shop Suppliers (Example) - Customer Group (Example) - Super Users)

2 - pindemon

If I set "pindemon" to super user it doesn't work

EDIT ----

I'm trying various combinations but still nothing... there's no way I can login

EDIT 2 ----

I deleted user "pindemon", created a new one, set it to super user and still nothing...

I'm unable to login in virtuemart, any other ideas?

Milbo

I dont have any idea, because we removed it, afaik already in the G version.

When you are superadmin it should work. You may go in the Backend to admin.virtuemart.php and comment the lines 32- 35. Maybe with stars, like I did here:
/*if(!class_exists('Permissions')) require(JPATH_VM_ADMINISTRATOR.DS.'helpers'.DS.'permissions.php');
if(!Permissions::getInstance()->check('admin','storeowner')){
die( 'Access restricted to Vendor and Administrator only' );
}*/
Should I fix your bug, please support the VirtueMart project and become a member
______________________________________
Extensions approved by the core team: http://extensions.virtuemart.net/

pindemon

Quote from: Milbo on September 19, 2011, 20:15:53 PM
I dont have any idea, because we removed it, afaik already in the G version.

When you are superadmin it should work. You may go in the Backend to admin.virtuemart.php and comment the lines 32- 35. Maybe with stars, like I did here:
/*if(!class_exists('Permissions')) require(JPATH_VM_ADMINISTRATOR.DS.'helpers'.DS.'permissions.php');
if(!Permissions::getInstance()->check('admin','storeowner')){
die( 'Access restricted to Vendor and Administrator only' );
}*/


Thank you very much! That did it... updating now to G.