Zen Cart Logo
Forums / All Other Contributions/Addons / Admin Profiles (for v1.3.x only!) Support Thread

Admin Profiles (for v1.3.x only!) Support Thread

Views: 334,186

Results 201 to 220 of 1,242
15 Mar 2007, 13:00
#201
kitcorsa avatar

kitcorsa

Totally Zenned

Join Date:
Feb 2007
Posts:
1,724
Plugin Contributions:
0

Admin Profiles (for v1.3.x only!) Support Thread

cant get this to work at all.

i have a server with fast hosts and i have uploaded all the files as said in the installing read me file, i have uploaded the sql file, and run the quiry, this said 204 done.

now when i go to the admin section is doesn't show the options for the admin.

i have ran this on a local sever on my pc and that worked perfectly fine!

any help?

also just to add this is a fress install with no other mods at all. the only mods i have mad is i have removed the htaccess file in the adim incleds file as it was stopping images and style sheets.

15 Mar 2007, 13:12
#202
kitcorsa avatar

kitcorsa

Totally Zenned

Join Date:
Feb 2007
Posts:
1,724
Plugin Contributions:
0

Re: Admin Profiles (for v1.3.x only!) Support Thread

basically my admin hasn't changed at all!!!!!

15 Mar 2007, 14:03
#203
kuroi avatar

kuroi

Totally Zenned

Join Date:
Apr 2006
Location:
London, UK
Posts:
10,475
Plugin Contributions:
11

Re: Admin Profiles (for v1.3.x only!) Support Thread

austy25:

This is awesome thank you so much for this contribution. I just have a question. I run a digital scrapbusiness and I'd like my designers to be able to upload their own products and write their own description and for example cubecart - has options to make certain things delete protected and they can only write but not edit anything. I was wondering if there is a mod for that as well ???
Thank you so much.There's no mod like that of which I am aware. It's also interestingly different to the normal request in this general area, i.e. to restrict certain contributors to only being able to edit "their own" products. Could you tell me more about what you would want to delete-protect.

15 Mar 2007, 14:06
#204
kuroi avatar

kuroi

Totally Zenned

Join Date:
Apr 2006
Location:
London, UK
Posts:
10,475
Plugin Contributions:
11

Re: Admin Profiles (for v1.3.x only!) Support Thread

kitcorsa:

cant get this to work at all.

i have a server with fast hosts and i have uploaded all the files as said in the installing read me file, i have uploaded the sql file, and run the quiry, this said 204 done.

now when i go to the admin section is doesn't show the options for the admin.

i have ran this on a local sever on my pc and that worked perfectly fine!

any help?

also just to add this is a fress install with no other mods at all. the only mods i have mad is i have removed the htaccess file in the adim incleds file as it was stopping images and style sheets.How many Admin accounts have you set up? And what is your Admin account ID number?

15 Mar 2007, 18:29
#205
austy25 avatar

austy25

Zen Follower

Join Date:
Feb 2006
Posts:
248
Plugin Contributions:
0

Re: Admin Profiles (for v1.3.x only!) Support Thread

kuroi:

There's no mod like that of which I am aware. It's also interestingly different to the normal request in this general area, i.e. to restrict certain contributors to only being able to edit "their own" products. Could you tell me more about what you would want to delete-protect.

Well if I set it up to where each user has access to the categories section - they see the X as well so they "could" theoretiacally delete some categories along with the products in that category ... so I was just wondering if there is like something where they can only add their products but they don't see any of the edit or delete buttons ... which is no biggie this works great for now :)
Thank you :)

16 Mar 2007, 13:46
#206
kitcorsa avatar

kitcorsa

Totally Zenned

Join Date:
Feb 2007
Posts:
1,724
Plugin Contributions:
0

Re: Admin Profiles (for v1.3.x only!) Support Thread

kuroi:

How many Admin accounts have you set up? And what is your Admin account ID number?

