Support » Plugin: Simple History – user activity log, audit tool » Non-stop logging NextGEN gallery items

Viewing 9 replies - 16 through 24 (of 24 total)
  • Plugin Author eskapism

    (@eskapism)

    @prowo24: I am still unable to reproduce this for plugin “Photo Gallery”. Do you still have this problem, and if so could you perhaps post a copy of what’s getting logged?

    Plugin Author eskapism

    (@eskapism)

    @lgpref: I’m trying to reproduce the AIOCalendar-problem now. A question: where in the plugin do I enable the import of event from a feed? I found one import-section but I think it only imports the events once, not every nn hours or similar..

    Thanks Par for looking at this.
    I’ll explain a bit about how AIOEventsCalendar works below, but I think the key thing that you might consider for your plugin is an option to block logging of particular post types, perhaps a field that could receive any post type of title “x”, so you wouldn’t have to create one for every single plugin in the world. For instance, AIO Event Calendar iCal import items have a post type of “ai1ec_event”. If we could omit that from our Simple History feed manually (and then turn it off when we need to debug a AIOEventCalendar issue) that would be cool.

    AIO Events Calendar folks have posted a suggested fix for controlling the import, which would cut down the number of events (see explanation below) which we will try, and if it works, will mitigate part of the issue for us. AIOEvent (listed here: https://wordpress.org/support/topic/rss-feeds-happen-too-often-how-to-change-refresh-rate/#post-7723248).

    For your questions about how AIO Event Calendar imports feeds, see these notes below.
    Or, just refer to the example of a typical SimpleHistory log entry pasted below for their typical output (anonymized for WP forum). Thanks much for thinking about this – lgpref

    The way the import works is that you have to:
    1) sign up for an account on their time.ly web site (which certifies you to use their RSS feed server)
    2) Set up the Import in the plugin. After it validates, it takes 1-6 hours for the feed to actually populate. (So, <twiddling of thumbs> ensues.)
    3) When your feed is active, the server handles all of the importing, and the default refresh rate is every hour, reimporting every event anew each hour. This is not controllable by the plugin user.
    ————————
    Sample fields in a Simple History log entry for a AIOEventCalendar imported event custom post

    WordPress · 32 mins ago
    Updated event “Sample event”
    Context data
    This is potentially useful meta data that a logger has saved.
    Key
    Value
    id
    xxxxx
    logger
    SimplePostLogger
    level
    info
    date
    2016-XXXXXXXXXX
    message
    Updated {post_type} “{post_title}”
    initiator
    wp
    context_message_key
    post_updated
    post_id
    XXXXX
    post_type
    ai1ec_event
    post_title
    Sample event
    _message_key
    post_updated
    _wp_cron_running
    true
    _server_remote_addr
    XXXXX
    _server_http_x_forwarded_for_0
    XXXXXXXX
    _server_http_referer
    wp-cronXXX?doing_wp_cron=xxxxxxxxxxxxx

    @eskapism: The issue is still there (also after the last update).

    Here is the copy of the last few entries:


    User1 (e-mail) vor wenigen Sekunden
    hat galerien “5te Leader Conference Switzerland” aktualisiert

    User1 (e-mail) vor wenigen Sekunden
    hat alben “Partnerportal” aktualisiert
    +1 gleichartiges Ereignis

    User1 (e-mail) vor wenigen Sekunden
    hat galerien “5te Leader Conference Switzerland” aktualisiert

    User1 (e-mail) vor wenigen Sekunden
    hat alben “Partnerportal” aktualisiert
    +1 gleichartiges Ereignis

    Dein eigener Benutzername vor 3 Minuten
    hat galerien “5te Leader Conference Switzerland” aktualisiert

    Dein eigener Benutzername vor 3 Minuten
    hat alben “Partnerportal” aktualisiert
    +1 gleichartiges Ereignis

    Dein eigener Benutzername vor 3 Minuten
    hat sich angemeldet

    User2 (e-mail) vor 29 Minuten
    hat galerien “5te Leader Conference Switzerland” aktualisiert

    User2 (e-mail) vor 29 Minuten
    hat alben “Partnerportal” aktualisiert
    +1 gleichartiges Ereignis

    User2 (e-mail) vor 29 Minuten
    hat sich angemeldet

    When an user is logged in, simple history shows, that the user has been updated the last gallery and album. This shows on every user, which is logging in on the site. Also, when you do nothing on the site since the last time, it shows these updates after a few minutes.
    Also when you switch to another language (I’m using WPML), I’m getting new messages about updating the last gallery and album.

    Kind regards,
    prowo24

    @eskapism: After the last Update to version 2.10 it seems that the issue is fixed on Photo Gallery!

    Great job!

    Thank you.

    Hi Par — Thanks for the 2.10 update.
    Currently, we no longer see “ai1ec_event” “updated” posts in Simple History, which helps keep the SH log useful. Interestingly, we do see now when old events are Deleted. That’s OK, since that happens only 4-8 a day. We’re glad that we can keep using Simple History. Thanks for your help!

    I’m on NextGen Gallery 2.1.6 and Plus 1.3.31 and I am getting this everytime someone logs in. I have tried 3 different activity log plugins. Instead of seeing a user activity log that they logged in, I see:

    3 mins ago
    09/12/2016
    16:35:31 Post NextGEN Gallery – Display Type Updated NextGEN Basic Thumbnails
    3 mins ago
    09/12/2016
    16:35:31 Post NextGEN Gallery – Display Type Updated NextGEN Basic Slideshow
    3 mins ago
    09/12/2016
    16:35:31 Post NextGEN Gallery – Display Type Updated NextGEN Basic ImageBrowser
    3 mins ago
    09/12/2016
    16:35:31 Post NextGEN Gallery – Display Type Updated NextGEN Basic SinglePic

    More specifically in the plugin I just installed (Stream) it shows the error as:

    “”NextGEN Basic Extended Album” nextgen gallery – display type draft save”

    Hi,

    I am having the same issue with a page created by a question/answer plugin (CM Answers Pro). Every minute simple history is showing that the page was updated. Is there any way to disable the just the “post logger” function, so I get updates for everything else except posts and pages?

    Thanks,

    Cathy

Viewing 9 replies - 16 through 24 (of 24 total)
  • The topic ‘Non-stop logging NextGEN gallery items’ is closed to new replies.