BuddyDev

Search

Replies

  • Participant
    Level: Enlightened
    Posts: 53
    David Levi on in reply to: Bug: Bp Activity Shortcode – First Post #19050

    Im wondering if it has something to do with my settings.

    When I use the shortcode to display a group and it does not yet have any activity:

    1. It shows the message: “Sorry, there was no activity found….”(Good)
    2. When I try and upload my first post, The message above disappears, but the post never shows up. I must refresh the page for it to show.

    It’s only on the first post. So once I have one post and I post more content. It successfully refreshes.

  • Participant
    Level: Enlightened
    Posts: 53

    That worked! I guess because the button was wrapped around the link it was blocking the click from going through.

    Thanks for the help.

  • Participant
    Level: Enlightened
    Posts: 53

    No worries. Buddypress should really implement this into the core functionality.

  • Participant
    Level: Enlightened
    Posts: 53
    This reply has been marked as private.
  • Participant
    Level: Enlightened
    Posts: 53
    David Levi on in reply to: Activity Shortcode Plugin – Ajax Posts #18013

    I will see if there is an option that I can use the groups in a matter that is not hidden for now, and see if we can go from there.

    Maybe this is something you guys can put on the todo list to figure out how to approach this issue.

    We defiantly do not want to leak unwanted data.

    Thank you,

  • Participant
    Level: Enlightened
    Posts: 53
    David Levi on in reply to: Activity Shortcode Plugin – Ajax Posts #17993

    Hey Brajesh,

    Can we expect an update on this today?

    Thanks.

  • Participant
    Level: Enlightened
    Posts: 53
    David Levi on in reply to: Activity Shortcode Plugin – Ajax Posts #17942

    Awesome, Thank you.

  • Participant
    Level: Enlightened
    Posts: 53
    David Levi on in reply to: Activity Shortcode Plugin – Ajax Posts #17920

    Great, anytime frame on that?

    As long as people know its intended use, I don’t think there will be any issues.

    At the very least, its a feature that is supported natively by the activity stream, and I think supporting it in the plugin (can be off by default), would be highly beneficial.

  • Participant
    Level: Enlightened
    Posts: 53
    David Levi on in reply to: Activity Shortcode Plugin – Ajax Posts #17898

    Hey,

    So after you said it was incorrect behavior, I did a little bit of testing. I found out that it is because the group is set to hidden. When I changed it to public it works correctly.

    I added code to support the ‘show_hidden’ filter for the activity stream.
    Source: https://codex.buddypress.org/developer/loops-reference/the-activity-stream-loop/

    On Line:78 of class-bpas-shortcode-helper.php I added a value for ‘show_hidden’ to the array to support a value from the shortcode.

    It works, but I guess only when initially loaded.

    1. Maybe we can add official support for the ‘show_hidden’ filter.
    OR
    2. Maybe you can direct me where else I need to add this value to support it.

    Thank you,

  • Participant
    Level: Enlightened
    Posts: 53
    David Levi on in reply to: Activity Shortcode Plugin – Ajax Posts #17874

    Do you mean the “refresh” that allows showing new activities happening on the site?

    No. I’m not talking about other activity from the site, I’m talking just about my current post.

    When I make a post, I never see it in the feed. I need to refresh the whole page in order to see it. No filters would be needed. When I make a post, the plugin already knows, and we would just need to refresh the feed.