• Resolved charityanna

    (@charityanna)


    Hello,
    I am using the shortcode for topic list as follows:
    [bsp-display-topic-index show=’3′ forum =’xxx’ show_stickies=’true’ template = ‘list’]

    Which displays beautifully until someone replies to that topic and then it disappears. I tried using “short” instead of list even though I don’t really want that, but simply to test and it said “Oh, bother! No topics were found here.”

    I did originally have it like this:

    [bsp-display-topic-index show=’5′ forum =’10’ noreply=’true’ template = ‘list’]

    But I removed the noreply thinking that was the issue, but it didn’t fix it.

    Any ideas? ??

Viewing 15 replies - 1 through 15 (of 17 total)
  • Plugin Author Robin W

    (@robin-w)

    the shortcode works, I’d suspect that as you originally had “noreply=’true’”, this is still taking effect.

    If you have caching software, then this would be the cause.

    Thread Starter charityanna

    (@charityanna)

    Oh my, I’m so sorry. Yes, it is fixed. I did the clear the cache and it didn’t show up at first, but now it is showing. I apologize for bothering you.

    Plugin Author Robin W

    (@robin-w)

    no problem, glad you are fixed ??

    Thread Starter charityanna

    (@charityanna)

    @robin-w I lied ?? It’s not fixed.

    I don’t know what’s causing it. I created a staging site and I turned off the caching plugin, turned off the CDN, deactivated all the plugins, and changed the theme and still not showing up if the topic has a reply.

    I also tried changing it from list to short and it says: Oh, bother! No topics were found here.

    I created a new topic and it shows up until I post a reply and it disappears.

    I tried sticky and unsticky – even tried all the different shortcodes but it keeps saying the same thing even though the forums below it are showing topics.

    I tried the tools under the forums and still nothing. I don’t see anything in the debug log either.

    Any ideas?

    Thread Starter charityanna

    (@charityanna)

    I will mentioned I have these files in my child themes folder:
    content-single-forum.php
    form-reply.php
    form-user-edit.php
    archive-forum.php

    even though I don’t think that makes a difference since switching the theme didn’t change anything.

    Thread Starter charityanna

    (@charityanna)

    Only other thing, does it matter if the forum is closed?

    Robin is going to be pretty busy for the next week or two. I’ll try to replicate this on my dev server and get back to you.

    I’ll be busy until later today, but I will dig into it this evening. ??

    @charityanna – I was able to replicate this.

    The quick immediate fix is to not specify the noreply parameter at all:

    [bsp-display-topic-index show="5" forum="10" template="list"]

    This will be fixed in the next release of Style Pack, but I want to finish up the alterations for how we handle certain things in BuddyPress.

    As it stands right now, ANY value specified for noreply is treated as “true” even if it’s set to “false”, or even “chunky tuna” for that matter.

    It will be fixed in the next release. Use the workaround for now until then.

    Thread Starter charityanna

    (@charityanna)

    @codejp3 thank you for getting back to me. However, that is what I’m doing and it’s still not showing if there has been a replied.

    Can you post the shortcode you’re currently using?

    Thread Starter charityanna

    (@charityanna)

    [bsp-display-forum-index forum= ‘xxxxx’ breadcrumb=’no’ search=’no’]

    [bsp-display-topic-index show=”3″ forum=”xxxxx” template=”list”]

    As you posted them, they are not working for me.

    Getting rid of extra spaces and using double-qoutes, they are working for me:

    [bsp-display-forum-index forum="155" breadcrumb="no" search="no"]
    
    [bsp-display-topic-index show="3" forum="155" template="list"]

    With that said, I did set it as a private forum to mimic your setup. Since it’s private, it DOES show topics to logged-in users. It does NOT show topics to logged-out users, but that is the expected normal default behavior.

    It DOES show the forum to all users, logged-in or out, but the URL is only accessible to logged-in users. I think I will include some changes for that in the next release so that it only shows the forum to logged-in users that can actually access it.

    Thread Starter charityanna

    (@charityanna)

    Yay! It’s working now! Just a FYI, the shortcode provided by the plugin gives single quotes. I didn’t think that made an impact, but I guess so. ?????♀?

    I’m going to take care of that for the next release of Style Pack. It will have some enhancements to the shortcodes so minor issues like this don’t happen in the future.

    Thank you for reporting this issue! Glad we got you straight. ??

    Thread Starter charityanna

    (@charityanna)

    Thank you for all your help!

Viewing 15 replies - 1 through 15 (of 17 total)
  • The topic ‘Topic List Disappearing After Reply’ is closed to new replies.