ExpressionEngine CMS
Open, Free, Amazing

Thread

This is an archived forum and the content is probably no longer relevant, but is provided here for posterity.

The active forums are here.

Add more Control Panel Log items

October 31, 2011 5:26am

Subscribe [2]
  • #1 / Oct 31, 2011 5:26am

    Rommel

    14 posts

    I have a short question, is there a way to add more Control Panel Log items?

    For example: I have multiple moderators who can edit user profiles but is there a way to log those actions in the control panel without changing the core files?

    I can add a line like this in the core files but that is not really what I want:

    $this->EE->load->library('logger');
    $this->EE->logger->log_action("User ... is change by ...");

    When it’s not possible I have an new idea for a add-on 😊

  • #2 / Oct 31, 2011 10:34am

    Kevin Cupp

    791 posts

    When it’s not possible I have an new idea for a add-on 😊

    Hi Rommel,

    This is exactly what I was going to suggest, the only problem is I don’t think there is the extension hook you would need to capture the event of editing a member’s profile. So, as of now, there doesn’t seem to be a way to set custom log events for this particular event without editing the core. But, yes, it should work great for events that have a hook.

    Kevin

  • #3 / Oct 31, 2011 10:38am

    Rommel

    14 posts

    Hmm yes, I did some research in the meantime but I bumped also to the problem that there are no hooks for this.

.(JavaScript must be enabled to view this email address)

ExpressionEngine News!

#eecms, #events, #releases