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

Results 81 to 100 of 1,242
7 Aug 2006, 8:29 AM
#81
kuroi avatar

kuroi

Totally Zenned

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

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

Very glad to be able to help. Dr Byte can go to bed now. Happily I got up early enough to pitch in. Zen Cart is truly international! :thumbsup:

Kuroi Web Design and Development | Twitter

(Questions answered in the forum only - so that any forum member can benefit - not by personal message)

7 Aug 2006, 8:33 AM
#82
drbyte avatar

drbyte

Sensei

Join Date:
Jan 2004
Posts:
63,513
Plugin Contributions:
176

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

T313C0mun1s7:

I think I will be calling in sick tomorrow also.I'm thinking of doing the same... :P

.
Zen Cart - putting the dream of business ownership within reach of anyone!
Donate to: DrByte directly or to the Zen Cart team as a whole

Remember: Any code suggestions you see here are merely suggestions. You assume full responsibility for your use of any such suggestions, including any impact ANY alterations you make to your site may have on your PCI compliance.
Furthermore, any advice you see here about PCI matters is merely an opinion, and should not be relied upon as "official". Official PCI information should be obtained from the PCI Security Council directly or from one of their authorized Assessors.

7 Aug 2006, 8:43 AM
#83
t313c0mun1s7 avatar

t313c0mun1s7

New Zenner

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

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

DrByte:

I'm thinking of doing the same... :P

Hey, could I get a note from "The Dr."? :wink2:

7 Aug 2006, 8:54 AM
#84
drbyte avatar

drbyte

Sensei

Join Date:
Jan 2004
Posts:
63,513
Plugin Contributions:
176

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

T313C0mun1s7:

Hey, could I get a note from "The Dr."? :wink2:
he called in sick ... you'll have to wait until another appointment can be booked ... :P

.
Zen Cart - putting the dream of business ownership within reach of anyone!
Donate to: DrByte directly or to the Zen Cart team as a whole

Remember: Any code suggestions you see here are merely suggestions. You assume full responsibility for your use of any such suggestions, including any impact ANY alterations you make to your site may have on your PCI compliance.
Furthermore, any advice you see here about PCI matters is merely an opinion, and should not be relied upon as "official". Official PCI information should be obtained from the PCI Security Council directly or from one of their authorized Assessors.

23 Aug 2006, 9:20 AM
#85
tajul_ashyqin avatar

tajul_ashyqin

Zen Follower

Join Date:
Apr 2006
Location:
Labuan Island
Posts:
362
Plugin Contributions:
1

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

hi kuroi,

i am working on multilanguage site and how can Admin Profiles handle these thing?!:yes: i just noticed that when i try to select other language than English in the admin, the system will return to the security clearance message of AP. i tried ticking the respective boxes in the permission page but the system still used English as the language...

"Whether you think you can, or you think you can't... YOU ARE RIGHT."
GOOD LUCK !!!

23 Aug 2006, 11:02 AM
#86
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

Sorry, but Admin Profiles doesn't support multi-lingual Admin areas. I speak several languages and so would love Admin Profiles to do the same, but there is a rather large technical impediment that prevents this. I explain it here.

Kuroi Web Design and Development | Twitter

(Questions answered in the forum only - so that any forum member can benefit - not by personal message)

24 Aug 2006, 9:16 AM
#87
tajul_ashyqin avatar

tajul_ashyqin

Zen Follower

Join Date:
Apr 2006
Location:
Labuan Island
Posts:
362
Plugin Contributions:
1

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

ahh, i see! thanx for the explanation... :yes:

"Whether you think you can, or you think you can't... YOU ARE RIGHT."
GOOD LUCK !!!

30 Aug 2006, 5:38 PM
#88
teva avatar

teva

Zen Follower

Join Date:
Sep 2004
Posts:
101
Plugin Contributions:
0

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

Hey all!

Anybody has any idea why my admin profiles stoped working? I use 1.3.0.1 and admin profiles worked great, but one day the icon in admin, where you set permissions was gone. Now i can't even add new admin with full settings, because when loged in i have no menus. But old admin users still work with permissions i set before admin profiles crashed.

