Results 1 to 4 of 4
  1. #1
    Join Date
    Sep 2008
    Posts
    88
    Plugin Contributions
    0

    help question Admin profile addon - disable sale figures

    I want to disable the viewing of sales records from my employees. I can successfully disable certain manual options by using the below "admin profile" addon.

    http://www.zen-cart.com/index.php?ma...products_id=86

    However, there is a loophole. When user click the "admin home" link around the top right hand corner, they can see a summary of my sale figures. Is there anyway to disable this link in the admin panel? Or simply disable the summary page?

    Can any expert help?

  2. #2
    Join Date
    Apr 2006
    Location
    London, UK
    Posts
    10,569
    Plugin Contributions
    25

    Default Re: Admin profile addon - disable sale figures

    Certainly, the extra code that you would need to insert can be found in the Admin Profiles support thread.
    Kuroi Web Design and Development | Twitter

    (Questions answered in the forum only - so that any forum member can benefit - not by personal message)

  3. #3
    Join Date
    Sep 2008
    Posts
    88
    Plugin Contributions
    0

    help question Re: Admin profile addon - disable sale figures

    I found the following information about how to disable the "admin home page". However, I'm not familiar of php stuff. I think I will not be able to do it myself. Does anyone had developed a version base on zen-cart 1.3.8? Or simply send me the exact code and the location needed to be replaced?

    Quote
    ================
    What appears on the Admin Home page is controlled by the admin/index.php file. There's not a switchable way, though you could use CSS to set display:none for the class .reportBox. This would turn the home page content off for all users. If you wanted more precision you would need to change the PHP by inserting "if" statement in there to restrict display to specific values of $_SESSION['admin_id'].
    ================
    End Quote

  4. #4
    Join Date
    Apr 2006
    Location
    London, UK
    Posts
    10,569
    Plugin Contributions
    25

    Default Re: Admin profile addon - disable sale figures

    I don't have a current version of the file with that information in, but the step-by-step guide for building one is very clear. You can find it here.
    Kuroi Web Design and Development | Twitter

    (Questions answered in the forum only - so that any forum member can benefit - not by personal message)

 

 

Similar Threads

  1. Admin session does not expire after removal of Admin Profile mod.
    By gamenano in forum All Other Contributions/Addons
    Replies: 0
    Last Post: 16 Jul 2010, 02:54 AM
  2. Password recovery crashed with admin profile addon
    By alimtlai in forum Customization from the Admin
    Replies: 1
    Last Post: 27 Sep 2009, 03:00 PM
  3. Disable Customer Profile logoin
    By HevvieEvvie in forum General Questions
    Replies: 2
    Last Post: 16 Sep 2008, 11:13 AM
  4. is admin profile addon safe?
    By deado in forum Customization from the Admin
    Replies: 2
    Last Post: 3 Jun 2006, 10:29 AM

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