Zen Cart Logo
Forums / All Other Contributions/Addons / Admin Profiles (for v1.3.x only!) Support Thread

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

Views: 334,212

Results 641 to 660 of 1,242
3 Dec 2008, 12:25 AM
#641
kuroi avatar

kuroi

Totally Zenned

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

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

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.

3 Dec 2008, 2:14 PM
#642
mj313 avatar

mj313

New Zenner

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

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

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.

3 Dec 2008, 3:03 PM
#643
travel124 avatar

travel124

Zen Follower

Join Date:
Mar 2006
Location:
White Pigeon, MI
Posts:
160
Plugin Contributions:
0

Re: Admin Profiles (for v1.3.x only!) 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!

3 Dec 2008, 11:07 PM
#644
honrheart avatar

honrheart

Zen Follower

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

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

I'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?

3 Dec 2008, 11:18 PM
#645
andyii avatar

andyii

Zen Follower

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

Re: Admin Profiles (for v1.3.x only!) 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?

3 Dec 2008, 11:28 PM
#646
andyii avatar

andyii

Zen Follower

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

Re: Admin Profiles (for v1.3.x only!) 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:

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!

3 Dec 2008, 11:31 PM
#647
honrheart avatar

honrheart

Zen Follower

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

Re: Admin Profiles (for v1.3.x only!) 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!

3 Dec 2008, 11:49 PM
#648
andyii avatar

andyii

Zen Follower

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

Re: Admin Profiles (for v1.3.x only!) 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:

4 Dec 2008, 1:37 AM
#649
travel124 avatar

travel124

Zen Follower

Join Date:
Mar 2006
Location:
White Pigeon, MI
Posts:
160
Plugin Contributions:
0

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

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

10 Dec 2008, 4:13 AM
#650
stxmona avatar

stxmona

Zen Follower

Join Date:
Aug 2008
Posts:
103
Plugin Contributions:
0

Re: Admin Profiles (for v1.3.x only!) 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

10 Dec 2008, 10:50 AM
#651
kuroi avatar

kuroi

Totally Zenned

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

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

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.

10 Dec 2008, 12:48 PM
#652
stxmona avatar

stxmona

Zen Follower

Join Date:
Aug 2008
Posts:
103
Plugin Contributions:
0

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

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
10 Dec 2008, 1:24 PM
#653
kuroi avatar

kuroi

Totally Zenned

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

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

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.

10 Dec 2008, 1:26 PM
#654
stxmona avatar

stxmona

Zen Follower

Join Date:
Aug 2008
Posts:
103
Plugin Contributions:
0

Re: Admin Profiles (for v1.3.x only!) 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

12 Dec 2008, 12:45 AM
#655
honrheart avatar

honrheart

Zen Follower

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

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

I 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?

12 Dec 2008, 2:30 AM
#656
honrheart avatar

honrheart

Zen Follower

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

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

I figured it out! It was the files in the Boxes folder, they hadn't transferred over properly.

19 Dec 2008, 12:43 PM
#657
m_and_s avatar

m_and_s

New Zenner

Join Date:
Oct 2006
Posts:
21
Plugin Contributions:
0

Re: Admin Profiles (for v1.3.x only!) 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?

19 Dec 2008, 1:12 PM
#658
m_and_s avatar

m_and_s

New Zenner

Join Date:
Oct 2006
Posts:
21
Plugin Contributions:
0

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

FIXED!
I was missing autoloaders file....

19 Dec 2008, 1:26 PM
#659
m_and_s avatar

m_and_s

New Zenner

Join Date:
Oct 2006
Posts:
21
Plugin Contributions:
0

Re: Admin Profiles (for v1.3.x only!) 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

19 Dec 2008, 1:58 PM
#660
kuroi avatar

kuroi

Totally Zenned

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

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

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.