Where to start my debugging?

Tnx

ps: I use xsell and book type addons

30 Aug 2006, 6:06 PM
#89
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

Step 1: is register_globals ON or OFF on your server? and has it changed recently?

Kuroi Web Design and Development | Twitter

(Questions answered in the forum only - so that any forum member can benefit - not by personal message)

30 Aug 2006, 6:13 PM
#90
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

Step 2: Has the orange icon disappeared from all users? Has the "edit permissions" button also disappeared?

Kuroi Web Design and Development | Twitter

(Questions answered in the forum only - so that any forum member can benefit - not by personal message)

31 Aug 2006, 10:17 AM
#91
virtualahmad avatar

virtualahmad

Zen Follower

Join Date:
Jan 2006
Location:
Toronto, Ontario, Canada
Posts:
179
Plugin Contributions:
0

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

I'm running 1.3.0.2. all is well except the menus and pages I want to disable still appear. If the user clicks on a particular item which I have "unchecked", they get the denied access page. However the links are still there.
I checked the db and the admin headings are correct in the sense that user id 2 does not have all the headings listed. But when user id 2 logs in, page loads, everything shows up.

I have another installation of the same version for another client and it seems to work flawlessly.

Any suggestions ?

Ahmad Rahman
TRUST IT | web site design and development
mobile: 416.828.0224 | email: [email protected]
www.trustit.ca

For IT solutions how you want IT, when you want IT, TRUST IT.

31 Aug 2006, 10:23 AM
#92
drbyte avatar

drbyte

Sensei

Join Date:
Jan 2004
Posts:
63,513
Plugin Contributions:
176

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

The menu options are driven by the files in the /admin/includes/boxes files/folders. Perhaps these have been reverted back to old versions on your site somehow?

.
Zen Cart - putting the dream of business ownership within reach of anyone!
Donate to: DrByte directly or to the Zen Cart team as a whole

Remember: Any code suggestions you see here are merely suggestions. You assume full responsibility for your use of any such suggestions, including any impact ANY alterations you make to your site may have on your PCI compliance.
Furthermore, any advice you see here about PCI matters is merely an opinion, and should not be relied upon as "official". Official PCI information should be obtained from the PCI Security Council directly or from one of their authorized Assessors.

31 Aug 2006, 10:49 AM
#93
virtualahmad avatar

virtualahmad

Zen Follower

Join Date:
Jan 2006
Location:
Toronto, Ontario, Canada
Posts:
179
Plugin Contributions:
0

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

Dr., i checked, and you were correct... i overwrote the files and ta-da !

btw... do you ever sleep or NOT be on this site ?

Thanks again !

Ahmad Rahman
TRUST IT | web site design and development
mobile: 416.828.0224 | email: [email protected]
www.trustit.ca

For IT solutions how you want IT, when you want IT, TRUST IT.

31 Aug 2006, 9:29 PM
#94
teva avatar

teva

Zen Follower

Join Date:
Sep 2004
Posts:
101
Plugin Contributions:
0

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

kuroi:

Step 1: is register_globals ON or OFF on your server? and has it changed recently?

It's set to OFF with .htaccess
php_flag session.use_trans_sid off
php_flag register_globals off

31 Aug 2006, 9:30 PM
#95
teva avatar

teva

Zen Follower

Join Date:
Sep 2004
Posts:
101
Plugin Contributions:
0

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

kuroi:

Step 2: Has the orange icon disappeared from all users? Has the "edit permissions" button also disappeared?

Yes, all users are missing orange icon and button is gone too.

31 Aug 2006, 10:22 PM
#96
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

teva:

Yes, all users are missing orange icon and button is gone too.This is sounding as though your admin.php file may have somehow been overwritten. However I have checked the two add-ons that you metioned earlier and would not expect either to do this.

