• Resolved nswm

    (@nswm)


    Hi. Firstly, thanks for a great plugin. I use it via shortcode to add ratings to my posts. Recently, I am unable to see the Rate My Post settings to update or change ratings in the WordPress post editor and it is not showing under ‘Screen options’/’Screen elements’ so I can’t find a quick way to amend or update ratings. I have searched the support forum but can’t find any reference to this. Are you able to assist or provide any quick way to amend/update ratings for a specific post? Thanks if you can help

    • This topic was modified 2 months, 2 weeks ago by nswm.
Viewing 15 replies - 1 through 15 (of 20 total)
  • Plugin Author Collins Agbonghama

    (@collizo4sky)

    I see now. If you had enabled automatically add rating to post settings, the metabox would have shown up.

    Open a ticket via https://feedbackwp.com/support so we can better help you.

    Thread Starter nswm

    (@nswm)

    Thanks for a very quick reply, Collins. Will do. EDIT: Is that support link only for paid versions as it appears to require a Purchase License key?

    • This reply was modified 2 months, 2 weeks ago by nswm.
    Plugin Author Collins Agbonghama

    (@collizo4sky)

    Alternatively, replace the content of ../rate-my-post/common/class-rate-my-post-common.php with https://pastebin.com/raw/A5ia7ezG

    Then, add the code below to your theme’s functions.php or via a Code Snippet plugin.

    add_filter('rmp_is_show_for_post_edit_screen', function($check, $wp_post) {
                    
        if($wp_post->post_type == 'post') $check = true;
                    
        return $check;
    }, 10, 2);
    Thread Starter nswm

    (@nswm)

    Thanks, Collins. I tried that but when I amended class-rate-my-post-common.php with the updated PasteBin code my website showed a critical error until I returned to the original plugin file.

    Plugin Author Collins Agbonghama

    (@collizo4sky)

    Weird. Open a support ticket on our website. Enter any random character in the license key field.

    Thread Starter nswm

    (@nswm)

    Thanks. Have done that.

    Hi,
    same issue for me. It will work if I enable the automatically add rating. But I don’t need it, all my rates are included in an element.
    But for all that don’t want to wait if is fixed, try this (for me, it works fine):
    And in the case you want the settings on the right side, change “normal” with “side”.
    I hope it will help someone.

    You can do this change in your functions.php or better with CodeSnippets-PlugIn.

    add_action('add_meta_boxes', function() {
    if (class_exists('Rate_My_Post_Admin')) {
    $rate_my_post_admin = new Rate_My_Post_Admin('rate-my-post', '4.2.0');

    add_meta_box('rmp-rate-id', 'FeedbackWP Ratings', array($rate_my_post_admin, 'display_metabox'), ['post', 'page'], 'normal', 'high');
    }
    });

    regards

    • This reply was modified 2 months, 2 weeks ago by DarkWolfCave.
    Plugin Author Collins Agbonghama

    (@collizo4sky)

    Hello everyone, we are going to show the metabox by default on “Post” post types and only conditionally show it for custom post types.

    Thanks all for your feedbacks.

    Thread Starter nswm

    (@nswm)

    Thanks, Collins. I presume this will be in the next plugin update. Any idea when this may be? Appreciate the help.

    Thread Starter nswm

    (@nswm)

    Hi Collins. In the meantime, is there any way to manually amend the rating for a given post in the back-end somehow? I have looked through the plugin documentation but can’t see if this is possible without the metabox.

    Hi @nswm
    have you tried my suggestion from above? Because then you should have the option again on your editor page.

    add_action('add_meta_boxes', function() {
    if (class_exists('Rate_My_Post_Admin')) {
    $rate_my_post_admin = new Rate_My_Post_Admin('rate-my-post', '4.2.0');

    add_meta_box('rmp-rate-id', 'FeedbackWP Ratings', array($rate_my_post_admin, 'display_metabox'), ['post', 'page'], 'normal', 'high');
    }
    });
    Thread Starter nswm

    (@nswm)

    Hi @darkwolfcave. I hadn’t. I had tried the functions.php code that the plugin author suggested along with plugin theme file change but that caused errors on my site. I tried your code above and it did indeed work. Really appreciate the heads-up on this and thank you again.

    Hi @nswm
    I am very happy and glad that it has helped you ??

    Plugin Author Collins Agbonghama

    (@collizo4sky)

    @nswm update should be live by friday.

    Thanks for the fix @darkwolfcave !

Viewing 15 replies - 1 through 15 (of 20 total)
  • You must be logged in to reply to this topic.