there are 2 admin account, i am admin number one, id1, the other admin basically just want access to be able to add products and confirm checkouts.

but basically there the second admin has full access at mo and there is little p button to edit the privalages,

works fine on my local server and its fantastic but on the real server not running, no errors on the error report log files it just as if its not loaded the mod at all, even thought all files are uploaded and i have installed the sql thought the tool pannel on the site and the error box said it was uploaded and installed.

i have even copyed the code and pasted in the sql tool online and that not worked.

is there a direct link using a http:// url to the edit privalages page for a user/admin???

16 Mar 2007, 14:02
#207
kuroi avatar

kuroi

Totally Zenned

Join Date:
Apr 2006
Location:
London, UK
Posts:
10,475
Plugin Contributions:
11

Re: Admin Profiles (for v1.3.x only!) Support Thread

kitcorsa:

there are 2 admin account, i am admin number one, id1, the other admin basically just want access to be able to add products and confirm checkouts.

but basically there the second admin has full access at mo and there is little p button to edit the privalages,This is strange, as the SQL gives complete access to the user with ID 1 and none to any other users until the first user grants permissions. So I was wondering whether you might actually have ID 2 or later, and no permissions set up.

kitcorsa:

works fine on my local server and its fantastic but on the real server not running, maybe the server .htaccess is blocking the new style sheet maybe but there is nothing coming up on the log files.This is very unlikely as you would see evidence of it such as an internal server error if it didn't like it or unstyled content if it didn't care.

kitcorsa:

is there a direct link using a http:// url to the edit privalages page for a user/admin???Very unlikely as it wouldn't be much of an access control system if you could bypass it that easily, but worth a try just to see the result. If you type https://www.yourstorename.com/admin/admin_control.php?adminID=1 you should get a screen telling you that permission has been denied, whether you are logged in or not. If you get anything different in either of those situations, it would give us a big clue.

Otherwise can you take a peek into your database, and specifically your admin_visible_headers table, and tell me which header_id/admin_id pairs you see there?

16 Mar 2007, 15:05
#208
kitcorsa avatar

kitcorsa

Totally Zenned

Join Date:
Feb 2007
Posts:
1,724
Plugin Contributions:
0

Re: Admin Profiles (for v1.3.x only!) Support Thread

kuroi:

This is strange, as the SQL gives complete access to the user with ID 1 and none to any other users until the first user grants permissions. So I was wondering whether you might actually have ID 2 or later, and no permissions set up.

This is very unlikely as you would see evidence of it such as an internal server error if it didn't like it or unstyled content if it didn't care.

Very unlikely as it wouldn't be much of an access control system if you could bypass it that easily, but worth a try just to see the result. If you type www.yourstorename.com/admin/admin_control.php?adminID=1 you should get a screen telling you that permission has been denied, whether you are logged in or not. If you get anything different in either of those situations, it would give us a big clue.

Otherwise can you take a peek into your database, and specifically your admin_visible_headers table, and tell me which header_id/admin_id pairs you see there?

all i get is a page can't be displayed screen on the link with my store name etc as if the file isn't there, dont even get the security pop up.

i cant look at my database as i am using fasthost there is not myphp software installed on the server, only a mysql interface for setting up a database name and user name etc

i have myphp on my computer can i loginto it from my pc using the user name etc?????

do you think it could be to do with the setting on say the fasthosts htaccess i have set up?? i will try urning that off and see if that fixes it.

16 Mar 2007, 15:19
#209
kitcorsa avatar

kitcorsa

Totally Zenned

Join Date:
Feb 2007
Posts:
1,724
Plugin Contributions:
0

Re: Admin Profiles (for v1.3.x only!) Support Thread

Belive i have sorted the problem and have got it working, sorry for an inconveniance,

think it was due to a currupted file as i got it working by downloading a fresh copy of the admin section and uploading all the files again.

thanks for your help