Could you check whether or not the results of the first two code patches that you did during Admin Profiles installation are still intact. Here's a reminder of them ...> In admin\admin.php find the line containing the constant ICON_RESET (line 203 in a clean install of ZC 1.3). Insert a new line immediately afterwards containing the following ...

<?php echo '<a href="' . zen_href_link(FILENAME_ADMIN_CONTROL, 'adminID=' . $admins->fields['admin_id']) . '">' . zen_image(DIR_WS_IMAGES . 'icon_permissions.gif', ICON_PERMISSIONS) . '</a>'; ?>

In admin\admin.php find the 2nd line containing the constant IMAGE_DELETE (line 427 in a clean install of ZC 1.3 with the above patch installed). Insert a new line immediately afterwards containing the following ...
<br /><a href="' . zen_href_link(FILENAME_ADMIN_CONTROL, 'adminID=' . $adminInfo->admin_id) . '">' . zen_image_button('button_edit_permissions.gif', IMAGE_PERMISSIONS) . '</a>

Kuroi Web Design and Development | Twitter

(Questions answered in the forum only - so that any forum member can benefit - not by personal message)

1 Sep 2006, 6:09 AM
#97
cindyjw avatar

cindyjw

New Zenner

Join Date:
Dec 2005
Posts:
9
Plugin Contributions:
0

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

I did a fresh install of Zen Cart version 1.3.0.1. Then I upgraded to 1.3.0.2. Then I installed Admin Profiles.

Step 1: I don't think I am using a DB prefix
Step 2: copied all files over to server in proper places
Step 3: Ctrl-copied code so I wouldn't make a typo
Step 4: didn't do
Step 5: didn't do
Step 6: When I logged in, I got this message and no headers, so I couldn't go to Tools

1146 Table 'designit_zc2.admin_menu_headers' doesn't exist
in:
[select id from 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 hope you can help me. I really want this to work.

Thanks so much.

1 Sep 2006, 9:45 AM
#98
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

cindyjw:

I did a fresh install of Zen Cart version 1.3.0.1. Then I upgraded to 1.3.0.2. Then I installed Admin Profiles.

Step 1: I don't think I am using a DB prefix
Step 2: copied all files over to server in proper places
Step 3: Ctrl-copied code so I wouldn't make a typo
Step 4: didn't do
Step 5: didn't do
Step 6: When I logged in, I got this message and no headers, so I couldn't go to Tools

1146 Table 'designit_zc2.admin_menu_headers' doesn't exist
in:
[select id from 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 hope you can help me. I really want this to work.

Thanks so much.I'm surprised that this hasn't been raised before. You still need to do step one to create the tables that Admin Profiles uses. You just don't need to edit the SQL first to add a DB prefix. However, the installation instructions could be a little more clear on this. I will make them so with the next update.

Kuroi Web Design and Development | Twitter

(Questions answered in the forum only - so that any forum member can benefit - not by personal message)

1 Sep 2006, 2:02 PM
#99
cindyjw avatar

cindyjw

New Zenner

Join Date:
Dec 2005
Posts:
9
Plugin Contributions:
0

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

kuroi:

I'm surprised that this hasn't been raised before. You still need to do step one to create the tables that Admin Profiles uses. You just don't need to edit the SQL first to add a DB prefix. However, the installation instructions could be a little more clear on this. I will make them so with the next update.

Since I am fairly new to this coding stuff, could you explain step one to me a little more. I don't know where to go to go or what to do exactly.

Thank you so much!

1 Sep 2006, 7:45 PM
#100
cindyjw avatar

cindyjw

New Zenner

Join Date:
Dec 2005
Posts:
9
Plugin Contributions:
0

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

cindyjw:

Since I am fairly new to this coding stuff, could you explain step one to me a little more. I don't know where to go to go or what to do exactly.

Thank you so much!

I got it fixed. My server host helped me. He imported the install_admin_profiles.sql file into my database. The problem is...I don't know how he did that. I should have asked him. Could you make that clear on your instructions for future users?

This mod is fabulous! Thank you so much. Is there a way to choose which is the opening default page when they log in?

Thanks again!