Support » Plugin: Reaction Buttons » Buttons After Voting

Viewing 13 replies - 1 through 13 (of 13 total)
  • Plugin Author Jakob Lenfers

    (@jakob42)

    Not sure what rule you’ve been using, but I just tried the following and it worked as expected. Ugly, but worked. 🙂

    div.reaction_buttons li.voted {
        background-color: blueviolet;
    }
    Thread Starter anefarious1

    (@anefarious1)

    I am using the same css but both buttons change color instead of the button that was clicked.

    To see it in action visit canigivemydog.com and visit any page on a mobile phone…towards the bottom of the page you will see the buttons. (won’t be view-able on a desktop)

    Plugin Author Jakob Lenfers

    (@jakob42)

    Oh, you are only allowing to vote for one option. Yeah, that doesn’t seem possible yet…

    Plugin Author Jakob Lenfers

    (@jakob42)

    Please try the development version found here: https://wordpress.org/plugins/reaction-buttons/developers/

    And match for the class ‘rb_chosen’ instead of ‘voted’.

    Thread Starter anefarious1

    (@anefarious1)

    I’m not sure what you mean by “only allowing to vote for one option”. I thought a user can only choose 1 button by clicking on it.

    Plugin Author Jakob Lenfers

    (@jakob42)

    Depends on the settings, default is IIRC that you can click every button, but only once. Totally depends on how you use them, in your setting it’s exclusive, in my defaults an article might be more than only one thing.

    Did the developer build help you?

    Thread Starter anefarious1

    (@anefarious1)

    Do I need to uninstall the regular plugin before installing the developers version?

    Plugin Author Jakob Lenfers

    (@jakob42)

    Don’t think so, should just install over the old one.

    Thread Starter anefarious1

    (@anefarious1)

    I installed it but now the buttons do not change color at all.

    Here is what I have:

    div.reaction_buttons li.rb_chosen {
    background: #DF0101;
    border: 1.7px solid black;
    }

    I tried background-color: #DF0101; as well.

    Thread Starter anefarious1

    (@anefarious1)

    but the thing is.. WP is still showing that I’m using 2.1.1 even though I uploaded the developers version.

    Plugin Author Jakob Lenfers

    (@jakob42)

    I didn’t increase the version number. But from my point of view it still looks like you are using the old version. I’ve changed the version of the dev version to 2.1.2 now: https://downloads.wordpress.org/plugin/reaction-buttons.zip

    The CSS looks good though.

    Thread Starter anefarious1

    (@anefarious1)

    I deactivated the plugin and changed the folder name. Then I installed 2.1.2 and now the CSS is working exactly the way I want. Thank you very much!
    ___
    Just a reminder… I love your plugin but please please make the reporting better. Users get to see the voting percentage on each button (after they vote) but the webmaster has no place to view these very useful percentages! Would be wonderful for content analysis and quality control!

    Plugin Author Jakob Lenfers

    (@jakob42)

    Great.

    Yeah, I don’t think I’m gonna have time for that. If anybody wants to code that, I’ll will happily accept patches, but I don’t see myself implementing that in any near future. This isn’t a marketing tool (for me!), it is simply to engage the readers a bit and get at least some feedback, mostly as a reason to continue blogging.

Viewing 13 replies - 1 through 13 (of 13 total)
  • The topic ‘Buttons After Voting’ is closed to new replies.