Page 91 of 124 FirstFirst ... 41818990919293101 ... LastLast
Results 901 to 910 of 1238
  1. #901
    Join Date
    Jan 2009
    Location
    Melbourne
    Posts
    3
    Plugin Contributions
    0

    Default Re: Admin Profiles Support Thread

    Quote Originally Posted by rays5150 View Post
    i had sucessfully installed the add-in and could edit permissions. But for some reason when i tried to edit permissions again today, i could not get in and was presented with the acccess denied page. Can i run some SQL to correct this issue so i can edit my superuser profile?
    Fixed it. Accidentally unselected admin_control and had to reinsert it using SQL Query.

  2. #902
    Join Date
    Nov 2007
    Posts
    433
    Plugin Contributions
    1

    Default Re: Admin Profiles Support Thread

    Can you please tell me which SQL commands you used to fix it ?

  3. #903
    Join Date
    Aug 2009
    Location
    Greeneville, TN USA
    Posts
    52
    Plugin Contributions
    0

    Default Re: Admin Profiles Support Thread

    Another way to make database repairs like this is to go into your SQL server console, if you have one. A common one for MySQL is phpMyAdmin. As part of that, there is an ability to browse a database and perform hand edits. There are different ways to get there, but many site will have it under the "CPanel" web site control console.

    The first time I installed Profiles, I knew I needed the user with ID = 1 to be an Admin level user, and I was ready for that. What I didn't know was, they'd changed the password on that account! Everything was locked out! I went into phpMyAdmin and rearranged the user IDs to change the user ID on my account to 1. Problem solved!

  4. #904
    Join Date
    Jan 2009
    Location
    Melbourne
    Posts
    3
    Plugin Contributions
    0

    Default Re: Admin Profiles Support Thread

    Quote Originally Posted by alhakeem2001 View Post
    Can you please tell me which SQL commands you used to fix it ?
    i used my providers control panel to re insert values back into the admin_allowed_pages table. So basically the query would be something like
    insert into admin_allowed_pages (page_id,admin_id) values (76,1)

  5. #905
    Join Date
    Oct 2008
    Posts
    3
    Plugin Contributions
    0

    Default Re: Admin Profiles Support Thread

    I have installed profiles before and it works. However now I have an issue where the interface comes up, I can tick the boxes and save but next time I visit the user's permissions nothing is ticked.

    Logging on as the user, nothing shows up in the menus either.

    I did enact the security recommendations some time back to change the admin folder name. So, I renamed it back to admin (with the app cfg changes) but profiles still does not work.

    Any ideas?

  6. #906
    Join Date
    Jul 2007
    Posts
    88
    Plugin Contributions
    0

    Default Re: Admin Profiles Support Thread

    Quote Originally Posted by odlweb View Post
    I have installed profiles before and it works. However now I have an issue where the interface comes up, I can tick the boxes and save but next time I visit the user's permissions nothing is ticked.

    Logging on as the user, nothing shows up in the menus either.

    I did enact the security recommendations some time back to change the admin folder name. So, I renamed it back to admin (with the app cfg changes) but profiles still does not work.

    Any ideas?
    You also need to install the security patch for admin profiles. See post 865 on page 87. That should fix your problem.

  7. #907
    Join Date
    May 2008
    Posts
    24
    Plugin Contributions
    0

    Default Re: Admin Profiles Support Thread

    hey you guys.I could not find a new thread button so i will put my store here.

    I uploaded the adminprofile package and now i get this error:

    Parse error: syntax error, unexpected '}' in /admin/includes/boxes/modules_dhtml.php on line 46.

    my line 46 is totally blank.

    Can anybody help me out.?
    thanks

  8. #908
    Join Date
    Oct 2008
    Posts
    3
    Plugin Contributions
    0

    Default Re: Admin Profiles Support Thread

    Quote Originally Posted by demiurgia View Post
    You also need to install the security patch for admin profiles. See post 865 on page 87. That should fix your problem.
    Thanks, fixed the problem.

  9. #909
    Join Date
    Apr 2009
    Posts
    25
    Plugin Contributions
    0

    Default Re: Admin Profiles Support Thread

    Quote Originally Posted by kuroi View Post
    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
    PHP Code:
    <?php ?>
    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.
    This works great. But how can I do this with the orders, to prevent the users from deleting orders, go to packing slip and invoice.

    It is about this code in orders.php
    Code:
            $contents[] = array('align' => 'center', 'text' => '<a href="' . zen_href_link(FILENAME_ORDERS, zen_get_all_get_params(array('oID', 'action')) . 'oID=' . $oInfo->orders_id . '&action=edit', 'NONSSL') . '">' . zen_image_button('button_edit.gif', IMAGE_EDIT) . '</a> <a href="' . zen_href_link(FILENAME_ORDERS, zen_get_all_get_params(array('oID', 'action')) . 'oID=' . $oInfo->orders_id . '&action=delete', 'NONSSL') . '">' . zen_image_button('button_delete.gif', IMAGE_DELETE) . '</a>');
            $contents[] = array('align' => 'center', 'text' => '<a href="' . zen_href_link(FILENAME_ORDERS_INVOICE, 'oID=' . $oInfo->orders_id) . '" TARGET="_blank">' . zen_image_button('button_invoice.gif', IMAGE_ORDERS_INVOICE) . '</a> <a href="' . zen_href_link(FILENAME_ORDERS_PACKINGSLIP, 'oID=' . $oInfo->orders_id) . '" TARGET="_blank">' . zen_image_button('button_packingslip.gif', IMAGE_ORDERS_PACKINGSLIP) . '</a>');
            $contents[] = array('text' => '<br />' . TEXT_DATE_ORDER_CREATED . ' ' . zen_date_short($oInfo->date_purchased));
            $contents[] = array('text' => '<br />' . $oInfo->customers_email_address);
            $contents[] = array('text' => TEXT_INFO_IP_ADDRESS . ' ' . $oInfo->ip_address);
            if (zen_not_null($oInfo->last_modified)) $contents[] = array('text' => TEXT_DATE_ORDER_LAST_MODIFIED . ' ' . zen_date_short($oInfo->last_modified));
            $contents[] = array('text' => '<br />' . TEXT_INFO_PAYMENT_METHOD . ' '  . $oInfo->payment_method);
            $contents[] = array('text' => '<br />' . ENTRY_SHIPPING . ' '  . $oInfo->shipping_method);
    The red code I want to secure

  10. #910

    Default Re: Admin Profiles Support Thread

    I have a zencart 1.38a .it have be set admin profiles, install ok. I can enter admin control home,but i can'nt set any .enter :tool/ admin setting.(there is one user of admin)/permission, all item have be select.but i can'nt change it. why ,how to get admin permission ,pl help!

 

 
Page 91 of 124 FirstFirst ... 41818990919293101 ... LastLast

Similar Threads

  1. v150 Admin New Order [Support Thread]
    By lhungil in forum Addon Admin Tools
    Replies: 121
    Last Post: 5 Feb 2021, 07:51 PM
  2. v150 CSS Buttons for Admin [Support Thread]
    By lat9 in forum All Other Contributions/Addons
    Replies: 19
    Last Post: 24 Dec 2015, 09:13 PM
  3. Admin-Editable Sidebox - Support Thread
    By kuroi in forum Addon Sideboxes
    Replies: 331
    Last Post: 29 Oct 2014, 04:15 AM
  4. v151 Blue Admin [Support Thread]
    By vvomble in forum Addon Templates
    Replies: 11
    Last Post: 27 May 2013, 09:43 PM
  5. [Support Thread] IE only JavaScripts and Stylesheets Addon
    By Meshach in forum All Other Contributions/Addons
    Replies: 16
    Last Post: 31 May 2011, 08:18 PM

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
disjunctive-egg
Zen-Cart, Internet Selling Services, Klamath Falls, OR