Skip to:
Content
Pages
Categories
Search
Top
Bottom

Post Update: Unable to See the buddypress Activity

Viewing 15 replies - 1 through 15 (of 15 total)
  • It’s a duplication of this topic:

    No access to single activity item on from after BP2.6 upgrade

    To roll back: download the previous version here. Delete your current version of BuddyPress and upload the older one.


    valarmurugan
    Participant

    @valarmurugan

    Thank for the previous version link,, i have rolled back to the previous version, and the problem got fixed by itself…

    I request you guys to review the latest version


    tse11
    Participant

    @tse11

    Is there any other solution besides rolling back. My theme is now updated to accommodate the new BudyPress and this would cause another problem.


    r-a-y
    Keymaster

    @r-a-y

    @valarmurugan @tse11 – What is the issue exactly?

    Can someone list the steps necessary to duplicate the problem?


    tse11
    Participant

    @tse11

    When clicking on an activity link (the time-stamp link), it now doesn’t bring you to the individual activity. It brings you back to your own profile with a message that says, “You do not have access to this activity.”


    r-a-y
    Keymaster

    @r-a-y

    @tse11 – I am unable to replicate the issue at the moment. Can you list steps to duplicate the issue? Pretend I don’t know what you are referring to.

    Is this only to your own activity items or someone else’s? Is this issue only relevant to specific activity items (activity updates, group activity items) or all types of activity items? Are you logged in as a regular member or an administrator?

    Update – If you are using an object cache plugin, try clearing the object cache.


    tse11
    Participant

    @tse11

    Hi, thank you for trying to help.

    This is for all users, it isn’t specific to a particular member type or activity item either.

    A member goes to the activity feed, he wants to click on an activity item, the item redirects to the user’s own activity profile page with a bar across the top (the buddypress notification,) stating, “You do not have access to this activity.”

    I am not using an object cache plugin.


    r-a-y
    Keymaster

    @r-a-y

    @tse11 – Can you help debug with this code snippet in bp-activity/bp-activity-screens.php?

    https://gist.github.com/r-a-y/1ec4abd0e275f7db056c71a62c478979

    Add the two lines without the + signs to that file. Then try to go to an activity item. This will kill access to the entire page with some debug variables. Can you copy and paste what is on that screen? Then remove the snippet to bring back your site.


    tse11
    Participant

    @tse11

    Yes, I will try that now.


    tse11
    Participant

    @tse11

    It says:

    int(60) string(2) “60”


    r-a-y
    Keymaster

    @r-a-y

    Thanks for the debug help, @tse11.

    One of your plugins (or yourself) is using this code snippet:
    add_filter( 'bp_use_legacy_activity_query', '__return_true' );

    This made our strict activity permalink access check fail.

    I believe the following patch will fix your problem:
    https://buddypress.trac.wordpress.org/attachment/ticket/7146/7146.01.patch

    Can you confirm?


    tse11
    Participant

    @tse11

    Yes, indeed…it works perfectly now. Thank you very, very much!


    r-a-y
    Keymaster

    @r-a-y

    Thanks for the assist, @tse11!

    This will be addressed in BP 2.6.1.


    tse11
    Participant

    @tse11

    Excellent, I appreciate the hard work.


    Anthony Tornambe
    Participant

    @anthonytornambe

    Great my query is also resolved.

Viewing 15 replies - 1 through 15 (of 15 total)
  • You must be logged in to reply to this topic.
Skip to toolbar