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

Results 661 to 680 of 1,242
4 Jan 2009, 12:16 PM
#661
pierrick avatar

pierrick

New Zenner

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

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

Hi Kuroi,

I thought you might like some feedback, all positive, not asking for solution or anything...
I just installed the latest Admin Profiles (1.0.7) on a new shop for a client (ZC 1.3.8a) and it couldn't be smoother. Worked first go.
Thanks for a great mod.:clap:
I'll suggest to my clients (a charity themselves) to make a donation, if you accept that sort of thing.

Happy New Year and happy coding.

9 Jan 2009, 3:07 AM
#662
honrheart avatar

honrheart

Zen Follower

Join Date:
Jul 2008
Posts:
139
Plugin Contributions:
0

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

I own a digital scrap store and sell in several others. In a couple of these stores, one of the admins is going in and de-activating other designers products (the store owners have since installed the admin activity mod). My question is this: is there a way to restrict where admins can only modify only products they themselves have uploaded or am I asking for the impossible lol?

:frusty:

9 Jan 2009, 10:30 AM
#663
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

@pierrick

Thank you for your kind words. I don't accept donations for this work, but please feel free to encourage you client to support the Zen Cart project, to help it continue its evolution.

9 Jan 2009, 10:36 AM
#664
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

honrheart:

I own a digital scrap store and sell in several others. In a couple of these stores, one of the admins is going in and de-activating other designers products (the store owners have since installed the admin activity mod). My question is this: is there a way to restrict where admins can only modify only products they themselves have uploaded or am I asking for the impossible lol?
:frusty:You're not asking for the impossible. You're asking for the extremely difficult. It can be done, but it involves so many changes across the Admin area to do it right, that's it's all but unmaintainable.

I've done it myself, once, but won't be doing it again. There's a mod that claims to do it, but sadly only closes the most obvious method, leaving plenty of other routes for an admin to interfer with any product they want. And there's a mod being sold, but I'm skeptical as to how effective that is and haven't had the opportunity to check it.

I'm very aware however, of the extent of the demand for this. I've had a number of requests and have a pretty clear idea of how it could be done in a robust and maintainable way, but this wouldn't be done for a version of Zen Cart earlier than the forthcoming 2.0.

22 Jan 2009, 5:00 PM
#665
macgurl avatar

macgurl

New Zenner

Join Date:
Jan 2009
Posts:
3
Plugin Contributions:
0

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

kuroi:

You are using the prefix "zen_".

Ok, I did search through the forums for the Table 1146 - and I am also getting the

1146 Table 'not0902007413489.zen_admin_allowed_categories' doesn't exist
in:
[select admin_id from zen_admin_allowed_categories where categories_id = '0']
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.

I have re-installed the .sql patch through zen cart, I went through my sql tables to make sure they all had the zen_ prefix (note, none of the new ones had that at all even when installing through zen cart)

And looking through the tables there is not even a table called admin_allowed categories there.

Is there another place I should look? :cry:

22 Jan 2009, 5:35 PM
#666
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

macgurl:

looking through the tables there is not even a table called admin_allowed categories there.Admin Profiles doesn't have an admin_allow_categories table. It sounds as though you might have a partial installation of the "Admin Users - Restrict Product Categories" mod, but I'm afraid that's not supported in this thread.

26 Jan 2009, 12:36 PM
#667
deziner76hd avatar

deziner76hd

New Zenner

Join Date:
Oct 2008
Location:
Lakewood Ny
Posts:
26
Plugin Contributions:
0

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

I am using Zen 1.3.8.a and Version 1.0.7 of af Admin Profiles. Thia is a great mod! :clap: I works perfect and was an easy install. I was wondering if there is any way to disallow restricted admins from seeing the "New Customers" and "New Orders" on the front admin page. Thank you for this excellent mod!

27 Jan 2009, 10:09 PM
#668
ariasparkle avatar

ariasparkle

New Zenner

Join Date:
Mar 2008
Posts:
50
Plugin Contributions:
0

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

I am using the latest zen cart and the newest admin update. I get a

1146 Table 'ariaspa1_zc5.zen_admin_menu_headers' doesn't exist
in:
[select id from zen_admin_menu_headers where header = 'Configuration']
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.

I forgot to upload the sql patch. Where do i put it now since my admin screen won't let me in?
Yes my bad.

27 Jan 2009, 10:47 PM
#669
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

deziner76hd:

I am using Zen 1.3.8.a and Version 1.0.7 of af Admin Profiles. Thia is a great mod! :clap: I works perfect and was an easy install. I was wondering if there is any way to disallow restricted admins from seeing the "New Customers" and "New Orders" on the front admin page. Thank you for this excellent mod!See post #469.

27 Jan 2009, 10:48 PM
#670
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

ariasparkle:

I am using the latest zen cart and the newest admin update. I get a

1146 Table 'ariaspa1_zc5.zen_admin_menu_headers' doesn't exist
in:
[select id from zen_admin_menu_headers where header = 'Configuration']
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.

