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,214

Results 481 to 500 of 1,242
26 Mar 2008, 7:01 PM
#481
andyii avatar

andyii

Zen Follower

Join Date:
Mar 2007
Posts:
153
Plugin Contributions:
0

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

got it working, was missing a couple files in the user tracking mod......

AndyII:

scratch that last post......

on the user_tracking_tools_dhtml.php,
I get an error after uploading and then accessing admin

28 Mar 2008, 4:03 AM
#482
dashizna avatar

dashizna

Zen Follower

Join Date:
Mar 2006
Posts:
424
Plugin Contributions:
0

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

Ok i get a weird one..

When i go into veiw the tracking for the users and i click on Veiw sessions it makes me a different user and restricts my access and it doesn't seem to matter how i try it.. it always changes me to a different user..

How do you stop this?

28 Mar 2008, 9:29 AM
#483
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

vitalwares:

Hi,

I am having a problem with th 3rd party mods, if I give the permission once and then later uncheck it the third party mods do not disappear from the menu, they donot allow the user to make changes but still appear in the menu as a list item, this happens only with the third party mods, not with the others.

Also I have made the file changes for 1.38a and rechecked my changes to the box files it all seems to as it should be.

Please help...I've checked this on a couple of live sites running Admin Profiles and they work fine. Can you give me some more clues ... how did you add the third party mods - originally via box files or auto detection? Do they appear once or twice in the third party mods area? Do they appear in any other listing? Are these mods which would normally appear under two headings (e.g. tools and configuration)? Which mods specifically are we talking about? Does this affect all third party mods, or just some of them? Can you give an example of the text that appears for an affected third party mod (or a screenshot of that section)?

28 Mar 2008, 9:42 AM
#484
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

Dashizna:

Ok i get a weird one..

When i go into veiw the tracking for the users and i click on Veiw sessions it makes me a different user and restricts my access and it doesn't seem to matter how i try it.. it always changes me to a different user..

How do you stop this?Admin Profiles doesn't change users, but because it applies different access rules to different users, is good at highlighting these issues when they do arise.

