BuddyDev

Search

MediaModerator default Title suggestion

  • Participant
    Level: Master
    Posts: 279
    Richard Foley on #12842

    hi Brajesh,

    for your next release of the Media Moderator plugin, I’d suggest an admin setting to configure an optional default title for the report.

    Because of the popup, the title becomes possibly redundant, depending on how the site is used. On my site, for instance, the popup can be used as the title.

    R.

  • Keymaster
    (BuddyDev Team)
    Posts: 22202
    Brajesh Singh on #12843

    Thank you Richard.
    That’s a good suggestion and will have it in the next release.

    Regards
    Brajesh

  • Participant
    Level: Master
    Posts: 279
    Richard Foley on #23041

    Bump?

  • Keymaster
    (BuddyDev Team)
    Posts: 22202
    Brajesh Singh on #23064

    Hi Richard,
    Thank you for bringing it back.

    Please suggest some example. We will put the update in next 2 days.

    Thank you
    Brajesh

  • Participant
    Level: Master
    Posts: 279
    Richard Foley on #23080

    hi Brajesh,

    if I recall correctly, I had in mind something like a text field in the wp-admin/admin.php?page=bpmts-settings page for setting a default value, such that it ends up something like this:

    
    --- a/wp-content/plugins/media-moderator-for-mediapress/core/class-mpp-moderator-actions.php
    +++ b/wp-content/plugins/media-moderator-for-mediapress/core/class-mpp-moderator-actions.php
    @@ -62,7 +62,7 @@ class MPP_Moderator_Actions_Helper {
                    ?>
    
             <button class="mpp-moderation-report-btn" data-toggle="popover" data-title="<?php _e( 'Report Media', 'media-moderator-for-mediapress' ); ?><span
    -                data-content='<div class="mpp-moderator-report-form"><div class="mpp-moderator-message-info"></div><form class="mpp-moderator-form" method
    +                data-content='<div class="mpp-moderator-report-form"><div class="mpp-moderator-message-info"></div><form class="mpp-moderator-form" method
                     data-media-id="<?php echo $media->id; ?>"><?php _ex( 'Report', 'Label for report button', 'media-moderator-for-mediapress' ); ?></button>
    
    

    The relevant bit being placeholder="Enter Title" value="Inappropriate content"

    R.

You must be logged in to reply to this topic.

This topic is: not resolved