BuddyDev

Search

Replies

  • Participant
    Level: Guru
    Posts: 504
    Daniel on in reply to: BP Activity Posting Delay of 5 seconds #35766

    Hi Brajesh,

    Actually you’re right. It still takes up to 5-7 seconds until BP posts the activity. It’s not as bad, perhaps it takes such long because CDN will not work in this case as it is a new post and the input needs to travel to the server where the website is hosted. I think this could be the reason.

    Regards
    Daniel

  • Participant
    Level: Guru
    Posts: 504
    Daniel on in reply to: BP not showing new Profile pic on activity when uploaded #35755

    Hi Brajesh,

    My Theme Developer doesn’t care to respond to tickets even after I have extended support.

    I think this feature would increase the user experience making it more fun. Would you be interested to develop the required code? (against payment of course)

    Thanks.

    Regards
    Daniel

  • Participant
    Level: Guru
    Posts: 504
    Daniel on in reply to: BP Activity Posting Delay of 5 seconds #35754

    Hi Brajesh,

    Yes, the issue has been resolved in the meantime. I have cleared all caches and since the issue doesn’t occur anymore. I think purging the caches every month once is useful.

    Thanks for your time.

    Regards
    Daniel

  • Participant
    Level: Guru
    Posts: 504
    Daniel on in reply to: BP not showing new Profile pic on activity when uploaded #35729
    This reply has been marked as private.
  • Participant
    Level: Guru
    Posts: 504

    Yo hi,

    I think it was a CDN issue, after clearing the cache it seems to work properly.

    Apologies for it.

    Thanks.

    Regards
    Daniel

  • Participant
    Level: Guru
    Posts: 504
    Daniel on in reply to: How to block Bots from autmatic registering #35697

    Hi Brajesh,

    OK thanks for the info. I actually have set a Cloudflare page rule and set to “under attack” mode for register page but these bots still find a way to undergo the protection.

    Will need to think about how I’m gonna do that.

    Thanks anyways.

    Regards
    Daniel

  • Participant
    Level: Guru
    Posts: 504

    Yo hi,

    I was just wondering, could I use a special slug in order that the function will apply also in Groups with this code?

    add_filter( 'bp_activity_type_requires_content', '__return_false' );

    Thanks for your help.

    Regards
    Daniel

  • Participant
    Level: Guru
    Posts: 504

    Hi Ravi,

    Just one more thing. Would it be possible to provide the code to post media without text also for BP Groups? I just recognized that your code below only works for users but not for groups.

    add_filter( 'bp_activity_type_requires_content', '__return_false' );

    Thank you.

    Regards
    Daniel

    • This reply was modified 4 years, 4 months ago by Daniel.
  • Participant
    Level: Guru
    Posts: 504

    Hi Ravi,

    Awesome analytics!

    I have adapted the code.

    Thank you!

    Regards
    Daniel

  • Participant
    Level: Guru
    Posts: 504

    Hi Ravi,

    I use Nouveau template but the code doesn’t work. This means when I upload a photo on BP User activity, then only a message gets posted on activity saying, the user has posted a new photo, but the photo doesn’t show, it is empty, it only adds the photo to BP Wallphotos album but is invisible on user activity.

    Thanks for your time.

    Regards
    Daniel