16 Mar 2007, 15:24
#210
kuroi avatar

kuroi

Totally Zenned

Join Date:
Apr 2006
Location:
London, UK
Posts:
10,475
Plugin Contributions:
11

Re: Admin Profiles (for v1.3.x only!) Support Thread

Phew. That's a relief. I've spent the last 10 minutes trying to login to a fast hosts account to try to find a way into the database in their structure, only for it keep crashing my browser each time. Rather glad I can abandon that. I think the account's not going to last much longer either.

16 Mar 2007, 15:27
#211
kitcorsa avatar

kitcorsa

Totally Zenned

Join Date:
Feb 2007
Posts:
1,724
Plugin Contributions:
0

Re: Admin Profiles (for v1.3.x only!) Support Thread

thanks for your help, im happy now, i can now pass the site onto my parter and let him get the products online why i get on and do other things, like watch commic releaf

19 Mar 2007, 11:30
#212
titangen avatar

titangen

Zen Follower

Join Date:
May 2005
Location:
Brussels belgium
Posts:
177
Plugin Contributions:
0

Re: Admin Profiles (for v1.3.x only!) Support Thread

Hi,

it's maybe beter to use a system like layout_controller.php to give access to the differents modules ?

:lookaroun

Greetz,

Chris

19 Mar 2007, 13:36
#213
kuroi avatar

kuroi

Totally Zenned

Join Date:
Apr 2006
Location:
London, UK
Posts:
10,475
Plugin Contributions:
11

Re: Admin Profiles (for v1.3.x only!) Support Thread

titangen:

it's maybe beter to use a system like layout_controller.php to give access to the differents modules ?If you mean that Admin access control would be best integrated into the Admin rather than bolted on the side, then I agree. If you're saying that you prefer all that clicking necessary to set a single sidebox, then ... errr .... why?

19 Mar 2007, 13:41
#214
hemma avatar

hemma

New Zenner

Join Date:
Jul 2006
Posts:
37
Plugin Contributions:
0

Re: Admin Profiles (for v1.3.x only!) Support Thread

gothstone:

I'm rebuilding my site with zencart 1.3.7 and useing admin profiles 1.0.6. All has been working well untill I added in SEO URL's 3.0.0 beta 1 . It will not show up in admin, and in the admin profiles screen it has a check box. But if I check the box and hit save changes it reverts to unchecked. I tried manualy adding 106, 1 to the admin allowed pages table, and that fixed the problem, and allows me to use SEO urls. However if I go back to admin profiles and make any change, I loose access again. I think this is related to the fact that there is no admin boxes file for this mod. Any suggestions? I will cross post this in the SEO URL's topic since it is a direct confilict between the mods. Thanks for any help!

Hi,
I am having exactly the same problem, and adding 106 does not seem to make the menu reappear as well...

Thanks

30 Mar 2007, 05:02
#215
rsprinkel avatar

rsprinkel

New Zenner

Join Date:
Feb 2007
Posts:
73
Plugin Contributions:
0

Re: Admin Profiles (for v1.3.x only!) Support Thread

Hi all,

Ok I have added this mod to my site, ran the sql file and created the tables. Now when I log in to the admin section I get this error:

1146 Table 'diecast_sales.zen_admin_visible_headers' doesn't exist
in:
[select admin_id from zen_admin_visible_headers where header_id = '1']
If you were entering information, press the BACK button in your browser and re-check the information you had entered to be sure you left no blank fields.

Any ideas, I am Admin_ID1 and everything seems to be in place as far as the tables are concerned.

Please HELP.

Thanks much in advance.

RSprinkel

30 Mar 2007, 05:31
#216
rsprinkel avatar

rsprinkel

New Zenner

Join Date:
Feb 2007
Posts:
73
Plugin Contributions:
0

Re: Admin Profiles (for v1.3.x only!) Support Thread

