-
Re: Admin Profiles Support Thread
Actually, I got it. Once you pointed out that admin_visable_tables didn't exist, I simply imported the install_admin_profiles.sql into the database using the import function from php my admin.
Thanks so much for the help :)
Sorry for the delay getting back to you, I just got a break for lunch a few minutes ago
-
Re: Admin Profiles Support Thread
..sorry guys, but I don't have the time to check through all the posts in this thread :blush:
How do I add two customers (the owners of the website) to the admin area? Me, as the webmaster is ID# 1
I'd like to give both of them certain admin duties. Do I only 'insert' a new admin? Won't the changes override ID# 1?
Thanks in advance!
-
Re: Admin Profiles Support Thread
Quote:
Originally Posted by
rooisnor
How do I add two customers (the owners of the website) to the admin area? Me, as the webmaster is ID# 1
I'd like to give both of them certain admin duties. Do I only 'insert' a new admin?
Admin > Tools > Admin Settings as normal then click on the orange button to set their permissions.
Quote:
Originally Posted by
rooisnor
Won't the changes override ID# 1?
No.
-
Re: Admin Profiles Support Thread
Thanks, in other words I click on 'INSERT' and add their names and passwords?... then click on the orange button to set their permissions?
[EDIT] Thank you.. I took a chance and add an account.. it works! Great add on, thanks!
-
Re: Admin Profiles Support Thread
ok, I add a new admin and set his permissions but now I'm as the admin gets this error 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.
-
Re: Admin Profiles Support Thread
...seems to me if you login as Admin again, the error disappear...
-
Re: Admin Profiles Support Thread
...nope, I still get this error when I click on other links inside the admin. Any help will be appreciated
-
Re: Admin Profiles Support Thread
I think I found the problem for now. I logged in as a test account but used the same browser IE. I changed to Firefox and logged in as the Admin and the problem is solved. Otherwise the admin account will bounce back to the 'test account admin'
Thought I'll just mention this.
-
Re: Admin Profiles Support Thread
I am having this issue
1146 Table 'personal_zc1.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.
-
Re: Admin Profiles Support Thread
Any news regarding the new update Kuroi?
Regards
Raine
-
Re: Admin Profiles Support Thread
Quote:
Originally Posted by
rooisnor
I think I found the problem for now. I logged in as a test account but used the same browser IE. I changed to Firefox and logged in as the Admin and the problem is solved. Otherwise the admin account will bounce back to the 'test account admin'
Thought I'll just mention this.
This isn't normal Admin Profiles behavior and sounds like a problem or incompatibility in your local infrastructure. What version of Zen Cart are you using? What version of Admin Profiles?
-
Re: Admin Profiles Support Thread
Quote:
Originally Posted by
SonyaT
I am having this issue
1146 Table 'personal_zc1.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.
Quote:
If you are using a database prefix for your Zen Cart tables, you must either: run the install_adminlevels.sql file using Zen Cart's Admin > Tools > Install SQL Patch facility, or edit the file to change the prefix for all create table and insert statements, before running it using your preferred tool.
You are using the prefix "zen_".
-
Re: Admin Profiles Support Thread
Quote:
Originally Posted by
yellow1912
Any news regarding the new update Kuroi?
Regards
Raine
Pressure, pressure. :cry:
I have all the notes, just need a few minutes to actually implement them. Will bump it up the priorities again. :wink:
-
HELP WITH Admin Profile Mod
could someone tell me what the code should b for this im not a coder have no clue on it but i was readin the instructions but all the new updated download talks about is image handler instead of admin profile mod
-
Re: Admin Profiles Support Thread
The only references to Image Handler in Admin Profiles are as an example in the step-by-step guide to updating box files and have been there for the past two and half years. If you're finding them confusing, just ignore the example.
If that's still too difficult, then I'm afraid you already have my best shot at explaining this and I would recommend that you either employ somebody from the Commerical Help Wanted section of this forum to do it for you, or wait until I release the next version which I hope will do away completely with the need to change box files.
-
Re: Admin Profiles Support Thread
hello, I've installed this mod and it is great, thanks.
i need this mod to charge products from another person.
How can I set in way that this person don't see the
www.mysite.com/admin/index.php ???
I would that this person don't see my sales.
How can I do?
Please.
Thanks a lot
:smile:
-
Re: Admin Profiles Support Thread
Quote:
Originally Posted by
giuly
This was answered in detail earlier in this thread. Use the "search this thread" option to search for "admin home page" and it will be at the top of the list.
(or maybe 2nd when I post this!)
-
Re: Admin Profiles Support Thread
thanks and sorry, I've searched but I write terms traduced from italian, I don't know english at the top, and so I didn't find the post.:blush:
Thanks a lot, now I found and I'll try.:P
-
Re: Admin Profiles Support Thread
Quote:
Originally Posted by
giuly
thanks and sorry, I've searched but I write terms traduced from italian, I don't know english at the top, and so I didn't find the post.:blush:
Thanks a lot, now I found and I'll try.:P
No apology needed. I'd guessed that English might not be your first language and that you probably didn't know the search terms needed to find the answer. Good luck.
:wink:
-
1 Attachment(s)
Re: Admin Profiles Support Thread
Quote:
Originally Posted by
kuroi
There are no switches to turn this off (though they are on the TO DO list for a future version of Admin Profiles.
For the time being you would have to make code changes. These would be done in in the admin/index.php file as follows:
1) Find out what your admin ID is (you can see it to the left of your name on the Admin Settings page
2) Open admin index.php and fin the following lines
PHP Code:
<div id="coltwo">
<div class="reportBox">
3) Insert the following between them
PHP Code:
<?php if ($_SESSION['admin_id'] == <your admin ID>) { ?>
4) Go down 12 lines and insert the following immediately after the </div> line
5) Now do the same between the following lines
PHP Code:
<div id="colthree">
<div class="reportBox">
and after the first </div> line a further 12 lines down.
I have done this, but I see the same all the orders and client.
My ID number is 3
I attach my index.zip
-
Re: Admin Profiles Support Thread
kuroi I would say that it goes, but for another number of admin, I set for 3 instead goes for 1.
Then I deleted the previous number and recreate and now in the page index.php I don't see anything, and it is great for me now.
Thanks
P.S. maybe it was the old setting that when I deleted it goes great.
Thanks
:clap:
-
Re: Admin Profiles Support Thread
For clarity, that code was written to restrict the viewing of that data to the admin with the chosen ID.
-
Re: Admin Profiles Support Thread
I don't know, on my site it goes now for all, so the index.php doesn't see the orders and clients.
And it is perfect for me.
Thanks
bye
:hug:
-
Re: Admin Profiles Support Thread
sorry another thing, also if I check the list news it doesn't go.
I don't try to acceed to this.
Configuration>list news
it goes in english admin..... boh
in italian admin it doesn't go
-
Re: Admin Profiles Support Thread
Quote:
Originally Posted by
giuly
sorry another thing, also if I check the list news it doesn't go.
I don't try to acceed to this.
Configuration>list news
it goes in english admin..... boh
in italian admin it doesn't go
Didn't know that it was possible to get the admin configuration menu to work in different languages. How did you get to that state?
Also do you mean "new listing" (existing function) or "list news", which would have to have been added by a mod, and if so, which mod?
-
Re: Admin Profiles Support Thread
the existing function, also if in admin profiles appears under thirdy part mod
now it doesn't go also in english.
Can I give to you the access to admin panel so you can see?
I send to you a pm.
Thanks
-
Re: Admin Profiles Support Thread
sorry you have reason, it is the thirdy mod news box manager that i have installed and download from here:
http://www.zencart-italia.com/module...?cid=11&lid=51
sorry please, so it doesn't matter.
Bye
:blush:
-
Re: Admin Profiles Support Thread
link for the file is dead!
-
Re: Admin Profiles Support Thread
Quote:
Originally Posted by
foxfirediego
link for the file is dead!
What link for what file?
-
Re: Admin Profiles Support Thread
Hi,
I just had a problem trying to install admin_profiles. I was able to install it just fine several months ago on two stores, but this time I got the error message (below) when trying to install on a new store. Here’s what happened.
After I Uploaded the admin folder to my store, my admin page gives me the below error and all the controls, menus, etc in admin go missing:
Code:
1146 Table 'mystore.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.
So I uploaded my backed up admin folder to the store and all is fine again.
Any idea what I could do troubleshoot this problem? I don’t remember having this problem back in April when I installed this on two other stores, and I’m using the same versions of zen-cart in all three cases, 1.3.8a. Hope I can get it to work I really like this mod.
Thanks anyone.
-
Re: Admin Profiles Support Thread
@nadsab
I recommend using the "search this thread" option towards the top of the page to search on "1146 Table".
-
Re: Admin Profiles Support Thread
Thanks kuroi,
OK I think I see what I did wrong, I was running the install_admin_profiles.sql script after not before I uploaded the Admin files to server. I just ran the script again and then uploaded the admin files after script and now no errors.
But now there is another problem - I'm not getting that error any more but when I click on Tools>Admin settings, the permissions icons are not showing up at all for any of the users. It's as if I never installed it.
-
Re: Admin Profiles Support Thread
Actually disregard that last question, I re uploaded admin and now it seems to be working great - some of the files prob. did not get transferred the first time.
As a suggestion to prevent confusion, in your install instructions it's a bit confusing, the way you have it written (at the least the way I am reading it – most regular zen cart users already know this), is to run the install_admin_profiles.sql script AFTER you upload the admin files, which caused my problem. You may want to re word the install instructions so that it reads – run the install_admin_profiles.sql script BEFORE you upload the admin files. It may help a few casual users like myself.
Great mod by the way thanks.
-
Re: Admin Profiles Support Thread
Quote:
Originally Posted by
nadsab
in your install instructions it's a bit confusing, the way you have it written (at the least the way I am reading it – most regular zen cart users already know this), is to run the install_admin_profiles.sql script AFTER you upload the admin files, which caused my problem. You may want to re word the install instructions so that it reads – run the install_admin_profiles.sql script BEFORE you upload the admin files. It may help a few casual users like myself.
This is what the installation instructions for the current version say
Quote:
Installation
============
Step 1:
-------
Run the install_admin_profiles.sql file using Zen Cart's Admin > Tools > Install SQL Patch facility
Step 2:
-------
Copy included files to appropriate places in admin. They already have the correct folder structure so a single drag and drag and drop of the "Admin" folder into the root directory for your store will put the files in the correct locations if you are using a good FTP client (e.g. FileZilla).
etc.
I'd welcome ideas as to how I can make the order in which things are to be done clearer! :dontgetit
-
Re: Admin Profiles Support Thread
grrrrrrr ok for some reason this thing is giving me HECK lol I have installed it on my zen but now it will not install correctly on my friends, I have eberything set up and good to go except when I click categories/products it gives me this........
1146 Table 'servername.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.
-
Re: Admin Profiles Support Thread
Quote:
Originally Posted by
MischiefDesignz
grrrrrrr ok for some reason this thing is giving me HECK lol I have installed it on my zen but now it will not install correctly on my friends, I have eberything set up and good to go except when I click categories/products it gives me this........
1146 Table 'servername.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.
Look back 4 posts.
-
Re: Admin Profiles Support Thread
lol nvm it always happens as soon as I get so ticked to ask for help it straightens itself out, all I did was reinstall a few different files and now it is working....... ty tho loving the mod!!!
-
Re: Admin Profiles Support Thread
Actually, I dont think the instructions are bad at all, many people are used to uploading files and installing, I did myself the first time I installed it.
This is a wonderful mod and we should all buy kuroi a beer or two for his fine contribution :cheers:
-
Re: Admin Profiles Support Thread
Hi Kuroi,
I am a new user. I just found Admin Profiles and was hoping to download it, but the link on the first page of this thread just redirects me to the homepage of your nice site. I enjoyed looking at it. Would you mind telling me how to download the Admin Profiles though?
Thanks Much!:smile:
-
Re: Admin Profiles Support Thread
top of page
Free Software Add Ons
then choose
Admin Tools
there you will find
Admin Profiles
-
Re: Admin Profiles Support Thread
To find it, follow AndyII's helpful instructions. That link dates back to a time when the downloads area was unavailable for a while and should now be ignored. Apologies for the inconvenience.
-
Re: Admin Profiles Support Thread
Quote:
Originally Posted by
kuroi
To find it, follow AndyII's helpful instructions. That link dates back to a time when the downloads area was unavailable for a while and should now be ignored. Apologies for the inconvenience.
Thank you kuroi and AndyII! That was a great help.
-
Re: Admin Profiles Support Thread
Grrr at my wits end here!!
Somehow my profiles came up missing. I reinstalled a couple of times them and lost my menu's and security clearance shows up. I have been reading for hours now and troubleshooting this. Still cannot figure out what is wrong.
I am running 1.38 version. I have image handler and a few other mods installed as well.
Thanks for your help!
-
Re: Admin Profiles Support Thread
I'm sure this has been asked before but humor me lol. I have a customer I set the admin profiles up for and for her admins she has specified the areas she wants them to have access to: (Catalog & Reports) but for some reason they can still see the extra headers (Configuration, Modules, Customers, etc). Now when the other admins click on these headers they got notices that they can not view them due to their security settings. However she wants it to where they can not even see the other headers. How do I fix that?
-
Re: Admin Profiles Support Thread
I dont have this problem, did you make sure that the Main heading tic box is not checked if there isnt any need for it, say "Configuration Menu" top tic box unchecked as they have no access to any feature there..
make sense?
-
Re: Admin Profiles Support Thread
Can only start to guess at a few things, perhaps the easiest way would be to restore the site to before you added this mod, and follow the instructions again, with db 1st :huh:
Quote:
Originally Posted by
travel124
Grrr at my wits end here!!
Somehow my profiles came up missing. I reinstalled a couple of times them and lost my menu's and security clearance shows up. I have been reading for hours now and troubleshooting this. Still cannot figure out what is wrong.
I am running 1.38 version. I have image handler and a few other mods installed as well.
Thanks for your help!
-
Re: Admin Profiles Support Thread
Makes perfect sense but no the only boxes that are checked are:
Catalog (with subcategories of catagories, attribute controller and products to catgories)
and
Reports (with subcategories of stats products viewed and stats products purchased)
That's what has me confused!
-
Re: Admin Profiles Support Thread
ok, next question
is it the same with any browser?
I have noticed that since I started using IE7 (and only on occasion) some things are different, meaning I have some missing drop down boxes and stuff, I mainly use FireFox
I am also still with v 1.3.7 , not using 1.3.8 yet, I just do the security updates.
try removing ALL access from this user and see what their login screen looks like, or duplicate it with a new user?.
other thing is to be sue all the files are correct and the extra files are installed.. sorry, kind of guessing/testing here..:blink:
-
Re: Admin Profiles Support Thread
Quote:
Originally Posted by
AndyII
Can only start to guess at a few things, perhaps the easiest way would be to restore the site to before you added this mod, and follow the instructions again, with db 1st :huh:
Thanks Andy, I have now done that. I will work on trying to set it up another time. I have spent alot of time working on this and I am too tired now..lol
-
Re: Admin Profiles Support Thread
Hello
Newbie to PHP here. Just installed Admin Profile - when I went into my admin and went to tools/admin settings and got this message -
Parse error: syntax error, unexpected T_DOUBLE_ARROW in /homepages/7/d236731769/htdocs/zen/admin/admin.php on line 222
So I looked at my admin.php file and here is what line 222 says -
'text' => '<a href="' . zen_href_link(FILENAME_ADMIN, 'page=' . $_GET['page'] . '&adminID=' . $adminInfo->admin_id . '&action=edit') . '">' . zen_image_button('button_edit.gif', IMAGE_EDIT) . '</a><a href="' . zen_href_link(FILENAME_ADMIN, 'page=' . $_GET['page'] . '&adminID=' . $adminInfo->admin_id . '&action=resetpassword') . '">' . zen_image_button('button_reset_pwd.gif', IMAGE_RESET) . '</a><a href="' . zen_href_link(FILENAME_ADMIN, 'page=' . $_GET['page'] . '&adminID=' . $adminInfo->admin_id . '&action=delete') . '">' . zen_image_button('button_delete.gif', IMAGE_DELETE) . '</a><br /><a href="' . zen_href_link(FILENAME_ADMIN_CONTROL, 'adminID=' . $adminInfo->admin_id) . '">' . zen_image_button('button_edit_permissions.gif', IMAGE_PERMISSIONS) . '</a>');
I can't figure it out.........so thanks to anyone that can help me!!
Mona
-
Re: Admin Profiles Support Thread
Quote:
Originally Posted by
stxmona
Parse error: syntax error, unexpected T_DOUBLE_ARROW in /homepages/7/d236731769/htdocs/zen/admin/admin.php on line 222
The problem is a syntax error earlier in your code than line 222. Line 222, is where it is detected, rather than where it occurs. The actual error is probably just a lone or two earlier.
Did you edit the file yourself or use the versions provided with the mod?
If you edited it yourself, are you sure that you did precisely what was stated in the instructions; even a character out of place could cause a syntax error.
-
Re: Admin Profiles Support Thread
Quote:
Originally Posted by
kuroi
The problem is a syntax error earlier in your code than line 222. Line 222, is where it is detected, rather than where it occurs. The actual error is probably just a lone or two earlier.
Did you edit the file yourself or use the versions provided with the mod?
If you edited it yourself, are you sure that you did precisely what was stated in the instructions; even a character out of place could cause a syntax error.
Hi Kuroi - thanks for the answer!
Yes I did edit it myself as I was not sure if any of the previously mods change those page or not so I thought the instructions were very straight forward and easy enough to follow.....so I did. Below is a copy of the first change on line 194 to 222.
<?php echo '<a href="' . zen_href_link(FILENAME_ADMIN, 'page=' . $_GET['page'] . '&adminID=' . $admins->fields['admin_id'] . '&action=edit') . '">' . zen_image(DIR_WS_IMAGES . 'icon_edit.gif', ICON_EDIT) . '</a>'; ?>
<?php echo '<a href="' . zen_href_link(FILENAME_ADMIN, 'page=' . $_GET['page'] . '&adminID=' . $admins->fields['admin_id'] . '&action=delete') . '">' . zen_image(DIR_WS_IMAGES . 'icon_delete.gif', ICON_DELETE) . '</a>'; ?>
<?php echo '<a href="' . zen_href_link(FILENAME_ADMIN, 'page=' . $_GET['page'] . '&adminID=' . $admins->fields['admin_id'] . '&action=resetpassword') . '">' . zen_image(DIR_WS_IMAGES . 'icon_reset.gif', ICON_RESET) . '</a>'; ?>
<?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>'; ?>
</td>
</tr>
<?php
$admins->MoveNext();
}
?>
<tr>
<td colspan="2">
<table border="0" width="100%" cellspacing="0" cellpadding="4">
<tr>
<td class="smallText" valign="top"><?php echo $admins_split->display_count($admins_query_numrows, MAX_DISPLAY_SEARCH_RESULTS, $_GET['page'], TEXT_DISPLAY_NUMBER_OF_ADMINS); ?></td>
<td class="smallText" align="right"><?php echo $admins_split->display_links($admins_query_numrows, MAX_DISPLAY_SEARCH_RESULTS, MAX_DISPLAY_PAGE_LINKS, $_GET['page']); ?></td>
</tr>
</table>
</td>
</tr>
<?php
if (empty($action)) {
?>
<tr>
<td align="right" colspan="4" class="smallText">
<?php
'text' => '<a href="' . zen_href_link(FILENAME_ADMIN, 'page=' . $_GET['page'] . '&adminID=' . $adminInfo->admin_id . '&action=edit') . '">' . zen_image_button('button_edit.gif', IMAGE_EDIT) . '</a><a href="' . zen_href_link(FILENAME_ADMIN, 'page=' . $_GET['page'] . '&adminID=' . $adminInfo->admin_id . '&action=resetpassword') . '">' . zen_image_button('button_reset_pwd.gif', IMAGE_RESET) . '</a><a href="' . zen_href_link(FILENAME_ADMIN, 'page=' . $_GET['page'] . '&adminID=' . $adminInfo->admin_id . '&action=delete') . '">' . zen_image_button('button_delete.gif', IMAGE_DELETE) . '</a><br /><a href="' . zen_href_link(FILENAME_ADMIN_CONTROL, 'adminID=' . $adminInfo->admin_id) . '">' . zen_image_button('button_edit_permissions.gif', IMAGE_PERMISSIONS) . '</a>');
Would you mind looking at it and seeing if you see anything? I really don't know PHP - something I now know I should at least learn the basics.
Thanks again
Mona
-
Re: Admin Profiles Support Thread
Quote:
Originally Posted by
stxmona
Hi Kuroi - thanks for the answer!
Yes I did edit it myself as I was not sure if any of the previously mods change those page or not so I thought the instructions were very straight forward and easy enough to follow.....so I did.
I'm afraid that you replaced the wrong line for the second patch. The one you need to replace is much further on in the file.
-
Re: Admin Profiles Support Thread
now I am in a pickle because I did NOT make a copy of that file before changing it!! something I rarely do but it was midnight and I was in a hurry. Any ideas?
TIA
Mona
-
Re: Admin Profiles Support Thread
I don't use Firefox, I'm an IE gal completely but I did have one of my designers check that uses Firefox and she gets all the headers there as well instead of just the Catalog & Reports headers like she should get. All the files & patches are uploaded. Any other suggestions?
-
Re: Admin Profiles Support Thread
I figured it out! It was the files in the Boxes folder, they hadn't transferred over properly.
-
Re: Admin Profiles Support Thread
HELP me please:no:....I need to make it work soon as I need a statistic page for a client...
I got an error I found in some other posts of this Thread,
but it was not clear how it was solved.
Fatal error: Call to undefined function: menu_header_visible() in /web/htdocs/www.musicandsons.it/home/store/mands_12/includes/boxes/configuration_dhtml.php on line 13
I have the function menu_header_visible() defined in functions/admin_profiles.php and I checked that the file was on the server ...
What to do?
I have a new name for the "admin" folder: could this be the reason?
-
Re: Admin Profiles Support Thread
FIXED!
I was missing autoloaders file....
-
Re: Admin Profiles Support Thread
I need to show a statistics Report Page (third party mods) to a newly created user, that should see only that page.
Is there a way after logging in, to force the user to go directly to that target page skipping the Admin Home?
Thanks
-
Re: Admin Profiles Support Thread
Quote:
Originally Posted by
stxmona
now I am in a pickle because I did NOT make a copy of that file before changing it!! something I rarely do but it was midnight and I was in a hurry. Any ideas?
Quick and easy approach would be to use the pre-patched file. It's unlikely that you are using mods that have changed this admin file, but keep a copy of it, as you might need to refer to it if your have knock on problems.
In that unlikely case you would have to go back to whichever other mod you had installed that had already changed this file and re-edit the version supplied there.
-
Re: Admin Profiles 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.
-
Re: Admin Profiles 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:
-
Re: Admin Profiles 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.
-
Re: Admin Profiles Support Thread
Quote:
Originally Posted by
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.
-
Re: Admin Profiles Support Thread
Quote:
Originally Posted by
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:
-
Re: Admin Profiles Support Thread
Quote:
Originally Posted by
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.
-
Re: Admin Profiles 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!
-
Re: Admin Profiles 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.
-
Re: Admin Profiles Support Thread
Quote:
Originally Posted by
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.
-
Re: Admin Profiles Support Thread
Quote:
Originally Posted by
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.
-
Re: Admin Profiles 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
-
Re: Admin Profiles 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?
-
Re: Admin Profiles 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:
-
Re: Admin Profiles 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.
-
Re: Admin Profiles 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.
-
Re: Admin Profiles 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:
-
Re: Admin Profiles 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.
-
Re: Admin Profiles 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.
-
Re: Admin Profiles 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.
-
Re: Admin Profiles 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?
-
Re: Admin Profiles Support Thread
I've downloaded and unzipped this and the directions are quite confusing to me. I'm scared I'm going to mess something up in my store.
Is there anyone that could install this for me?
-
Re: Admin Profiles Support Thread
I'm a new Zencart user. I've just downloaded and installed 1.3.8a along with admin_profiles 1_0_8. I notice one error in your install_admin_profiles.sql file. Line 273 is a "Create table 'admin_allowed_pages'" where I believe you meant to create an admin_allowed_categories table.
-
Re: Admin Profiles Support Thread
Quote:
Originally Posted by
stresstool
I'm a new Zencart user. I've just downloaded and installed 1.3.8a along with admin_profiles 1_0_8. I notice one error in your install_admin_profiles.sql file. Line 273 is a "Create table 'admin_allowed_pages'" where I believe you meant to create an admin_allowed_categories table.
Admin Profiles only goes up to 1_0_7.
I think that you must have downloaded "Admin Users - Restrict Product Categories" which was a well-meaning but flawed attempt to extend Admin Profiles, and which is not supported in this thread.
-
Re: Admin Profiles Support Thread
Quote:
Originally Posted by
Cienwen
First, please excuse me if this has already been asked. I was unable to find an answer.
So, I am using Admin Profiles to restrict access to two other people. These people will be processing orders and adding products to the Catalog. So that they do not mess up my settings I don’t want them to have access to the nuts and bolts of the Cart. I would however, like them to have access to change their passwords if need be. I attempted to give them access to the Tools menu and then access to the Admin Settings. I did not check off the Admin Controls* box listed under Third Party mods.
Unfortunately, this gives them access to change their passwords but also everyone else’s and gives them access to the Admin Controls which defeats the purpose.
Does anyone know how I could restrict their access to resetting their passwords only?
Thank you much.
Hi,
Any progress on this "security levels" feature? It's a must have in order to protect some site owners from themselves, by hiding the tech stuff, yet still allowing product management and personal password management.
Could the admin (super user) maybe be placed in a separate dropdown menu, away from all the other users? Here comes the dumb question...How hard would that be to do?
Thanks
-
Re: Admin Profiles Support Thread
Hi guys,
I`ve installed this module and all the required patches, but however when i go to the TOOLS/ADMIN SETTINGSpage, i don`t see the permissions button. Could someone please help me in solving this problem
Thanks
-
Re: Admin Profiles Support Thread
Quote:
Originally Posted by
zranno
Hi,
Any progress on this "security levels" feature? It's a must have in order to protect some site owners from themselves, by hiding the tech stuff, yet still allowing product management and personal password management.
Could the admin (super user) maybe be placed in a separate dropdown menu, away from all the other users? Here comes the dumb question...How hard would that be to do?
Thanks
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.
-
Re: Admin Profiles Support Thread
Quote:
Originally Posted by
ubahn
I`ve installed this module and all the required patches, but however when i go to the TOOLS/ADMIN SETTINGSpage, i don`t see the permissions button. Could someone please help me in solving this problem
Sounds like you haven't done step 3 of the installation instructions.
-
Re: Admin Profiles Support Thread
PLEAAAAASE, this is urgent as the site is a live site.
I've installed admin profiles 1.0.7 on zc 1.3.8a. I'm using the cherry_zen template. most if not all admin files are defaults. I've done this a few times before and never had a problem.
Here are my steps:
1. placed site under maintenance
2. did a backup of db
3. in admin, uploaded the .sql. i think i made a mistake and uploaded the upgrade not the install. when I noticed the error in admin, i opened the install.sql file and noticed it drops the table and re-inserts it. so i uploaded the Install.sql via phpmyadmin. i can now see the admin
4. I FTPd the ADMIN files to the server
5. I FTPd the extras - patched files for ZC1.3.8a
when i log into admin, I cannot see the css menu
what did I do wrong?
-
Re: Admin Profiles Support Thread
:clap:Kuroi:
further to my post. I visited the wiki and implemented the solution for missing admin menus.
when I log in, i can now see the tools menu. however when I click on permissions next to my id, i still 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.
:huh: should I amend the install.sql and change the id of lines 56-65 (admin visible headers) to my id? same for lines 186-243 (admin allowed pages)?
I realize there is a time difference, i'm on the West Coast of Canada, but if you or someone else can assist, this is most critical.
thank you.
-
Re: Admin Profiles Support Thread
FIXED:
in case anyone else experience this problem, here's my solution:
I did swap the ID=1 to my ID# in the nstall_admin_profiles.sql in the lines 56-65 (admin visible headers) and 186-243 (admin allowed pages). this worked.
-
Re: Admin Profiles Support Thread
Glad you found the solution.
-
Re: Admin Profiles Support Thread
Hi i have follwed the instructions and am using the latest version against the latest version of zen cart. The little P correctly appears on the admin settings page however, when i click on any of the new options such as edit permissions or the little permissions orange circle i get error 404 page does not exist? Any ideas?
-
Re: Admin Profiles Support Thread
ignore me i had missed one of the files when copying over lol sorry :)
-
Re: Admin Profiles Support Thread
I am using the newest version of Zen Cart 1.3.8
I have only one installed addon and that is admin profiles.
I have modified the classic template. Here is my problem when I added admin profiles i forgot to patch it first now the issue I am having is this
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 am in MyPhP admin and in my database that it is requesting I have looked all over my database and there is no zen_admin_menu_headers. I have never had this problem till I tried to install admin profile would like to know how to fix this.
-
Re: Admin Profiles Support Thread
have you installed the sql patch.
many people, including myself have installed this mod and it works. For the most part of not working, its due to lack of correct installation...:huh:
-
Re: Admin Profiles Support Thread
I have that problem fixed and now have another.
1054 Unknown column 'admin_id' in 'field list'
in:
[select admin_id from zen_admin_visible_headers where header_id = '1']
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 didnt change anything in the install sql other than adding zen_ to the patch in all the places it needed it. I am tearing my hair out here.
-
Re: Admin Profiles Support Thread
Quote:
Originally Posted by
Katies30f
I have that problem fixed and now have another.
1054 Unknown column 'admin_id' in 'field list'
in:
[select admin_id from zen_admin_visible_headers where header_id = '1']
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 didnt change anything in the install sql other than adding zen_ to the patch in all the places it needed it. I am tearing my hair out here.
Nevermind I got it fixed now.
-
Re: Admin Profiles Support Thread
I'm looking at buying an online store. Is it possible in admin profiles to have a "Look but don't touch" option? Full access at looking, zero access at changing.
TIA!
-
Re: Admin Profiles Support Thread
Quote:
Originally Posted by
troublex5plus1
I'm looking at buying an online store. Is it possible in admin profiles to have a "Look but don't touch" option? Full access at looking, zero access at changing.
No. Admin Profiles allows a store owner to restrict access to pages, but makes no attempt to change how pages work.
-
Re: Admin Profiles Support Thread
Thanks. Not the answer I was hoping for but then again I didn't expect to get an affirmative.
Quote:
Originally Posted by
kuroi
No. Admin Profiles allows a store owner to restrict access to pages, but makes no attempt to change how pages work.