• Resolved Clivesmith

    (@clivesmith)


    Hi,

    I have updated and the only difference I can see is a number next to the up and down arrow that says how many times each has been pressed. when I hover over the arrow it goes darker.
    I was hoping that we would be able to change the arrows to a label like “helpful” I don’t think the arrows are self explanatory and would seem to be more that the arrows are to vote for the member than the post. Sorry seem to be negative but I really think this plugin is useful.

    Clive

Viewing 8 replies - 1 through 8 (of 8 total)
  • Plugin Author natekinkead

    (@natekinkead)

    @clivesmith, I received feedback and feature requests from multiple people. This update was primarily from the feedback received by someone else.

    I personally like the arrows interface. It looks clean. Having words there might make it look cluttered. But, that’s just my opinion. Maybe I could make it work.

    It didn’t occur to me that people might think the vote is for the person instead of the reply, but I see that now. I wonder if changing the position of it would help.

    Thread Starter Clivesmith

    (@clivesmith)

    Hi,

    I agree, I think the arrows look clean but as I said I am not sure what the arrows are voting for, I don’t know where else they would fit. To me the ideal would be under the down arrow a word / phrase (” helpful “, “thanks”) and a dividing line or something to separates it from the profile.

    Thread Starter Clivesmith

    (@clivesmith)

    Hi,
    Just thought I would say, I have made a couple of mods, I have included a title under the arrows and changed the “post” heading to reflect what the arrows are for. This is something like I was suggesting, I would also like the order of the posts to be highest vote first. Hope you don’t mind, please have a look https://wateratairports.com

    • This reply was modified 6 years, 4 months ago by Clivesmith.
    Plugin Author natekinkead

    (@natekinkead)

    Would you mind sharing your modded plugin so I may consider bringing those features in?

    Sorting with highest vote first is a pretty good idea. I’ve thought about that before, but wasn’t sure if it would be something I would use. I’ll look into making that an option.

    Thread Starter Clivesmith

    (@clivesmith)

    Because am update from you would take away any edits I made, I just added some echo lines to bbp-voting.php as you can see below. If you dont want to have a settings page on the dashboard, if it was possible could you add an action hook and assign variables where the echo’s are so we can put what titles we want, if we want them from functions.php in the child theme. Changing the order would be great too
    thanks
    echo ‘<div class=”bbp-voting”>’;
    // Up vote
    //adds the word helpful in red above the arrow
    echo ‘<p style=”color: red;”>Helpful</p>’;
    echo ‘Up‘;
    // Display current vote count for post
    echo ‘<div class=”score”>’. $score. ‘</div>’;
    // Down vote
    echo ‘Down‘;
    echo ‘</div>’;

    //adds the words ‘not helpful’ in red below the arrow
    echo ‘<p style=”color: red;”>Not Helpful</p>’;

    Plugin Author natekinkead

    (@natekinkead)

    I’ve integrated this into the latest version that I just released. 1.1.2.

    You can change the Helpful and Not Helpful labels with these filters…

    add_filter('bbp_voting_helpful', function() {
        return 'Thanks';
    });
    add_filter('bbp_voting_not_helpful', function() {
        return 'No Thanks';
    });
    Thread Starter Clivesmith

    (@clivesmith)

    Great, Thank you.

    Plugin Author natekinkead

    (@natekinkead)

    You’re welcome!

Viewing 8 replies - 1 through 8 (of 8 total)
  • The topic ‘Update 1.1.0’ is closed to new replies.