WordPress.org

Forums

Activity Log
[resolved] Not logging member created posts (8 posts)

  1. aljuk
    Member
    Posted 1 year ago #

    Very nice plugin. However, not working for me.

    My site is a portal that enables members to create their own posts (e.g. directory listings, items for sale, jobs board etc.) from the front end of the site.

    The posts are custom post types, and the user role is subscriber.

    No posts created by members are shown as activity.

    https://wordpress.org/plugins/aryo-activity-log/

  2. Yakir Sitbon
    Member
    Plugin Author

    Posted 1 year ago #

    Hey @aljuk

    You don't have any record about them activity? or it's added, but you want all users can see the activity?

    Best,
    Yakir

  3. aljuk
    Member
    Posted 1 year ago #

    Hey Yakir,

    there's no record of the activity. Perhaps because the author of the post is subscriber role?

  4. Yakir Sitbon
    Member
    Plugin Author

    Posted 1 year ago #

    Hi..
    How you create the post? If you using with wp_insert_post(), all will be works.

    Please let's me know about this.

    Best,
    Yakir

  5. aljuk
    Member
    Posted 1 year ago #

    Post (cpt) is created from the front end using an upload form created by Ninja Forms (form plugin) and Ninja Forms Front End Editor (plugin extension which allows users to create and edit their own posts). User role (even though creating post) is subscriber.

    I'm not sure how Ninja Forms is creating the post, but I can look into this.

  6. Yakir Sitbon
    Member
    Plugin Author

    Posted 1 year ago #

    I think the problem with Ninja Forms.. This plugin insert in DB with $wpdb object, and not with WordPress API.

    Source: https://plugins.trac.wordpress.org/browser/ninja-forms/trunk/includes/database.php

  7. aljuk
    Member
    Posted 1 year ago #

    Ah, ok, no way around that really... Many thanks for looking into it for me.

    Great plugin though, works very well for my sites where admin creates the content.

  8. Yakir Sitbon
    Member
    Plugin Author

    Posted 1 year ago #

    Thanks :)

Topic Closed

This topic has been closed to new replies.

About this Plugin

About this Topic

Tags

No tags yet.