• Resolved gazpugh1

    (@gazpugh1)


    Hi,

    Is it possible to force any changes made to an individuals profile page to not appear unless moderated and approved by an administrator?

Viewing 15 replies - 16 through 30 (of 41 total)
  • Thread Starter gazpugh1

    (@gazpugh1)

    Yes but I’m not down as the site admin as I’m contracted onto this. Bear with me and I will try and get hold of a copy.

    Thread Starter gazpugh1

    (@gazpugh1)

    Hi Miss Veronica,

    Apart from the standard part about safe mode at the start, the error details are as follows:

    When seeking help with this issue, you may be asked for some of the following information:
    WordPress version 6.2.2
    Active theme: !!!!!!!!!!!!! (version 1.0.0)
    Current plugin: Ultimate Member – Profile Content Moderation (version 2.0.0)
    PHP version 7.4.33

    Error Details
    =============
    An error of type E_ERROR was caused in line 73 of the file /home/sites/2a/2/284d20b7b1/public_html/wp-content/plugins/um-profile-content-moderation-main/um-profile-content-moderation.php. Error message: Uncaught Error: Call to private method um\core\Mail::locate_template() from context ‘UM_Profile_Content_Moderation’ in /home/sites/2a/2/284d20b7b1/public_html/wp-content/plugins/um-profile-content-moderation-main/um-profile-content-moderation.php:73
    Stack trace:
    #0 /home/sites/2a/2/284d20b7b1/public_html/wp-content/plugins/um-profile-content-moderation-main/um-profile-content-moderation.php(310): UM_Profile_Content_Moderation->copy_email_notifications_content_moderation()
    #1 /home/sites/2a/2/284d20b7b1/public_html/wp-includes/class-wp-hook.php(308): UM_Profile_Content_Moderation->um_extend_admin_menu_content_moderation(”)
    #2 /home/sites/2a/2/284d20b7b1/public_html/wp-includes/class-wp-hook.php(332): WP_Hook->apply_filters(”, Array)
    #3 /home/sites/2a/2/284d20b7b1/public_html/wp-includes/plugin.php(517): WP_Hook->do_action(Array)
    #4 /home/sites/2a/2/284d20b7b1/public_html/wp-content/plugins/ultimate-member/includes/admin/core/class-admin-menu.php(184): do_action(‘um_extend_admin…’)
    #5 /home/sites/2a/2/284d2

    missveronica

    (@missveronicatv)

    @gazpugh1

    Sorry this is being fixed by UM in the next version 2.6.3

    You can make the required change by editing the file
    .../wp-content/plugins/ultimate-member/includes/core/class-mail.php

    at line 120 change from

    private function locate_template( $template_name ) {

    to

    public function locate_template( $template_name ) {

    Also documented by the UM developers here

    https://github.com/ultimatemember/ultimatemember/commit/aafd4d0962fdbf993e23727f5a87f3a95dd94b86

    Thread Starter gazpugh1

    (@gazpugh1)

    Brilliant! That’s worked nicely. Thanks you so much for your time and effort on this!

    Last question… will this plugin be in the WordPress Repository at some point so automatic updates can be enabled?

    missveronica

    (@missveronicatv)

    @gazpugh1

    I will be working with some more updates to this plugin and don’t know if it will be widely used so all extra efforts for doing a WP supported plugin is justified.

    Later today you will get version 2.1.0 with a time stamp and notice in the modal if a denial email has been sent for the Profile update being watched at.

    missveronica

    (@missveronicatv)

    @gazpugh1

    The plugin version 2.1.0 is ready for download.

    https://github.com/MissVeronica/um-profile-content-moderation

    Thread Starter gazpugh1

    (@gazpugh1)

    Hi Miss Veronica,

    I’ve installed version 2.1.0 and updated the emails but when a change is made to an account profile, we do not get the message that it is pending review and there is nothing showing to review in the moderation list.

    missveronica

    (@missveronicatv)

    @gazpugh1

    Verify that the Profile form is selected and
    the primary role of the user is selected ( highest role priority )
    in UM Settings -> General -> Users

    All Email templates must also be selected.

    Thread Starter gazpugh1

    (@gazpugh1)

    It’s the same as before – default profile for the form and subscriber for the user role.

    Thread Starter gazpugh1

    (@gazpugh1)

    Emails were also set to the new email templates now added.

    missveronica

    (@missveronicatv)

    @gazpugh1

    Try to do a “Clear cache of Users” at the UM Dashboard.

    Thread Starter gazpugh1

    (@gazpugh1)

    I’ve cleared both the user cache and user status cache and still nothing 🙁

    missveronica

    (@missveronicatv)

    @gazpugh1

    Use the phpMyAdmin to look at the usermeta table
    search with the user_id for the account and meta_key um_content_moderation
    meta_value is either 0 or a timestamp like 1686238232

    0 value an update has been accepted
    1686238232 the time when an update was submitted

    Thread Starter gazpugh1

    (@gazpugh1)

    The value is “1686053290” which indicates an update has been submitted for user ID80 but there is still nothing showing to indicate anything needs to be reviewed.

    missveronica

    (@missveronicatv)

    @gazpugh1

    Look at this User at “WP All Users” if the Account is “Approved”?

    If Yes, set the Account to “Pending Review”.

Viewing 15 replies - 16 through 30 (of 41 total)
  • The topic ‘Content Moderation’ is closed to new replies.