Ok got this fixed. After looking at my tables in the db, I noticed the tables it added did not have the zen_ in front like the others. I added the zen_ and all works ok with the exception I cannot See in the Admin/Tools/Admin Settings anywhere to edit permissions.

I am logged in as Admin 1 and most of the pages are off limits to me.

Anyhelp on this.

Thanks.

30 Mar 2007, 05:45
#217
rsprinkel avatar

rsprinkel

New Zenner

Join Date:
Feb 2007
Posts:
73
Plugin Contributions:
0

Re: Admin Profiles (for v1.3.x only!) Support Thread

Ok Update.

I found that after installing this mod, I had to actually leave the site and close down the browser and login again. Everything works now. Just have alot of Boxes (step 4) to do with all the other mods I have installed it seems as I don't have access to the ones I MAINLY Need access too.

Thanks for this great Mod.

ZENCART Rocks as well as the Contributors!!

02 Apr 2007, 21:02
#218
kuroi avatar

kuroi

Totally Zenned

Join Date:
Apr 2006
Location:
London, UK
Posts:
10,475
Plugin Contributions:
11

Re: Admin Profiles (for v1.3.x only!) Support Thread

Hemma:

I am having exactly the same problemSorry Hemma. For the time Admin Profiles and SEO URLs are not compatible.

02 Apr 2007, 21:05
#219
kuroi avatar

kuroi

Totally Zenned

Join Date:
Apr 2006
Location:
London, UK
Posts:
10,475
Plugin Contributions:
11

Re: Admin Profiles (for v1.3.x only!) Support Thread

RSprinkel:

I found that after installing this mod, I had to actually leave the site and close down the browser and login again.Glad you found a way through this, and quite quickly too from the timestamps on your posts.

The closing and restarting of the browser ends a "session" and starts a fresh one. Can't say I've ever had to do this, but it did prove to be the solution for somebody earlier in this thread too.

11 Apr 2007, 13:53
#220
godspeed27 avatar

godspeed27

Zen Follower

Join Date:
May 2006
Location:
Japan
Posts:
322
Plugin Contributions:
1

Re: Admin Profiles (for v1.3.x only!) Support Thread

can I make sure I am doing this right with the code for the extra boxes:
Say I have super_orders_customers_dhtml.php

The code for this should go from:

<?php
$za_contents[] = array('text' => BOX_CUSTOMERS_SUPER_ORDERS, 'link' => zen_href_link(FILENAME_SUPER_ORDERS, '', 'NONSSL'));
$za_contents[] = array('text' => BOX_CUSTOMERS_SUPER_BATCH_STATUS, 'link' => zen_href_link(FILENAME_SUPER_BATCH_STATUS, '', 'NONSSL'));
$za_contents[] = array('text' => BOX_CUSTOMERS_SUPER_BATCH_FORMS, 'link' => zen_href_link(FILENAME_SUPER_BATCH_FORMS, '', 'NONSSL'));
?>

to:

<?php
  if (!defined('IS_ADMIN_FLAG')) {
   die('Illegal Access');
  }

$za_contents[] = array('text' => BOX_CUSTOMERS_SUPER_ORDERS, 'link' => zen_href_link(FILENAME_SUPER_ORDERS, '', 'NONSSL'));
$za_contents[] = array('text' => BOX_CUSTOMERS_SUPER_BATCH_STATUS, 'link' => zen_href_link(FILENAME_SUPER_BATCH_STATUS, '', 'NONSSL'));
$za_contents[] = array('text' => BOX_CUSTOMERS_SUPER_BATCH_FORMS, 'link' => zen_href_link(FILENAME_SUPER_BATCH_FORMS, '', 'NONSSL'));
  foreach ($options as $key => $value)
  if (page_allowed($value['page'])=='true')
    $za_contents[] = array('text' => $value['box'], 'link' => zen_href_link($value['page'], '', 'NONSSL'));
  ?>