-
Re: Admin Profiles Support Thread
:oops: I accidentally copied the admin files over to my cart directory before I ran the SQL patch and now have lost access to my admin console. What do I do now?
Incidentally when the files were uploading I received messages asking whether to overwrite/replace a number of box files and wasn't sure how to handle that.
-
Re: Admin Profiles Support Thread
Got my admin console functions back. I went into the c-panel file manager and removed all the new files that were installed and am back where I started. I'll try this over.
-
Re: Admin Profiles Support Thread
Quote:
Originally Posted by
kuroi
Admin Profiles works by controlling which pages a user can access. What you are wanting would require the pages themselves to be re-written. This was something that I considered doing for the Admin Control page, but there just didn't seem to be enough interest to justify the effort.
Thanks for the reply Kuroi. I think what I'm asking is to have the "Super User" placed separately from other users, so that the other users can change their passwords without exposing the "Super User" settings. I recall a similar function in the CRELoaded version--was hoping to find it in ZenCart.
-
Re: Admin Profiles Support Thread
Quote:
Originally Posted by
zranno
Thanks for the reply Kuroi. I think what I'm asking is to have the "Super User" placed separately from other users, so that the other users can change their passwords without exposing the "Super User" settings. I recall a similar function in the CRELoaded version--was hoping to find it in ZenCart.
My previous response still applies, and will probably continue to do so until while Admin Profiles is bolted onto the outside of Zen Cart. However, I have good reason to believe that built-in access control is very much on the agenda for Zen Cart's Admin Re-write delivery (probably version 2.2).
-
Re: Admin Profiles Support Thread
Quote:
Originally Posted by
Katies30f
I am using the newest version of Zen Cart 1.3.8
1146 Table 'scr0908708265688.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've had this problem too and I was able to get it to work. Disclaimer: I'm really dumb and I don't know what the hell I'm doing with php or Zen Cart.
But this worked:
Using the Install php query tool under admin, I merely copied and pasted this into the box and pressed "send:"
CREATE TABLE `zen_admin_allowed_pages` (
`categories_id` int(11) NOT NULL default '0',
`admin_id` int(11) NOT NULL default '0'
) TYPE=MyISAM;
Whatever table it said wasn't there, I made it there by editing the line from the error line. I copied this line straight from the output screen (or the install_admin_profiles file that came with the mod) and just changed the name to whatever it needed. In this case, I had to add "zen_" to the front of "admin_allowed_pages." Someone in this post made a reference to appending "zen_" to it but didn't explain.
When you run the full install_admin_profiles file it will list the errors at the very very top of the page. This was also an indicator that this remedy might work. I don't know if it's the proper fix, but so far things are operating correctly.
I hope this is a solution for you.
You can also find examples of the other table setups in that same file, so zen_admin_menu_headers has lots of entries for it. It wouldn't be just one line of code, I'm guessing. But there's probably a better solution. I'm just glad this worked.
-
Re: Admin Profiles Support Thread
Hi, I've just installed Admin profiles 1.1.0 with Zen Cart 1.3.8 but as administratore the configuration menù is not visible when I move on configuration link.
Sorry for my english.
help me please!:frusty:
-
Re: Admin Profiles Support Thread
Look under Tools>Admin settings> edit permissions
Sawhorse
-
Re: Admin Profiles Support Thread
Thanks for reply but permissions for Configuration Menù are already turn on despite this the configuration menù is not visible.
http://www.esavino.altervista.org/bar.jpg
-
Re: Admin Profiles Support Thread
Version 1.1 is an unsupported fork of Admin Profiles. I recommend either contacting the author directly or reverting to the supported 1.0.7 version.
-
Re: Admin Profiles Support Thread
Ok but also with Admin_profiles 1.0.7 the configuration menu is not shown. I've installed the admin_profiles 1.0.7 as follow:
1) Install Patches SQL "install_admin_profile.sql"
2) Install Patches SQL "upgrade_admin_profiles.sql"
3) Replace folder admin with "admin_profiles_v1_0_7/admin"
4) Replace folder admin with "admin_profiles_v1_0_7extras - patched files for ZC1.3.8a/admin"
The file that doesn't function seems to be "configuration_dhtml.php".
If I replace this file with the original "configuration_dhtml.php" the configuration menù is shown but when I click on the sections (for example: info negozio, sessioni, regolamenti) I've the follow 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."
:huh:
-
Re: Admin Profiles Support Thread
I am having problems installing admin_profiles.
In admin-tools-install sql patch : First I browse to the correct file and upload it. then I attempt to run it.
What I get is :
1064 You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'install_admin_profiles.sql' at line 1
in:
[install_admin_profiles.sql;]
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.
This is the first time I have used asql patch. So, this may be a obvious error on my part.
I am using Zen Cart 1.3.8a and it is admin profiles 1.0.7.
Any advice would be hugely appreciated!
Thanks
Nick
-
Re: Admin Profiles Support Thread
Please I need urgent help as I just installed the admin profile to my zencart and I can't access my admin menus, the thing is when I log in to my Admin page I get to my admin home page but whenever I click on any of the links on my admin menu I get this message " 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." and the other strange thing is for some reasen the e icon/button didn't show up on the admin page ! although I'm sure that I uploaded to the right loaction, my zencart version is 1.3.8a, I have only one admin for now but I'm planning to assign two more admins to have access, can anybody tell me what I did wrong and how to fix that problem !:no:
-
Re: Admin Profiles Support Thread
I'm still waiting for help !! :wacko:
-
Re: Admin Profiles Support Thread
This is a print-screen of the error message
-
Re: Admin Profiles Support Thread
Quote:
Originally Posted by
alhakeem2001
Please I need urgent help as I just installed the admin profile to my zencart and I can't access my admin menus, the thing is when I log in to my Admin page I get to my admin home page but whenever I click on any of the links on my admin menu I get this message " 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." and the other strange thing is for some reasen the e icon/button didn't show up on the admin page ! although I'm sure that I uploaded to the right loaction, my zencart version is 1.3.8a, I have only one admin for now but I'm planning to assign two more admins to have access, can anybody tell me what I did wrong and how to fix that problem !:no:
Hello alhakeem2001, maybe this extract from the Wiki will help:
http://www.zen-cart.com/wiki/index.p...ve_disappeared
Good Luck
-
Re: Admin Profiles Support Thread
Quote:
Originally Posted by
esavino
Ok but also with Admin_profiles 1.0.7 the configuration menu is not shown. I've installed the admin_profiles 1.0.7 as follow:
1) Install Patches SQL "install_admin_profile.sql"
2) Install Patches SQL "upgrade_admin_profiles.sql"
3) Replace folder admin with "admin_profiles_v1_0_7/admin"
4) Replace folder admin with "admin_profiles_v1_0_7extras - patched files for ZC1.3.8a/admin"
The file that doesn't function seems to be "configuration_dhtml.php".
If I replace this file with the original "configuration_dhtml.php" the configuration menù is shown but when I click on the sections (for example: info negozio, sessioni, regolamenti) I've the follow 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.
You've not done anything wrong here (although it wasn't necessary to install the upgrade SQL). Rather the problem is most likely a restriction in the way that Admin Profiles currently works, which makes it difficult to change language. If you have English installed as a language for your Admin, then if you switch into that the Configuration Menu should work. Alternatively you would need to change the values in the admin-files database table to match exactly the text for each entry in the Configuration drop down menu.
I have a Pro version (paid for and includes installation) which completely reworks the structure with a view to extending it to be multilingual, and adding language will be high on my list of features to trickle down to the community version.
-
Re: Admin Profiles Support Thread
Quote:
Originally Posted by
niccol
I am having problems installing admin_profiles.
In admin-tools-install sql patch : First I browse to the correct file and upload it. then I attempt to run it.
What I get is :
1064 You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'install_admin_profiles.sql' at line 1
in:
[install_admin_profiles.sql;]
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.
This is the first time I have used asql patch. So, this may be a obvious error on my part.
I am using Zen Cart 1.3.8a and it is admin profiles 1.0.7.
Any advice would be hugely appreciated!
Thanks
Nick
It's a big of a guess, but historically we used a funny back apostrophe thingy around fields because some MySQL installations seemed unhappy if we didn't. More recenly I've been hearing of versions that don't like it.
So I'd recommend making a copy of the installation SQL and doing a global find and replace to remove them all, and then try running that file. And please let us know how you get on.
-
Re: Admin Profiles Support Thread
@alhakeem2001
stickman's diagnosis is the same as I would have made if I'd got here earlier. Did that resolve the problem for you?
-
Re: Admin Profiles Support Thread
umm ok. I downloaded the admin_profiles_v1_0_7 and I backed up my public_html file before I began.
I then opened file zilla and uploaded the admin folder found in the admin_profiles_v1_0_7 folder. I then uploaded the admin folder found in the extras_patched files for ZC1.3.8a.
I also went to the Admin - Tools - Install SQL Patches and I chose the file install_admin_profiles SQL file from the admin_profiles_v1_0_7.
Now from what I can gather from the instruction (which are VERY confusing by the way) that's all the appropriate steps.
However when I log into my admin and I go to admin - Tools - Admin Settings I see the two admin passwords there. Mine and the one I'm trying to limit access to. I'm ID 1 and she is ID 2. But there is no Orange Circle with a white P as the instructions in the install.txt states. All that is there is a green with white e circle, a red with white x circle and a arrow looking triangle.
Where did I go wrong?
Please tell me here and possible if you can e-mail it to me - wittlethangz######################? If need be I can let you into my zencart to edit it. I need to get this where this girl can add her products but does not have access to other things. I tried very hard to follow the instructions and now I'm lost. I thought what I was doing was correct, but I don't see the p so I must have misstepped or misunderstood somewhere.
PLEASE HELP!
Thank you!
-
Re: Admin Profiles Support Thread
Quote:
Originally Posted by
kuroi
It's a big of a guess, but historically we used a funny back apostrophe thingy around fields because some MySQL installations seemed unhappy if we didn't. More recenly I've been hearing of versions that don't like it.
So I'd recommend making a copy of the installation SQL and doing a global find and replace to remove them all, and then try running that file. And please let us know how you get on.
Thanks for your answer.
Actually, what I did was re-download everything and start again. Much the same technique as whacking the TV or kicking your car. But like those techniques it seemed to work. Also, I got right level of swearing which is always important.
Sorry, not to be much help as I don't know why it did not play the game to begin with. But thanks for admin_profiles it does just what I need it to do and now works beautifully.
Nick
-
Re: Admin Profiles Support Thread
Quote:
Originally Posted by
wittlethings
Now from what I can gather from the instruction (which are VERY confusing by the way) that's all the appropriate steps.
...
Where did I go wrong?
Sorry that you found the installation instructions confusing. They have been refined with each release based on user feedback. But further constructive suggestions are always welcome.
It is a fairly complex install, which is why it's important to follow the instructions carefully and in order. From your description it sounds as though you first did step 2, then step 3, came back and did step 1, skipped steps 4 and 5 and are now unable to do step 6.
If that's accurate, then there's a big clue as to the problem. Step 1 must be done first. It can't be done after step 2 as Admin Profiles would block you from reaching the Admin > Tools > Install SQL Patches page. So this suggests that you have installed the files in the wrong place, which would also explain why step 6 doesn't work. I recommend checking the precise locations into which you have installed the files, against those helpfully listed for you in step 2 of the instructions.
-
Re: Admin Profiles Support Thread
@niccol
Glad you got it working and that it's of benefit.
-
Re: Admin Profiles Support Thread
Quote:
Originally Posted by
kuroi
You've not done anything wrong here (although it wasn't necessary to install the upgrade SQL). Rather the problem is most likely a restriction in the way that Admin Profiles currently works, which makes it difficult to change language. If you have English installed as a language for your Admin, then if you switch into that the Configuration Menu should work. Alternatively you would need to change the values in the admin-files database table to match exactly the text for each entry in the Configuration drop down menu.
I have a Pro version (paid for and includes installation) which completely reworks the structure with a view to extending it to be multilingual, and adding language will be high on my list of features to trickle down to the community version.
Thanks Kuroi, how can I purchase the Pro version? How much?
-
Re: Admin Profiles Support Thread
@esavino response sent by PM
-
Re: Admin Profiles Support Thread
Hi All,
Just installed Zen Cart, then installed Admin Profiles today.
Everything seems to have installed fine.
Question is: How do I use Admin Profiles module? Is there a tutorial anywhere? How do I create different users? Is there a "How to" for Admin Profiles module?
I can find the above for Zen Cart but I am specifically looking for instructions for Admin Profiles and creating separate users.
I have searched Google, kuroi site, and here...I am at a loss.
Thanks,
Darren
PS. Unimportant background info: I run a non profit website that has 13 community theatres. Some of the theatres are looking for online ticket shopping carts. We thought we could provide that for them. Each want to log on separately and upload or offer tickets. So, instead of categories we will put theatre names.
-
Re: Admin Profiles Support Thread
It's really easy. just log into admin, go to Tool > Admin Settings
- to create new user click Insert to add new user
- click the P icon to edit permissions.
that's it.
-
Re: Admin Profiles Support Thread
Quote:
Originally Posted by
dserhal
How do I use Admin Profiles module? Is there a tutorial anywhere? How do I create different users? Is there a "How to" for Admin Profiles module?
You don't create users with Admin Profiles. This is done through the normal Zen Cart route via Admin > Tools > Admin Settings.
If you have Admin Profiles setup correctly, you will also see an orange icon with a "p" and a button that says "Edit Permissions". These are the way into Admin Profiles. Clicking either will allow you to assign permission to that user to see specific menus and access (or not) the particular pages under those menus. If you get to the right place it's very straightforward, though videos are under consideration (since we do that for other things anyway)
Quote:
Originally Posted by
dserhal
Unimportant background info: I run a non profit website that has 13 community theatres. Some of the theatres are looking for online ticket shopping carts. We thought we could provide that for them. Each want to log on separately and upload or offer tickets. So, instead of categories we will put theatre names.
Actually rather important background info, since Admin Profiles won't help you to keep them apart as it controls access to Admin Pages not the functions within them.
There is a slightly differently and well-intentioned mod that aimed to do this, but it's full of holes. I did it once properly, but it involved over-writing so many Admin files as to make it unmaintainable. I also have an idea as to how to do it in a maintainable way, but that's a ton of one-off work and won't be happening anytime soon - sorry.
-
Re: Admin Profiles Support Thread
Quote:
Originally Posted by
newagekat
It's really easy. just log into admin, go to Tool > Admin Settings
- to create new user click Insert to add new user
- click the P icon to edit permissions.
that's it.
Wow. That was easy.
I just couldn't find instructions on how to do it.
Thanks so much newagekat.
-
Re: Admin Profiles Support Thread
Quote:
Originally Posted by
kuroi
You don't create users with Admin Profiles. This is done through the normal Zen Cart route via Admin > Tools > Admin Settings.
If you have Admin Profiles setup correctly, you will also see an orange icon with a "p" and a button that says "Edit Permissions". These are the way into Admin Profiles. Clicking either will allow you to assign permission to that user to see specific menus and access (or not) the particular pages under those menus. If you get to the right place it's very straightforward, though videos are under consideration (since we do that for other things anyway)
Actually rather important background info, since Admin Profiles won't help you to keep them apart as it controls access to Admin Pages not the functions within them.
There is a slightly differently and well-intentioned mod that aimed to do this, but it's full of holes. I did it once properly, but it involved over-writing so many Admin files as to make it unmaintainable. I also have an idea as to how to do it in a maintainable way, but that's a ton of one-off work and won't be happening anytime soon - sorry.
Uh-oh. Ok, so this module isn't really intended for the needs I have?
What I might have to do is set up a Zen Cart and Admin Profiles in a separate folder for each theatre that needs it:
Example:
nwindianatheatre.org/4thStreetTheatre/tix/ <--Cart+AdminProfile here
nwindianatheatre.org/CommunityTheatreGuild/tix/ <--Cart+AdminProfile here
nwindianatheatre.org/HammondCommunityTheatre/tix/ <--Cart+AdminProfile here
etc.
Anyone know of a better solution or am I bordering on asking this is the wrong thread? I thought Admin Profile would do this sort of thing.
-
Re: Admin Profiles Support Thread
The most straightforward way to tackle this would be to write a customer admin page that allows the theatres to do what you want them to be able to do for their category only, and then use Admin Profiles to restrict them to that page.
-
Re: Admin Profiles Support Thread
Quote:
Originally Posted by
kuroi
The most straightforward way to tackle this would be to write a customer admin page that allows the theatres to do what you want them to be able to do for their category only, and then use Admin Profiles to restrict them to that page.
Hmmm. How do I "write a customer admin page" that allows them to do what they want?
Maybe I should explain what I am looking for: I want our site to be able to host all 13 member theatres. I need 13 mini-carts under the admin.
So a theatre-goer/customer can come to our site, then go to the shopping cart. They then see all the member theatres listed (I was going to put them in categories). They click on the category of say 4th Street Theatre and see that one of the products is "Fiddler On The Roof July 18th 7pm". They buy that ticket(s). Now 4th Street Theatre can log into their category and see sales. 4th Street Theatre can also go into their category and add tickets(product) for their next production of "Cats". However, I do not want 4th Street Theatre to have the same access to Chicago Street Theatres category where they are adding tickets for "Phantom of the Opera". Does that make any sense?
All of the above should be under the nwindiantheatre.org cart Administrator.
I guess a similar analogy would be how you can have a master email account [email protected] and assign sub-accounts that the sub-account holders can customize. [email protected], [email protected] etc.
It sounded like Admin Profiles could do something like this.
-
Re: Admin Profiles Support Thread
hi I am trying to install the admin profiles.. but I seem to be lost. I see step one wants me to do something with sql.. this is where I'm totally lost. went in my admin/tools/sql and its greek to me.. I have no idea what to put there..
I'm really not such a dummy.. installed the zen and made a few changes but not extensive..
also reading on it first says its an easy drop and drag in filezilla.. then reading further its saying to take each file and individually drop into sections.. I'm lost again
do I just drop and drag the whole thing or do I put like for instance
auto-loaders into admin/autoloaders on ftp
boxes into admin/boxes on ftp
images into admin/ images and so forth
after this in the read me I'm totally lost.. sorry
I have to have this add on as I am scrapbook shop and will be having multiple designers adding their products and I can't have them wondering all over the site.. ya know? lol and besides every other shop I have designed for had this feature and those gals that owned them weren't the brightest lightbulbs in the pack.. how in the heck did they get this installed?? lol
Can someone walk me through this please..
thanks
Cat
-
Re: Admin Profiles Support Thread
not sure what to tell ya, its pretty basic ftp and sql, important thing is to Follow the instructions
It will add New files and overwrite a couple, the 1st thing you should do is BACKUP your site, primarily the admin section and your database because the sql query will add some new tables.
new files wont hurt anything as long as there isnt any existing file with the same name, when it comes to the "pre patched files, it will over write them, all will be fine as long as NO other modifications have been made to these pre patched files.
Quote:
Originally Posted by
outlawcat
hi I am trying to install the admin profiles.. but I seem to be lost. I see step one wants me to do something with sql.. this is where I'm totally lost. went in my admin/tools/sql and its greek to me.. I have no idea what to put there..
I'm really not such a dummy.. installed the zen and made a few changes but not extensive..
also reading on it first says its an easy drop and drag in filezilla.. then reading further its saying to take each file and individually drop into sections.. I'm lost again
do I just drop and drag the whole thing or do I put like for instance
auto-loaders into admin/autoloaders on ftp
boxes into admin/boxes on ftp
images into admin/ images and so forth
after this in the read me I'm totally lost.. sorry
I have to have this add on as I am scrapbook shop and will be having multiple designers adding their products and I can't have them wondering all over the site.. ya know? lol and besides every other shop I have designed for had this feature and those gals that owned them weren't the brightest lightbulbs in the pack.. how in the heck did they get this installed?? lol
Can someone walk me through this please..
thanks
Cat
-
Re: Admin Profiles Support Thread
Quote:
Originally Posted by
dserhal
Hi All,
Just installed Zen Cart, then installed Admin Profiles today.
Everything seems to have installed fine.
Question is: How do I use Admin Profiles module? Is there a tutorial anywhere? How do I create different users? Is there a "How to" for Admin Profiles module?
Yeah, here is a tutorial on adding different user and here is how to use Admin Profile module.
However, what is not explained in the tutorial and is actually my questions for coming here is ...
1. Why is the "Linkpoint CC Review" menu still visible when I only checkmarked "order" page?
2. In install instructions says ...
"However, this does not control whether the underlying pages are accessible or not, just whether the user can see them. They could still be accessed by a knowledgeable user entering a URL directly, or by any custom admin page that you choose to build for them."
Is that still true? It seems that when I tried to go to a "hidden url", I can not access it. I got error saying "Sorry your security clearance does not allow access."
This is good actually. But I'm wondering if the instructions are outdated?
-
Re: Admin Profiles Support Thread
Quote:
Originally Posted by
artcoder
1. Why is the "Linkpoint CC Review" menu still visible when I only checkmarked "order" page?
Linkpoint CC Review is not a standard Zen Cart function so it will come with its own box file. STep 4 of the installation instructions explain the need to edit that box file to insert the Admin Profiles code. A separate step-by-step guide explains, with an example, how to do this. In this case it almost certainly hasn't been done. (One of these days when I get a few moments free, I'll package up and release the next version which doesn't require changes to the box files).
Quote:
Originally Posted by
artcoder
2. In install instructions says ...
"However, this does not control whether the underlying pages are accessible or not, just whether the user can see them. They could still be accessed by a knowledgeable user entering a URL directly, or by any custom admin page that you choose to build for them."
Is that still true? It seems that when I tried to go to a "hidden url", I can not access it. I got error saying "Sorry your security clearance does not allow access."
This is good actually. But I'm wondering if the instructions are outdated?
The instructions are correct - merely turning off the menu entry (to which that paragraph refers) will not turn off the page, just hide it. The next paragraph (not quoted here) explains how to turn off the page as well. The Pro version does both in one go, and that feature will trickle down to the free version too when I've got some free time to move it forward.
-
Re: Admin Profiles Support Thread
Hi, I just installed Admin Profiles but when I go to admin > Tools > admin settings, it goes to my catalog instead. What did i do wrong? Please help.
-
Re: Admin Profiles Support Thread
Also found out that all my 3rd party contributions are no longer there.
-
Re: Admin Profiles Support Thread
tried reinstalling with no luck. I don't understand why I can't access admin settings. It keeps going to my catalog homepage. Please help.
-
Re: Admin Profiles Support Thread
Quote:
Originally Posted by
dealbyethan.com
Hi, I just installed Admin Profiles but when I go to admin > Tools > admin settings, it goes to my catalog instead. What did i do wrong? Please help.
This is a problem in your environment rather than in Admin Profiles. When Admin Profiles does page redirects it is always to a "Page Denied" screen, not the catalog home page. And the point at which you are experiencing this problem is before you have even attempted to get to the admin_control page (accessed from admin settings) that does the heavy lifting for AP.
My guess is that you have a version incompatibility issue in your cart. You haven't said how you installed AP. Did you patch the admin.php file or use the 1.3.8 version provided (which may have some incompatibilities with your 1.3.7 site)?
-
Re: Admin Profiles Support Thread
Hi Kuroi,
Thanks for your response. I am using v1.3.7. I thought the latest Admin Profiles was compatible with v1.3.7. I installed Admin Profiles first by patching the admin.php file myself but it didn't work. Then I use the v1.3.8 version provided but the problem persists. The admin.php files from v1.3.7 and v1.3.8 look identical.
-
Re: Admin Profiles Support Thread
Quote:
Originally Posted by
dealbyethan.com
The admin.php files from v1.3.7 and v1.3.8 look identical.
You're right they are. And since you tried patching and replacing, that's not the answer. But you problem is most likely that you're not getting to this file anyway. There was an outside chance that you were getting into to it and then being redirected away. This can be tested by inserting some debug statements into it.
But first, what is the URL that appears bottom left of your browser when you hover over the admin settings link in the admin menu?
-
Re: Admin Profiles Support Thread
Hi, the url is mywebsite.com/admin/admin.php
For your information, I did rename the admin folder to something else. Will this be a problem?
-
Re: Admin Profiles Support Thread
I am afraid I will have to uninstall this module as I still can't figure out what went wrong.
How do I uninstall? Is there an uninstall script or sql?
-
Re: Admin Profiles Support Thread
I have just recently found this thread/post, and I couldnt believe it when I started reading through and found "dserhal" posting a couple days ago. This is EXACTLY what I have wanted to achieve.
I originally wanted a site similar to etsy.com"]www.etsy.com or bigcartel.com
They allow a user to create an account and create their own SIMPLE store which they can add, modify, and link a paypal account to. After a lot of digging I realized this would require some expensive custom programming and decided to open a storefront with Zen cart.
With some other mods I have really made Zen Cart work for me and am happy with the direction. However. just like "dserhal" it would be great to now allow my "vendors" access to only their products and categories and allow them to edit and add at will. This way I wouldnt have to do all the modifications when they have a new product etc. Is there a way to do this with this mod...or any others out there that anyone knows of?
Thanks so much for the additions and help!
Cody
-
Re: Admin Profiles Support Thread
Quote:
Originally Posted by
dealbyethan.com
How do I uninstall? Is there an uninstall script or sql?
Uninstalling is little more than reversing the installation instructions - if anything it's easier.
Replace the box files with the equivalents from a fresh Zen Cart release pack. Reverse the patches listed on step 3. Delete the files listed in steps 2. Delete the admin_menu_headers, admin_visible_headers, admin_files and admin_allowed_pages tables from your database and you're done.
-
Re: Admin Profiles Support Thread
Thanks Kuroi. What a shame. We were so looking forward to making use of this module. Why didn't it work for us? Are we the only one?
-
Re: Admin Profiles Support Thread
Quote:
Originally Posted by
dealbyethan.com
Thanks Kuroi. What a shame. We were so looking forward to making use of this module. Why didn't it work for us? Are we the only one?
The mod has been around for over three years and it's the first time I've heard of a problem like this and, from your description of the symptoms, I still not convinced that Admin Profiles was the culprit.
-
Re: Admin Profiles Support Thread
Hi Kuroi,
This is getting very strange. We uninstalled the module by deleting and restoring files as well as dropping those tables from the database but we still can't access Tools > Admin Settings. It keeps going to the catalog homepage. What is going on? We swear before installing this module, we could access it. Please help.
-
Re: Admin Profiles Support Thread
Quote:
Originally Posted by
dealbyethan.com
This is getting very strange. We uninstalled the module by deleting and restoring files as well as dropping those tables from the database but we still can't access Tools > Admin Settings. It keeps going to the catalog homepage. What is going on? We swear before installing this module, we could access it. Please help.
It would have been more strange if it had solved the problem. Admin Profiles isn't doing anything at the point at which you experience the issue, so although you see the problem as having arrived when you installed it, I can't see any way that AP could have caused it.
To track this down, I think you're going to need to insert some debug statements into your admin pages to trap the point at which the redirect occurs, and then track back to the cause.
-
Re: Admin Profiles Support Thread
Hi Kuroi
How do we insert some debug statements?
-
1 Attachment(s)
Admin Profiles Alert
The recently-released Admin security patch adds a security token to most forms that update the database. More security is a good thing. However in this case the new security token prevents current versions of Admin Profiles from updating admin user profiles.
Attached is a patch that makes Admin Profiles files compatible with the Zen Cart patch. Simply replace your admin/admin_control.php file with the one in the zip archive below. The Admin Profiles patch will work whether or not you have the Zen Cart security patch installed, and so is recommended.
A full updated version of Admin Profiles will be submitted to the downloads area for approval within the next few minutes.
-
Re: Admin Profiles Support Thread
Hi Kuroi
How do I insert debug statements to find out what my issue is?
-
Re: Admin Profiles Alert
Quote:
Originally Posted by
kuroi
Thanks Kuroi, your a life saver :wink:
-
Re: Admin Profiles Alert
Quote:
Originally Posted by
kuroi
The recently-released Admin security patch adds a security token to most forms that update the database. More security is a good thing. However in this case the new security token prevents current versions of Admin Profiles from updating admin user profiles.
Attached is a patch that makes Admin Profiles files compatible with the Zen Cart patch. Simply replace your admin/admin_control.php file with the one in the zip archive below. The Admin Profiles patch will work whether or not you have the Zen Cart security patch installed, and so is recommended.
A full updated version of Admin Profiles will be submitted to the downloads area for approval within the next few minutes.
Thanks for the Admin Profiles patch for the ZC security patch.
I had overlooked it before today. Is there a way you could send out to other Admin users a single notice about your update? I just worry that other Admin Profile users who might have missed the first Admin Profiles security patch notice will find themselves later locked out (and I bet cause some confusion on this thread).
Just a thought.
Sawhorse
-
Re: Admin Profiles Support Thread
Hi,
I'm using Zen Cart v1.3.8a/v1.3.8 with Admin Profile. I'm not sure about it's version so I'm just pasing a header:
/**
* @package admin profiles
* @copyright Copyright kuroi web design 2006-2007
* @copyright Portions Copyright 2004 Jonathan Kontuk
* @copyright Portions Copyright 2003 osCommerce
* @license http://www.zen-cart.com/license/2_0.txt GNU Public License V2.0
* @version $Id: admin_profiles.php - last updated 2006-05-01 by kuroi
*/
My problem is that even if I log in as the most privileged user (I tested it also with another administrative user account) I cannot set up user permissions. I am able to see f.ex. this page: http://<my_domain>/store/<admin_path>/admin_control.php?adminID=3 and I am able to check any fields abut as soon as I click "Save Changes" it takes me to admin's home page and when I check again user settings they are NOT changed.
Thy only way I can modify them is to change <prefix>_allowed_pages DB table.
Can you please help me to fix it?
-
Re: Admin Profiles Alert
Quote:
Originally Posted by
Sawhorse
Is there a way you could send out to other Admin [Profiles] users a single notice about your update?
Anybody can download use Admin Profiles from the downloads area with no need to identify themselves. Also many developers put it on sites for their clients. So there is no central registry of users and the only way that I know of to communicate with people with an interest in this mod is via this thread.
-
Re: Admin Profiles Support Thread
Quote:
Originally Posted by
smatric
My problem is that even if I log in as the most privileged user (I tested it also with another administrative user account) I cannot set up user permissions. I am able to see f.ex. this page: http://<my_domain>/store/<admin_path>/admin_control.php?adminID=3 and I am able to check any fields abut as soon as I click "Save Changes" it takes me to admin's home page and when I check again user settings they are NOT changed.
Sounds like you've applied the Zen Cart security patch, but not the Admin Profiles patch that goes with it. Look back 6 posts.
-
Re: Admin Profiles Support Thread
Quote:
Originally Posted by
kuroi
Sounds like you've applied the Zen Cart security patch, but not the Admin Profiles patch that goes with it. Look back 6 posts.
Thank you so much. That's exactly what I needed.
-
Re: Admin Profiles Support Thread
Hi Kuroi,
I am contemplating the installation of your AddOn and I read the install.txt that comes with it and this seems like a great and easy to install AddOn but I have one little problem understanding or anticipating the amount of work that needs to be done considering the fact that I have several AddOns installed already:
- captcha_using_ttf__gd_v2-8_28-04-2007.zip
- hidecategories_1-10.zip
- sitemapxml__formerly_google_sitemap_2-1-0.zip
- faq_page_v1-0.zip
In your install.txt you write that "A well constructed contribution will either add to or provide a box file".
My question is: How do I know which AddOn (that I installed) requires this very careful and tedious manual editing of its box file?
Thanks very much.
-
Re: Admin Profiles Alert
Quote:
Originally Posted by
kuroi
... there is no central registry of users and the only way that I know of to communicate with people with an interest in this mod is via this thread.
Yep, that is what I thought. It was just an administrative hope.
Sawhorse
-
Re: Admin Profiles Support Thread
I just installed admin profiles on 3 of my websites (all zen 1.3.8a). It worked perfectly on two of them but on one site I am not able to add new admin profiles. Once I click "Insert", add details (admins name, email, password) then when I click on "Save" it takes me to the main admin page (admin/index.php) and the admin profile is not inserted. How do I recify this?
Also I noticed that though the orange "Permissions" button now appears at the side of my existing admin profile, the changes I make in the permissions are not saved.
Could anyone please help me out?
Thanks for your help.
Harshil Zaveri
-
Re: Admin Profiles Support Thread
Quote:
Originally Posted by
gerard119
In your install.txt you write that "A well constructed contribution will either add to or provide a box file".
My question is: How do I know which AddOn (that I installed) requires this very careful and tedious manual editing of its box file?
If the add-on has a box file, it will need tweaking. It's not particularly tedious though, only takes a few seconds.
-
Re: Admin Profiles Support Thread
Quote:
Originally Posted by
starruby
I just installed admin profiles on 3 of my websites (all zen 1.3.8a). It worked perfectly on two of them but on one site I am not able to add new admin profiles. Once I click "Insert", add details (admins name, email, password) then when I click on "Save" it takes me to the main admin page (admin/index.php) and the admin profile is not inserted. How do I recify this?
See post #757
-
Re: Admin Profiles Support Thread
Quote:
Originally Posted by
kuroi
See post #757
Hi kuroi,
Thanks for your help. I already applied the patch (admin_control.php) but both problems persist.
Anything else I can do?
Thanks,
Harshil Zaveri
-
Re: Admin Profiles Support Thread
Quote:
Originally Posted by
starruby
Thanks for your help. I already applied the patch (admin_control.php) but both problems persist.
Anything else I can do?
Let's go back to your admin.php file. How did you make the changes needed for installation there, by patching it manually, or using the pre-patched file available with in the release pack?
-
Re: Admin Profiles Support Thread
Quote:
Originally Posted by
kuroi
Let's go back to your admin.php file. How did you make the changes needed for installation there, by patching it manually, or using the pre-patched file available with in the release pack?
I used the pre-patched file available with the release pack.
I never changed that particular file since zen cart installation. I tried uploading the original zen cart admin.php file but still doesn't work.
-
Re: Admin Profiles Support Thread
Quote:
Originally Posted by
starruby
I used the pre-patched file available with the release pack.
I never changed that particular file since zen cart installation. I tried uploading the original zen cart admin.php file but still doesn't work.
Have you applied the Zen Cart security patch (i.e. as opposed to the Admin Profiles patch)? If so, are you sure that it was applied correctly (i.e. all files in the right places)?
Since you're having a problem creating a new user, and that's not something that Admin Profiles is involved in, what other mods do you have installed?
-
Re: Admin Profiles Support Thread
Quote:
Originally Posted by
kuroi
Have you applied the Zen Cart security patch (i.e. as opposed to the Admin Profiles patch)? If so, are you sure that it was applied correctly (i.e. all files in the right places)?
Since you're having a problem creating a new user, and that's not something that Admin Profiles is involved in, what other mods do you have installed?
Yes I have installed the zen cart security patch too. I will re-install it to make sure the files are in the right places.
I have several mods installed so it would be very difficult to pinpoint where the problem lies!
-
Help with Admin Profiles
Everything for admin profiles was installed but when I go to Admin Setting and Click on Permissions and click select all for the 3rd party add-ons to be allowed and click save changes, nothing happens, it still gives me security clearance error, and I need to use my add-ons asap! Otherwise please help me with removing admin profiles. Thank you.
-
Re: Admin Profiles Support Thread
Hi,
Here's my problem. I am struggling to get easy populate to work. So, have installed and removed it completely a few times.
When I uninstall it the box in admin profiles 'edit permissions' is still there.
How do I get rid of this box? I just want to clear everything down to a blank state. I think that I know what I was doing wrong with EP so should be able to get it to play this time.
Thnx
-
Re: Admin Profiles Support Thread
For the record, we're having the same issue as starruby on 2 sites that we know of... no changes recorded in admin profiles and can't add new admin, and attempting either returns to the admin main page.
And one of the sites has just reported that they can't create a new category - this also loops back to admin home.
-
Re: Admin Profiles Support Thread
Uninstalling the Security patch cures all my reported problems.
-
Re: Admin Profiles Support Thread
Weird things going on with my Admin Profiles... Since the ZenCart security patch, and renaming my admin folder- this is the only mod that is acting up. Everything else seems to be working fine. Looking a little closer on this, but I do believe that there is a direct link somewhere that is where the problem is.
I'll post back if I find any conclusive evidence or a fix- whichever comes first.
-
Re: Admin Profiles Support Thread
I'm running 1.3.7 and applied the zencart security patch. Then I couldn't edit permissions.
Applied new admin_control file from patch here:
http://www.zen-cart.com/forum/showpo...&postcount=751
Now all seems to working fine with the admin control mod
-
Re: Admin Profiles Alert
Thank you! Worked like a dream...
Toiny
Quote:
Originally Posted by
kuroi
The recently-released Admin security patch adds a security token to most forms that update the database. More security is a good thing. However in this case the new security token prevents current versions of Admin Profiles from updating admin user profiles.
Attached is a patch that makes Admin Profiles files compatible with the Zen Cart patch. Simply replace your admin/admin_control.php file with the one in the zip archive below. The Admin Profiles patch will work whether or not you have the Zen Cart security patch installed, and so is recommended.
A full updated version of Admin Profiles will be submitted to the downloads area for approval within the next few minutes.
-
Re: Admin Profiles Support Thread
I'd like to report a bug with Admin Profiles.
I've installed the latest version for a client and some of the checkboxes cannot be saved as checked. There is something in common with each of the names of the checkboxes, they all have a "." in the name:
- m1 fua.admin
- m1 performance.admin
- m1 performance.admin
Other M1 modules work fine:
- m1 brokerbin
Any ideas?
-
Re: Admin Profiles Support Thread
numinix,
Change them to underscores
- m1 fua_admin
- m1 performance_admin
- m1 performance_admin
-
Re: Admin Profiles Support Thread
I just installed admin users restrict product categories. When I go to permissions, I see, categories at the bottom, but none of my two test categories are listed. How do I restrict by categories?
Thanks!
-
Re: Admin Profiles Support Thread
Quote:
Originally Posted by jupitergardens
I just installed admin users restrict product categories.
This thread is support for the "Admin Profiles" module - -
Is there another module for restricting product by categories??
If not:
Quote:
Originally Posted by jupitergardens
When I go to permissions, I see, categories at the bottom, but none of my two test categories are listed. How do I restrict by categories?
This module is not designed to turn Zen Cart into a shared/mall type of script where many can enter their own products -
Zen Cart is designed to sell your own products
-
Re: Admin Profiles Support Thread
Quote:
Originally Posted by
kobra
This thread is support for the "Admin Profiles" module - -
Is there another module for restricting product by categories??
If not:
This module is not designed to turn Zen Cart into a shared/mall type of script where many can enter their own products -
Zen Cart is designed to sell your own products
The module I downloaded was called "admin_users_restrict_product_categories" and inside it was the folder "admin_profiles_v1_0_8" which said at the top of the install.txt file "Install Notes for Admin Profiles v1.0.8
This version differs from 1.0.7 as categories permissions added." And the support thread link is this one.
Reading that, it makes me think that I can restrict admin users as to specific categories of products.
Thanks.
-
Re: Admin Profiles Support Thread
Quote:
Originally Posted by jupitergardens
The module I downloaded was called "admin_users_restrict_product_categories"
Sorry, I had not seen that Module!!
But the Author has not created a Support thread??
Admin Users - Restrict Product Categories
Author: Archelay
Support Thread none
Admin Profiles
Author: Kuroi
Support Thread at http://www.zen-cart.com/forum/showthread.php?t=35911
Maybe, Kuroi will answer for it???
-
Re: Admin Profiles Support Thread
Quote:
Originally Posted by
kobra
Sorry, I had not seen that Module!!
But the Author has not created a Support thread??
Admin Users - Restrict Product Categories
Author: Archelay
Support Thread none
Admin Profiles
Author: Kuroi
Support Thread at
http://www.zen-cart.com/forum/showthread.php?t=35911
Maybe, Kuroi will answer for it???
Yeah, I was startled, to say the least, when the support thread led here. Perhaps the author just left in the admin profiles info, because the admin profiles wiki was also given. :(
-
Re: Admin Profiles Support Thread
Quote:
Originally Posted by
jupitergardens
I just installed admin users restrict product categories. When I go to permissions, I see, categories at the bottom, but none of my two test categories are listed. How do I restrict by categories?
As Kobra says, this is not the support thread for that mod. I don't believe that there is one. Nor do I recommend use of the mod.
The background is that the author of the "admin users restrict product categories" conceived of it as an extension to Admin Profiles and submitted it as a new version of AP (this is why you find references to AP in its documentation). Normally this would be fine and his enterprise was certainly appreciated. Unfortunately, the approach was deeply flawed. It does what it claims to do in a very limited way only, leaving open a number of ways to circumvent the restrictions.
This caused concern to me and this forum's administrators, since Admin Profiles is a key security tool for many site, so to for the "latest" version to be inherently insecure would be a major issue for many Zen Cart users. The decision taken was to "fork" the mod so that the existing Admin Profiles would continue to be available for those wanting a well-proven and secure solution and the new functionality would be available separately for those prepared to take a chance or to help develop it into something more secure.
I explained privately to the new mod's author the weaknesses in the approach and the work that would be needed to plug them, and to maintain the mod. Sadly he appears to have decided that this is too big a commitment. However, I understand as it involves a large number of changes across multiple parts of the Admin, would be virtually unmaintainable and would likely be overwhelming in terms of the support that would be needed for users.
Not an answer to your question I'm afraid. More a recommendation not to use that mod.
-
Re: Admin Profiles Support Thread
Quote:
Originally Posted by
numinix
I'd like to report a bug with Admin Profiles.
I've installed the latest version for a client and some of the checkboxes cannot be saved as checked. There is something in common with each of the names of the checkboxes, they all have a "." in the name:
- m1 fua.admin
- m1 performance.admin
- m1 performance.admin
Other M1 modules work fine:
- m1 brokerbin
Any ideas?
Not sure that I would categorize this as a bug. M1 macros are written for various carts and then hacked (in different ways each time it seems) to work with Zen Cart. As a result they do various things that are at variance with Zen Cart standards including using a variety of file different naming conventions. I think that I may already have dealt with this one in my Pro version of AP. If so I'll whip the code out and make it a patch for the free version. Hopefully, will be able to get to that later today.
-
Re: Admin Profiles Support Thread
Quote:
Originally Posted by
kuroi
Not an answer to your question I'm afraid. More a recommendation not to use that mod.
Actually, Kuroi, that is an answer to my question, so THANK YOU. Alas, it probably means that Zen Cart isn't for me, but that does answer my question. So thanks!
-
Re: Admin Profiles Support Thread
Quote:
Originally Posted by
kuroi
Not sure that I would categorize this as a bug. M1 macros are written for various carts and then hacked (in different ways each time it seems) to work with Zen Cart. As a result they do various things that are at variance with Zen Cart standards including using a variety of file different naming conventions. I think that I may already have dealt with this one in my Pro version of AP. If so I'll whip the code out and make it a patch for the free version. Hopefully, will be able to get to that later today.
Sounds great Kuroi, thank you for looking into this.
-
Re: Admin Profiles Support Thread
If this is not a support thread for the Admin Profiles - Restricted Categories mod, and it is not recommended to use that mod due to serious "flaws" in the code, then just what are we to do once we have that mod installed and it malfunctions?
Why is the mod available for download if it's not recommended?? Now I have a customer who has come to me looking to fix the issues she is having with this mod (which was installed for her by someone else).
It would alleviate a LOT of hassle for zen-cart owners to not be offered junk mods that are KNOWN to be flawed. Why, when it was found to be flawed and known to not be supported, was it left for us to download? Just curious.
So, I have just now downloaded this mod to try and figure out how I might help my customer fix her issue (the changes made to the settings no longer "take") and in my investigative journey I have been led here.
Anyone know how/why changes to settings would no longer take? Barring being able to fix it for lack of a support thread, does anyone know how she might uninstall it?
Thanks for any help. Sorry to post for help here, but there is no other link in the documentation specified.
-
Re: Admin Profiles Support Thread
I have the latest update on zen but all of sudden we are no longer allowed to change the permissions OR add permissions to admin profile.
I know I'm most likely not explaining this well but if you go into zen then tools then admin settings choose an admins name and click on edit permissions we have always been able to turn on and off parts of our zen cart to our designers now it will not allow us to change any permission or add any permissions. You can add a new admin's name but it will not allow any permissions to be saved.
Any help would be greatly appreciated.
***I am sorry I posted I did not realize that signs had post... they are the great folks helping me with this please disregard this post.
-
Re: Admin Profiles Support Thread
Quote:
Originally Posted by
signs
If this is not a support thread for the Admin Profiles - Restricted Categories mod, and it is not recommended to use that mod due to serious "flaws" in the code, then just what are we to do once we have that mod installed and it malfunctions?
*I* recommend that people not use it, as it doesn't achieve what it sets out to achieve and can wrongly cause site owners to think that they are more secure than they are. That's not an official Zen Cart position. The Zen Cart team don't normally take positions on the quality of add-ons. There are over a thousand and there's no way that they could thoroughly vet all of them. I do recommend doing a search on any add-on before installing it.
Quote:
Originally Posted by
signs
Why is the mod available for download if it's not recommended?? Now I have a customer who has come to me looking to fix the issues she is having with this mod (which was installed for her by someone else).
Mods, good, bad and indifferent that are contributed by the Zen Cart community are made available. Even if they're bad, the approach may be of use to somebody else who then sorts out the problems. Some of the best mods available today have evolved this way.
Quote:
Originally Posted by
signs
It would alleviate a LOT of hassle for zen-cart owners to not be offered junk mods that are KNOWN to be flawed. Why, when it was found to be flawed and known to not be supported, was it left for us to download? Just curious.
I wouldn't actually characterize it as junk, just flawed. The Zen Cart team would not normally know if a mod is supported or not. In this case that's just my personal observation that nobody other than me seems to be answering questions about it at the moment.
Quote:
Originally Posted by
signs
So, I have just now downloaded this mod to try and figure out how I might help my customer fix her issue (the changes made to the settings no longer "take") and in my investigative journey I have been led here. Anyone know how/why changes to settings would no longer take? Barring being able to fix it for lack of a support thread, does anyone know how she might uninstall it?
Kelin's post just after yours suggests that the mod was working. I rather wonder whether it suffered the same incompatibility with the Zen cart Cart security patch as did Admin Profiles. The change to make AP work was to use the official Zen Cart form building function. Uninstallation is probably similar to that for Admin Profiles, which is described in post #745 above.
-
Re: Admin Profiles Support Thread
signs,
Quote:
Originally Posted by signs
All things in your post
At the very entrance to the downloads section is this warning:
Quote:
Community contributed additions for your shop. USE AT YOUR OWN RISK - No warranty expressed nor implied.
All of these are 3rd Party - and you can also locate on the www probably a 1,000+ more.
The ZenCart team has allowed the space and the bandwidth to host these in one locale and if an author desires to support it also a central community for issues
The RULE as it is in most thing is
******************** CAVEAT EMPTOR ********************
Or as Kurio more eloquently states it - do your reasearch
-
Re: Admin Profiles Support Thread
Zen Cart is open source. It is incredibly easy to use and well supported for an open source application. Any ideas about what Zen Cart 'should' or 'shouldn't' do are missing the point of the open source concept.
But this is probably part of a different thread....
-
Re: Admin Profiles Support Thread
My apologies.:blush: I should have waited and let the frustration just wash over me and come to a more "zen" like attitude before posting. Had I done so, I would have told myself all those things about "use at your own risk", "open source", "nobody could possibly police all the mods and all the possible mod/cart version combinations to know what works and doesn't".
Sorry, just hadn't had enough coffee yet and was hoping that since there was a link to a support thread that it really did have one.
I love zen-cart and appreciate all the big brained people who contribute.:D
Just wish that mod functioned as it said. :shocking:
Kuroi, did you figure out how to recover from what happened to AP after the patch?
-
Re: Admin Profiles Support Thread
kuroi and all the other big brains here. signs was not mad at zen or anyone here. She did not install my zen I just dumped it in her lap when something went wrong... she was angry at the person who installed this mod and did NO research before installing it...
Does anyone have any mods that I could replace this mod with? Any help at all? All I want is add admins and they not see or have access to parts of my zen... granted the ladies in my store are not big brains and would not be poking around in zen trying to hack the mod to get to the areas that I was blocking... heck guys I have to talk them through loading their products... they are great ladies - but they are designers of digital art not computer wizards.
Any help would be GREATLY appreciated.
-
Re: Admin Profiles Support Thread
Well, admin profiles is a great mod (with no extra addons :smile:)and does pretty much what you require. You just won't be able to restrict your users from seeing other user's categories.
But as you say they are all great girls so why would that be a problem? What admin profiles is great for is letting them upload products without you, or them, having to worry about messing the site up. You can just give them access to the products and category section.
I've run shops like that and would just say that it is worth putting together an 'idiots guide to uploading products'.
If I was you I would uninstall all the admin profiles stuff and then re-install a clean version - remembering the patch for the recent security patch :smile:
As, I said my open source rant was best left to another thread. So, apologies for that :blush:
-
Re: Admin Profiles Support Thread
Well, here I am with some of the previous people who installed the recent security patch and when we went to add an admin permission, it was not saved.
So, I found this thread, and the first thing I saw was the admin_control.php download from the author for an instant patch. So I downloaded it.
But alas, that gives me an SQL error:
1146 Table 'zzzzzzz_sandbox.TABLE_ADMIN_ALLOWED' doesn't exist
in:
[select * from TABLE_ADMIN_ALLOWED where page_id = '1' and admin_id = '3']
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 downloaded the complete new one from the add-ons page, installed from the extras directory - there were just a couple files, but admin_control.php was not one of them.
If I revert my admin_control.php file, the sql error goes away, but it does not save the change I request.
I don't know what I've missed here, but I could use a sane voice to get me past this. Pretty please with ... ice cream?!
Thank you in advance for any assistance,
deb
-
Re: Admin Profiles Support Thread
Quote:
Originally Posted by
signs
My apologies.
Not needed in my book. Your frustration was understood and my replies intended to explain rather than criticise.
Quote:
Originally Posted by
signs
Kuroi, did you figure out how to recover from what happened to AP after the patch?
Yes. There's a patch file a little way up this thread and included in the latest release of AP.
But here's what you might want to try in the admin/admin_control.php file of mod you're using ...
find the line
PHP Code:
<form id="profileBoxes" name="profileBoxes" action="admin_control.php?adminID=<?php echo $adminID; ?>&action=save" method="post">
and replace it with
PHP Code:
<?php echo zen_draw_form('profileBoxes', FILENAME_ADMIN_CONTROL, 'adminID=' . $adminID . '&action=save', 'post', 'id="profileBoxes"', 'true'); ?>
As a way of guiding kelin's ladies to the right places to make their changes, it's OK. If they're technical and malicious then they would be able to circumvent it, but it's still better than nothing or vanilla AP.
-
Re: Admin Profiles Support Thread
Quote:
Originally Posted by
Debbers
Well, here I am with some of the previous people who installed the recent security patch and when we went to add an admin permission, it was not saved.
So, I found this thread, and the first thing I saw was the admin_control.php download from the author for an instant patch. So I downloaded it.
But alas, that gives me an SQL error:
1146 Table 'zzzzzzz_sandbox.TABLE_ADMIN_ALLOWED' doesn't exist
in:
[select * from TABLE_ADMIN_ALLOWED where page_id = '1' and admin_id = '3']
Deb
The offer of ice cream always helps. Here's what I think has happened. I think that like kalin/signs in recent posts you don't have Admin Profiles installed, you actually have the Admin Restrict Product Categories. Unfortunately the author of that fork from Admin Profiles renamed one of the tables. I can see why, and understand, but it does make an installation of that mod incompatible with the main Admin Profiles stream.
If my hypothesis is correct, then the patch I did for AP won't work for you. However (and I haven't tested this) the single line change that I posted immediately prior to this post probably will.
-
Re: Admin Profiles Support Thread
Hi All,
I have recently installed this mod without any issues. I have found that some of the mods like User tracking, sales report and some others wont let me access them. There seems to be no check box with their name next to in the admin settings > . . .
There are a few check boxes that have no name next to them and I'll put the check in the box and save changes only to find on reload that the check are no longer there.
I have talked this into letting me into sales report a few times (not sure how) but now I have no access to it again.
What is going on with this mod? Is there a way to exclude a user from having limitations? Basically if the user is #1 don't check to see what they do or don't have access to. Just allow it all for that user.
Thanks,
John
-
Re: Admin Profiles Support Thread
I've just started having a problem.
My cart is 1.3.8a
Admin Profiles v.1-0-7
When I go into the Admin settings, it won't let me 'Save' permissions. I check off all the permission boxes, click save and it kicks me out to the main Admin section and doesn't save the changes.
The only changes made to the cart recently was the recent Security patch and changing the admin name. It worked perfect before.
I discovered it when adding a new mod (cross-sell) which I now can't give anyone (including myself) permission to use. :(
I've used this mod in conjunction with Admin Profiles before without any issues, so I'm assuming it has to be something linked to the Patch or the admin name change.
Any idea what the problem could be?
Thanks!
Oooops! Nevermind. I just read back and realized the question had already been answered. Off to search for the patch. :)
-
Re: Admin Profiles Support Thread
Quote:
Originally Posted by
numinix
Sounds great Kuroi, thank you for looking into this.
Hi Kuroi, I'm following up to see if you had a chance to look into why some of the M1 modules cannot be checked?