I forgot to upload the sql patch. Where do i put it now since my admin screen won't let me in?
Yes my bad.Answered in your other thread.

29 Jan 2009, 6:32 PM
#671
opal avatar

opal

New Zenner

Join Date:
Apr 2008
Posts:
70
Plugin Contributions:
0

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

I have just installed your awesome admin profile mod, it's great thank you!

I was just wondering if you could point me in the right direction to where I can find some help, I don't want the other admin to be able to view the sales report mod or the paypal pushorder mod but don't know how to do it. I've been searching for a while now and can't find where the help and any info/instructions are.

Thank you

opal.
xxxx

29 Jan 2009, 8:42 PM
#672
opal avatar

opal

New Zenner

Join Date:
Apr 2008
Posts:
70
Plugin Contributions:
0

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

I can't use my sales report now since installing the admin profile mod, I now 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.

Will removing the admin profile mod fix this? and if so, how do I get rid of it?

29 Jan 2009, 10:17 PM
#673
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

Giving yourself permission to see it should clear it. Admin Profiles is a security mod so will assume that third party add-ons are not to be accessed unless it is told that it's OK. Admin > Tools > Admin Control takes to the screen when access rights are granted or withheld. that should answer both of your questions. :smile:

30 Jan 2009, 10:21 AM
#674
opal avatar

opal

New Zenner

Join Date:
Apr 2008
Posts:
70
Plugin Contributions:
0

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

Thank you! I found the check boxes at the bottom :wink:

Now I have found 2 more error problems that weren't there before :(

The first one is when I search a customer:

Warning: array_merge() [function.array-merge]: Argument #1 is not an array in /home/******/public_html/store/admin/customers.php on line 1099

Warning: array_merge() [function.array-merge]: Argument #2 is not an array in /home/******/public_html/store/admin/customers.php on line 1101

Warning: reset() [function.reset]: Passed variable is not an array or object in /home/******/public_html/store/admin/includes/classes/object_info.php on line 29

Warning: Variable passed to each() is not an array or object in /home/******/public_html/store/admin/includes/classes/object_info.php on line 30

The second is when I tried to use the paypal push order:

**Edit...this fixed itself below, it was actually the customers email address that was the problem, not the mod ;)

Email Error: Could not instantiate mail function. Please check Admin->Configuration->Email Options->Email Transport.

I haven't changed anything in my email transport settings, it's on php.

Is there anything I can do to fix this?

Thank you.

30 Jan 2009, 10:27 AM
#675
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

@Opal

Admin Profiles only determines which menu items are visible and which pages can be accessed. It doesn't in any way interfere with the execution of functions within those pages and so couldn't possibly cause either of your two latest problems.

30 Jan 2009, 10:36 AM
#676
opal avatar

opal

New Zenner

Join Date:
Apr 2008
Posts:
70
Plugin Contributions:
0

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

Ok, I see what you mean but it only happened since I installed the mod. Where would be the right place to seek help in here for this problem? Could you point me in the right direction or do you have any idea how to fix it?

Thank you very much for your help, it's very much appreciated! :smile:

3 Feb 2009, 3:17 PM
#677
lg_uk avatar

lg_uk

New Zenner

Join Date:
Dec 2008
Posts:
6
Plugin Contributions:
0

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

I'm having some problems with this:

  1. After installing I added a new admin to test with, selected edit permissions and got a 404. Realised the file I was provided is called:
    admin_control.php but the code calls for FILENAME_ADMIN_CONTROL.php - I renamed the file then bumped into problem number 2.

  2. on the edit permissions page I get the following SQL errors, I've tried re-adding the patch says 200+ statements added, however no banana!...

1146 Table 'dtukshop.TABLE_ADMIN_MENU_HEADERS' doesn't exist
in:
[select * from TABLE_ADMIN_MENU_HEADERS where id > 0 order by id]
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.

I used the provided additional files as we do not have any addons that changed these pages. So no mistakes with manually patching.

3 Feb 2009, 3:25 PM
#678
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

@LG_UK

Sounds like a problem with your admin/includes/extra_datafiles/admin_profiles_data.php file where these constants are defined. First step ... check that it's there. If it is, check that it hasn't become corrupted.

4 Feb 2009, 3:11 PM
#679
lg_uk avatar

lg_uk

New Zenner

Join Date:
Dec 2008
Posts:
6
Plugin Contributions:
0

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

Seems that FileZilla just doesnt upload the entire folder all the time, there were a few files missing, problem solved now.

On to the next challenge!

Thanks for the help.

5 Feb 2009, 1:50 PM
#680
notwist avatar

notwist

New Zenner

Join Date:
Jan 2008
Posts:
21
Plugin Contributions:
0

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

Hallo, I install this script. After I login I got error:

1267 Illegal mix of collations (latin1_swedish_ci,IMPLICIT) and (cp1250_general_ci,COERCIBLE) for operation '='
in:
[select id from admin_files where page = 'Můj obchod']
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.

What do I have to do? Now I can't get access to admin...

Can you advise me, please?