• Resolved Geert

    (@garkraaijeveld)


    Hi, nice plugin. Is it possible to create an option to have the choice to only enable voting on topic level and not on replies?

    That would really work for where a forum is used for sharing ideas, which is on topic level.

    Or can I change the code myself to fix it? I was looking for a line to disable with // where it shows on replies but seems there’s no specific code there.

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

    (@natekinkead)

    Thanks for the suggestion. In a future update, I will be looking at creating a hook for you to use to implement your own logic for when the voting should and should not appear.

    Thread Starter Geert

    (@garkraaijeveld)

    Cool! Thanks.

    Plugin Author natekinkead

    (@natekinkead)

    I just released a new version that includes this feature.

    Simply add this code to your child theme’s functions.php file…

    add_filter( 'bbp_voting_only_topics', '__return_true' );

    How to display topic and reply and VOTING at the same time?

    Plugin Author natekinkead

    (@natekinkead)

    Don’t use either of those filters. It does that by default.

Viewing 5 replies - 1 through 5 (of 5 total)
  • The topic ‘Option vote only on topics’ is closed to new replies.