There was a problem in earlier versions of Zen Cart (you don't say which version you are using) but which was fixed some time ago (there are posts about this very early in this thread). Or it could be that User Tracking is causing the problem - I've never used it so I wouldn't know. Either way, I'm afraid that Admin Profiles is merely highlighting the problem and is very unlikely to be the source of the solution.

28 Mar 2008, 3:52 PM
#485
dashizna avatar

dashizna

Zen Follower

Join Date:
Mar 2006
Posts:
424
Plugin Contributions:
0

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

how did you add the third party mods - originally via box files or auto detection?
****I used the Box files that came with the User Tracking and just over wrote mine.

Do they appear once or twice in the third party mods area?
****Not sure what you mean??

Do they appear in any other listing?
****Not Sure what you mean??

Are these mods which would normally appear under two headings (e.g. tools and configuration)?
****Yes that is where they are at. BUt there is 2 User tracking Configs one is in tools and the other is in configuration???

Which mods specifically are we talking about?
****user Tracking were you can veiw the sessions..

Does this affect all third party mods, or just some of them?
*****Not Sure what you mean??

Can you give an example of the text that appears for an affected third party mod (or a screenshot of that section)?
*****Ok when i am logged in as the Admin and i go to user 1 and click on the Veiw session button there it goes to the page that says i don't have access to be there.. Then i click the back button and i am now user 1 and i have to log out and relogin as Admin..

There was a problem in earlier versions of Zen Cart (you don't say which version you are using) but which was fixed some time ago (there are posts about this very early in this thread). Or it could be that User Tracking is causing the problem - I've never used it so I wouldn't know. Either way, I'm afraid that Admin Profiles is merely highlighting the problem and is very unlikely to be the source of the solution.[/QUOTE]

****The version i am using is
Zen Cart 1.3.7.1
Database Patch Level: 1.3.7
v1.3.6 [2006-12-11 16:15:48] (Version Update 1.3.5->1.3.6)
v1.3.5 [2006-12-11 15:40:49] (Version Update 1.3.0.2->1.3.5)
v1.3.0.2 [2006-12-11 15:40:45] (Version Update 1.3.0.1->1.3.0.2)
v1.3.0.1 [2006-07-19 15:43:21] (Version Update 1.3.0->1.3.0.1)
v1.3.0 [2006-07-19 14:22:03] (Version Update 1.2.7->1.3.0)
v1.2.7 [2006-03-06 12:04:22] (Fresh Installation)

3 Apr 2008, 4:12 PM
#486
dashizna avatar

dashizna

Zen Follower

Join Date:
Mar 2006
Posts:
424
Plugin Contributions:
0

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

Ok I have a problem

in Tools there is 2 user tracking things

One is user Tracking

One is User Tracking Config

And then in Configuration there is a User Tracking Config

How do i go about fixing that??

24 Apr 2008, 5:10 PM
#488
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

Dashizna:

Ok I have a problem

in Tools there is 2 user tracking things

One is user Tracking

One is User Tracking Config

And then in Configuration there is a User Tracking Config

How do i go about fixing that??You would have to go into your database and delete the row that corresponds to the entry you don't want. It sounds from your earlier post as though you didn't follow the instructions for amending the box files and instead just used the one that came with the user tracking mod. This is most likely what has caused the duplicate entries.

Could you provide more information as to why you think the user is being changed? Is this a normal part of the user tracking mod?

24 Apr 2008, 5:11 PM
#489
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

tcminh:

I can not download admin profile from following url : http://www.kuroi.co.uk/zencart/downloads/admin_profiles.zip

Where can I have it ?.From this site's downloads area. Click the "downloads" link at the top of this page and search for "Admin Profiles".

25 Apr 2008, 6:29 PM
#490
mipavluk avatar

mipavluk

Zen Follower

Join Date:
Jun 2007
Location:
Posadas, Misiones, Argentina
Posts:
221
Plugin Contributions:
0

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

Hi Kuroi!
Is there a way, to give partial access to categories? for example, if I have 10 categories, I like give to the user Mod 1, only access to the category 1 and give to the user Mod 2, only access to the category2 .
what do you think?
thanks in advance!

25 Apr 2008, 7:11 PM
#491
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

mipavluk:

Is there a way, to give partial access to categories? for example, if I have 10 categories, I like give to the user Mod 1, only access to the category 1 and give to the user Mod 2, only access to the category2 .
what do you think?Already discussed. See post 437.

25 Apr 2008, 9:32 PM
#492
andyii avatar

andyii

Zen Follower

Join Date:
Mar 2007
Posts:
153
Plugin Contributions:
0

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

I have such a mod, but spent plenty on getting written... :cool:

2 May 2008, 1:53 AM
#493
yellow1912 avatar

yellow1912

Totally Zenned

Join Date:
Oct 2006
Posts:
5,422
Plugin Contributions:
0

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

Hi Kuroi,

I'm just wondering if we can tweak the logic of the module a bit, I take customers_dhtml.php as an example:

<?php
/**
 * @package admin
 * @copyright Copyright 2003-2007 Zen Cart Development Team
 * @copyright Portions Copyright 2003 osCommerce
 * @license http://www.zen-cart.com/license/2_0.txt GNU Public License V2.0
 * @version $Id: customers_dhtml.php 6027 2007-03-21 09:11:58Z drbyte $
 */
if (!defined('IS_ADMIN_FLAG')) {
  die('Illegal Access');
}
  $za_contents = array();
  $za_heading = array();
  $za_heading = array('text' => BOX_HEADING_CUSTOMERS, 'link' => zen_href_link(FILENAME_ALT_NAV, '', 'NONSSL'));
  $za_contents[] = array('text' => BOX_CUSTOMERS_CUSTOMERS, 'link' => zen_href_link(FILENAME_CUSTOMERS, '', 'NONSSL'));
  $za_contents[] = array('text' => BOX_CUSTOMERS_ORDERS, 'link' => zen_href_link(FILENAME_ORDERS, '', 'NONSSL'));
  $za_contents[] = array('text' => BOX_CUSTOMERS_GROUP_PRICING, 'link' => zen_href_link(FILENAME_GROUP_PRICING, '', 'NONSSL'));
  $za_contents[] = array('text' => BOX_CUSTOMERS_PAYPAL, 'link' => zen_href_link(FILENAME_PAYPAL, '', 'NONSSL'));
if ($za_dir = @dir(DIR_WS_BOXES . 'extra_boxes')) {
  while ($zv_file = $za_dir->read()) {
    if (preg_match('/customers_dhtml.php$/', $zv_file)) {
      require(DIR_WS_BOXES . 'extra_boxes/' . $zv_file);
    }
  }
  $za_dir->close();
}
?>
<!-- customers //-->
<?php
echo zen_draw_admin_box($za_heading, $za_contents);
?>
<!-- customers_eof //-->

So say right before zen_draw_admin_box, we loop thru $za_contents and remove any one that we dont want (unset). If we do it that way then perhaps we dont need to change anything in the extra boxes?

Regards

2 May 2008, 11:35 AM
#494
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

@yellow1912

I'm considering a very radical overhaul of this mod for the the next release of Zen Cart. Personally I don't like all this box model stuff, or the way that the mod is resolutely monolingual.

3 May 2008, 8:55 AM
#495
pierrick avatar

pierrick

New Zenner

Join Date:
Mar 2007
Posts:
25
Plugin Contributions:
0

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

Hey Kuroisan,

Considering how solid and useful the current mod is, I for one very much look forward to seeing and implementing your 'radical overhaul'.:thumbsup::thumbsup:

Happy coding.

Pierrick

7 May 2008, 3:38 AM
#496
duketrac avatar

duketrac

New Zenner

Join Date:
May 2008
Posts:
3
Plugin Contributions:
0

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

I get this error: (Sorry, your security clearance does not allow you to access this resource.
Please contact your site administrator if you believe this to be incorrect.
Sorry for any inconvenience)
When I click on the permissions link for a new admin user.

What did I jack up to make this happen.
Since I am admin 1 I am locked out of a few things, like posting a new product under free shipping, I am blocked.
I went through the intall file, installed sql, which worked with flying colors.
uploaded all the files, did the box thing. Checked and rechecked file locations.
I am using the lastest greatest verison of Zen Cart from a clean install.
The only add-on i have is the auction product type and it works fine.
Anyone?

7 May 2008, 6:57 PM
#497
andyii avatar

andyii

Zen Follower

Join Date:
Mar 2007
Posts:
153
Plugin Contributions:
0

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

if anyone is interested, I had the Admin mod revised (paid programming) to do full restrictions on category assignments, support for custom sales report, multiple owners for manufactures, ++++++++++ many things....:cool:

8 May 2008, 7:04 AM
#498
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

duketrac:

I get this error: (Sorry, your security clearance does not allow you to access this resource.
Please contact your site administrator if you believe this to be incorrect.
Sorry for any inconvenience)
When I click on the permissions link for a new admin user.

What did I jack up to make this happen.
Since I am admin 1 I am locked out of a few things, like posting a new product under free shipping, I am blocked.
I went through the intall file, installed sql, which worked with flying colors.
uploaded all the files, did the box thing. Checked and rechecked file locations.
I am using the lastest greatest verison of Zen Cart from a clean install.
The only add-on i have is the auction product type and it works fine.
Anyone?In your admin_allowed_pages table, do you have an entry with page_id = 76 and admin_id = 1?

8 May 2008, 7:05 AM
#499
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

AndyII:

if anyone is interested, I had the Admin mod revised (paid programming) to do full restrictions on category assignments, support for custom sales report, multiple owners for manufactures, ++++++++++ many things....:cool:So you keep telling us ....

9 May 2008, 1:28 AM
#500
duketrac avatar

duketrac

New Zenner

Join Date:
May 2008
Posts:
3
Plugin Contributions:
0

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

kuroi:

In your admin_allowed_pages table, do you have an entry with page_id = 76 and admin_id = 1?

Yes. All the pages go from 1 - 88.
All the admin_id's are 1's.