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

Results 1,061 to 1,080 of 1,242
27 Oct 2010, 9:10 PM
#1061
kwright avatar

kwright

Zen Follower

Join Date:
Nov 2004
Posts:
355
Plugin Contributions:
0

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

Thanks for the great contrib!

Some third party contribs, such as Image Handeler, I had to mod the box file, others I didn't have to do any thing.

What determines if a third party contrib can be detected and added automatically by Admin Profiles?

Thanks! :clap:

27 Oct 2010, 9:52 PM
#1062
kwright avatar

kwright

Zen Follower

Join Date:
Nov 2004
Posts:
355
Plugin Contributions:
0

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

kwright:

What determines if a third party contrib can be detected and added automatically by Admin Profiles?

OK, I think I figured it out. If you have third party contribs and don't want the link to show under a given menu for a given user, you will need to mod the box file for that contrib. Otherwise, it seems you don't need to mod the box file.

From my understanding, the box file mod only needs to be made if you wish to NOT show the link under a given menu for a given user. :flex:

28 Oct 2010, 10:27 AM
#1063
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

CoolCarPartsOnline:

Hello
Have you got any feedback on the Beta release? I don't see it in the official upgrade and just want to make sure it's safe to install on a live site, just finished upgrading to 1.39 this weekend and having issues with the master admin login, trying to debug the issue (it is not related to this module, I am able to login in fine with 1.39 on the test server, just the live site is giving me hard time).

I am going through all the modules installed on the site and see if there were any new updates for 1.39 compatibility or security related releases so I am starting with this mod.It worked fine during our testing and on the two live sites that are running it. The only person who responded during beta testing, also had no problems with it. Haven't moved it forward since with so little interest, there doesn't seem like much point!

28 Oct 2010, 10:30 AM
#1064
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

kwright:

OK, I think I figured it out. If you have third party contribs and don't want the link to show under a given menu for a given user, you will need to mod the box file for that contrib. Otherwise, it seems you don't need to mod the box file.

From my understanding, the box file mod only needs to be made if you wish to NOT show the link under a given menu for a given user. :flex:
If we're talking about the main, rather than beta version, then if a third party contrib has a box file, it should be amended to the Admin Profiles approach.

Auto-detection is intended as a fallback rather than a substitite, and editing the file yourself offers the benefits of instant recognition, greater security and appropriate locating of pages on the Admin profiles pages.

30 Oct 2010, 12:33 AM
#1065
kwright avatar

kwright

Zen Follower

Join Date:
Nov 2004
Posts:
355
Plugin Contributions:
0

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

Thanks Kuroi,

I did just that...figured better to follow the instruction then just assume, cause we know what happens when one assumes! :D

13 Nov 2010, 6:15 PM
#1066
jtlmusic avatar

jtlmusic

New Zenner

Join Date:
Feb 2009
Posts:
15
Plugin Contributions:
0

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

What is the correction to the typo, simply remove it? Do we keep the parentheses?

niccol:

Kuroi,

Regarding v1_1_0.

In line 229ish of the functions/admin_profiles.php file it reads:

{ // remove adminID for users with cookies off, wherever it appears in the URL
  $page = str_replace('?zenAdminID=' . (int)$_GET['zenAdminID'], '', $page);
  $page = str_replace('&zenAdminID=' . (int)$_GET['zenAdminID'], '', $page);
> 
> I suspect that the (int) is a typo.
13 Nov 2010, 6:18 PM
#1067
jtlmusic avatar

jtlmusic

New Zenner

Join Date:
Feb 2009
Posts:
15
Plugin Contributions:
0

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

Just installed the "beta" version 1.1.0 in Zen Cart 1.3.9f and it works perfectly. I hope the author continues to support it. Great contribution that is super easy to install and use.

13 Nov 2010, 6:27 PM
#1068
niccol avatar

niccol

Totally Zenned

Join Date:
Apr 2009
Posts:
2,138
Plugin Contributions:
1

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

remove all of the '(int)' and do not leave the parentheses. It only effects you if you have cookies off anyway so is a pretty minor thing that wouldn't effect many people.

22 Nov 2010, 4:14 AM
#1069
muzz avatar

muzz

Totally Zenned

Join Date:
Mar 2009
Location:
Australia
Posts:
604
Plugin Contributions:
0

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

Is this mod working in the latest 1.3.9h ZC ?

The mod requires some changes to files in:

admin/includes/box/* files.

example: admin/includes/box/catalog_dhtml.php

I wasn't confident with number of changes required.

I'm upgrading from 1.3.8a.

23 Nov 2010, 3:47 AM
#1070
chingqen avatar

chingqen

New Zenner

Join Date:
Mar 2010
Posts:
17
Plugin Contributions:
0

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

jtlmusic:

Just installed the "beta" version 1.1.0 in Zen Cart 1.3.9f and it works perfectly. I hope the author continues to support it. Great contribution that is super easy to install and use.

can you tell me where can download the version 1.10 ?

23 Nov 2010, 9:25 AM
#1071
chingqen avatar

chingqen

New Zenner

Join Date:
Mar 2010
Posts:
17
Plugin Contributions:
0

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

I installed 1.07 on zencart 1.39h just now, I found the admin panel got unavailable. Somebody give me a link to download the latest version?

23 Nov 2010, 9:31 AM
#1072
chingqen avatar

chingqen

New Zenner

Join Date:
Mar 2010
Posts:
17
Plugin Contributions:
0

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

Hi, I got it, post 944. Let me install and test it.

23 Nov 2010, 10:38 AM
#1073
chingqen avatar

chingqen

New Zenner

Join Date:
Mar 2010
Posts:
17
Plugin Contributions:
0

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

the installation is pretty easy, it seems working. thank you Kuroi,

I need couple of days to test it.:clap:

3 Dec 2010, 3:41 PM
#1074
batman42ca avatar

batman42ca

New Zenner

Join Date:
May 2010
Posts:
32
Plugin Contributions:
0

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

chingqen:

Hi, I got it, post 944. Let me install and test it.

For anyone looking for 1.1.0 Beta, it's post 994, not 944. Or better yet

Download Admin Profiles v1.1.0 Beta for use with Zen-cart 1.3.9x

That should make it a little easier to find.

@kuroi: why not officially release this as an update to the plugin, after fixing the (int) typo referenced in post #1044

... with the appropriate warnings about being a Beta version?

Making this easier for people to find, might provide you with more feedback on the new version. Right now the beta version is buried deep within a very long thread.

I think this is a highly valuable plugin and was one of the things that helped me decide to use zen-cart. (I think this belongs as part of the zen-cart core)

23 Dec 2010, 3:23 PM
#1075
disciple avatar

disciple

Totally Zenned

Join Date:
Aug 2004
Posts:
278
Plugin Contributions:
0

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

Quick question.

I am going through the files for the beta version (1.1.0) of AP and found the following.

The following files have no ending ?>

admin_profiles_data.php
admin_profiles.php
init_admin_auth.php

Is that by design or does it need to be added?

Thanks,

Rick

23 Dec 2010, 11:13 PM
#1076
gilby avatar

gilby

Totally Zenned

Join Date:
Aug 2005
Location:
Vic, Oz
Posts:
1,816
Plugin Contributions:
0

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

disciple:

Quick question.

I am going through the files for the beta version (1.1.0) of AP and found the following.

The following files have no ending ?>

admin_profiles_data.php
admin_profiles.php
init_admin_auth.php

Is that by design or does it need to be added?

Thanks,

Rick

https://www.zen-cart.com/tutorials/index.php?article=313

27 Dec 2010, 3:56 PM
#1077
jtlmusic avatar

jtlmusic

New Zenner

Join Date:
Feb 2009
Posts:
15
Plugin Contributions:
0

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

I submitted an update, version 1.1.1, based on Kuroi's beta 1.1.0 which should be available soon. It is compatible with Zen Cart 1.3.9h. I suggest waiting for the update to be posted, if you're using 1.3.9h.

27 Dec 2010, 4:11 PM
#1078
disciple avatar

disciple

Totally Zenned

Join Date:
Aug 2004
Posts:
278
Plugin Contributions:
0

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

What are the differences/changes?

27 Dec 2010, 10:41 PM
#1079
danielle avatar

danielle

Totally Zenned

Join Date:
Oct 2004
Posts:
973
Plugin Contributions:
0

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

Will this mod allow users to be restricted so that the only thing they can do is view products? Not even edit or anything? I have a client who just wants to be able to allow her suppliers to login and view stock levels.

Thanks!

27 Dec 2010, 11:27 PM
#1080
jtlmusic avatar

jtlmusic

New Zenner

Join Date:
Feb 2009
Posts:
15
Plugin Contributions:
0

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

The 1.1.1 version includes various changes in the install instructions, which includes files that need to be manually patched and corrected instructions for that, and a correction to a file (which was requested by an earlier post in this forum). I have it installed and working correctly on various 1.3.9h stores.

The mod lets you select what you want each admin to be able to see and access. It's fairly comprehensive.

If you're in a hurry, send a message to me with your email address and I can send you the zip file.