• Resolved Nick

    (@nickchomey)


    This looks wonderful, but it only seems to work for replies and not for topics when used with BuddyBoss. I have ensured that the checkbox is not checked for disable for topics. Can you confirm if this is a problem with the plugin or with my setup?

    Thanks!

Viewing 10 replies - 1 through 10 (of 10 total)
  • Thread Starter Nick

    (@nickchomey)

    Sorting by votes doesn’t seem to work either, for both replies and topics.

    Plugin Author natekinkead

    (@natekinkead)

    @nickchomey , can you share your site with me so I can take a look? It should be working fine with BuddyBoss.

    Plugin Author natekinkead

    (@natekinkead)

    @nickchomey , please let me know if you have a chance to either share your site with me or share some more details about the issue you’re running into. Thanks.

    Thread Starter Nick

    (@nickchomey)

    Sorry, I didn’t notice your previous reply. You can see a forum topic here:

    https://seeingtheforest-staging.chtzdd5nop-58e60n5g53d7.p.runcloud.link/groups/bicycle-machines/forum/discussions/bike-topic-1/

    There are voting buttons for the replies, but not for the topic – either when viewing th topic or all topics within the forum. I have turned off the setting for disable voting on topics, and have also manually set the forum voting to “enable”.

    Plugin Author natekinkead

    (@natekinkead)

    Hi @nickchomey , I don’t think I have any great answers for you at the moment. I set up my dev site with BuddyBoss plugin and the BuddyBoss theme so it looks just like your site, and it’s working perfectly fine for me. So, all I can do is to try and identify any differences between your setup and mine.

    Here are some screenshots of my dev site.

    Forum with Topics: https://imgur.com/a/1voyU8c
    Topic with Replies: https://imgur.com/a/QkiIfwR

    Some observations:

    – Your forum seems to be nested inside a group, and if I click on the Forums link on your site, there are no forums there. I’m not too familiar with BuddyBoss, so I’m not sure how that works technically, but it might be worth some troubleshooting to create a forum that’s not in a group, submit a topic in that, and see if it works there. If that’s the case, then there might be some extra hooks I need to include in my plugin.

    – I also noticed that either you are not displaying the original topic’s post at the top, or you’re confused and treating it as if it was the first reply. If you see my screenshot, the original topic post was titled “Test Topic” and the content of that was “This is a test”. bbPress shows the content of the topic at the top of the replies.

    – If there was confusion as I described in that previous point, then that would also explain why you though that sorting replies by voting score was also not working… because that top post is not a reply and should always be at the top because it’s the topic post.

    Thread Starter Nick

    (@nickchomey)

    Thanks very much for the thorough reply! I will give these troubleshooting steps a try when I get a chance and report back.

    Thread Starter Nick

    (@nickchomey)

    I just looked into this. It is strange that you have no issues while I do. I have disabled all plugins except for BuddyBoss Platform and bbPress Voting and the voting arrows still don’t show up for topics in each forum’s topic list.

    – the problem persists for both standalone and group-associated forums
    – The original post’s topic content is being displayed appropriately – it is possible that some CSS made it look like a reply when you looked. I’ll investigate later
    – The reply sorting does appear to be working, that was my mistake.

    If you didn’t already, perhaps you could try yours with the free plugin rather than pro? I can’t think of any else that might be different…

    Plugin Author natekinkead

    (@natekinkead)

    I just tested after deactivating the Pro plugin and it’s still the same (except without the avatars and accepted answer stuff).

    Thread Starter Nick

    (@nickchomey)

    I just set up a fresh WP install with only BuddyBoss Platform, BuddyBoss Theme and bbpress Voting installed, and my issue persists. But, I disabled the theme and reverted to twenty twenty-one and now I see the voting buttons, so it is a theme issue. I’ll dig through the code tomorrow and see what I can figure out.

    Thread Starter Nick

    (@nickchomey)

    The problem was the action hook you use was eliminated from the theme template.

    I fixed it by adding this line to my theme/buddyboss-theme-child/bbpress/loop-topic-list.php file on line 5.

    “<?php do_action( ‘bbp_theme_before_topic_title’ ); ?> ”

    Sorry for the unsupported trouble, but hopefully this will help someone else!

Viewing 10 replies - 1 through 10 (of 10 total)
  • The topic ‘I can’t seem to get voting to work at the topic-level in BuddyBoss’ is closed to new replies.