Skip to:
Content
Pages
Categories
Search
Top
Bottom

Remove from Favorites and Unsubscribe not working from Member’s Forums


  • wingflap
    Participant

    @wingflap

    I can’t unfavorite a forum topic from my profile forum favorties.

    Here’s the steps I took:
    If I’m looking at my Favorites in /members/[username]/forums/favorites, I start out with none.
    Then I go to /forums/topic/[topic] to view the topic.
    Now I click the “favorite” link.
    Now I go back to /members/[username]/forums/favorites, And I see the forum topic in the list of my Favorites.
    There is a missing image/icon where the button to remove the topic from my favorites.
    If I click there, it’s not removing the topic from my favorites. And in the forums on /forums/topic/[topic name], when I refresh, the link still says unfavorite.
    If I click that, the topic refreshes and the link has changed to favorite (So it removed the topic from my favorites.
    Then I go back to /members/[user name]/forums/favorites, and it’s gone.

    The same is true with subscriptions.

    And while we’re at it, I’d love to be able to add a Favorites button to a single blog post and coordinate that with the Favorite button for blog posts in the Activity fee. And then a listing of my favorite blog posts in my profile. And if we’re doing posts, may as well carry it through to comments.

    I’m having a great time with BuddyPress and appreciate all the hard work!

Viewing 13 replies - 1 through 13 (of 13 total)

  • wingflap
    Participant

    @wingflap

    Also, If I click the Mark as Favorite button in the site-wide activity feed entry for the topic creation, It shows up as marked as a favorite in the member’s activity feed (which I’d expect). But I’d also assume that ‘favoriting’ the activity entry implies that I’d like the actual forum topic set as a favorite as well.


    wingflap
    Participant

    @wingflap

    I’m using the free version of the BuddyX theme if that helps.


    Varun Dubey
    Participant

    @vapvarun

    @wingflap activity mark favorite differs from marking a topic as a favorite.
    To link “mark favorite” actions on bbPress topics to BuddyPress activities, you may need custom development or specific plugins, as it’s not a default feature.


    wingflap
    Participant

    @wingflap

    Thanks for the reply. I understand about linking the bbPress “favorite” to BuddyPress activities.

    But my real concern is:

    I can’t unfavorite a forum topic from my profile forum favorties.

    Here’s the steps I took:
    If I’m looking at my Favorites in /members/[username]/forums/favorites, I start out with none.
    Then I go to /forums/topic/[topic] to view the topic.
    Now I click the “favorite” link.
    Now I go back to /members/[username]/forums/favorites, And I see the forum topic in the list of my Favorites.
    There is a missing image/icon where the button to remove the topic from my favorites.
    If I click there, it’s not removing the topic from my favorites. And in the forums on /forums/topic/[topic name], when I refresh, the link still says unfavorite.
    If I click that, the topic refreshes and the link has changed to favorite (So it removed the topic from my favorites.
    Then I go back to /members/[user name]/forums/favorites, and it’s gone.

    The same is true with subscriptions.

    When looking at a member’s profile in the Forum tab, the last two tabs are Favorites then Subscriptions.

    Basically, in the topic list for favorites and subscribed topics within the Member Profile page, the listing of a member’s favorites and subscribed topics has a missing icon in the untitled column to the left of ‘view’ column. When I hover over it, the link displays to bbPress.

    The similar view from within bbPress (sitewide as opposed to within the Profile page) has this icon. When I click the link, it toggles correctly.

    As I think I just proved, a picture is worth a thousand words 🙂


    wingflap
    Participant

    @wingflap

    After some more looking, I found that there is not an icon that is missing. The red “X” is there to remove the topic from favorites. The same is true for the red “X” in the subscriptions tab. The problem is that the URL for removing a topic as a favorite or as a subscribed topic is incorrect (or at least it is different than the URL used within bbPress.

    I assume that when the red “X” is clicked, the topic should be unfavorited (or unsubscribed) and would then not appear in the Members’ profile forum tab. Since the URL is not doing it’s job, the topics stay there and in bbPress show as still favorited and/or subscribed.

    So the URL seems to be the culprit.


    wingflap
    Participant

    @wingflap

    From within the Forum section in the Member Profile under the ‘Favorites’ tab, the link behind the “X” is:
    https://[site-url]/members/admin/forums/favorites/?action=bbp_favorite_remove&object_id=2133&redirect_to=https%3A%2F%2F[site-url]%2Fmembers%2Fadmin%2Fforums%2Ffavorites%2F&_wpnonce=d3c1b95e22

    If I’m looking at the topic in Forums (bbPress), the link behind the ‘favorite’ link is:
    https://[site_url]/discussions/topic/[topic-title]/?bbp-ajax=true&action=bbp_favorite_add&object_id=2133&_wpnonce=d3c1b95e22

    Where:
    [site-url] = the website url
    [topic-title] = the topic’s title.

    FYI, I am running the BuddyPress Classic plugin if this makes any difference.

    NOTE: I understand that Favoriting an Activity post about a forum topic is different than Favoriting a Forum Topic. I know that you said:

    To link “mark favorite” actions on bbPress topics to BuddyPress activities, you may need custom development or specific plugins, as it’s not a default feature.

    but this is functionality that currently exists and just doesn’t work. I’m trying to provide you with as much information as I can.

    Any help with this would be appreciated.


    wingflap
    Participant

    @wingflap

    Is this maybe a bbPress issue and not a BuddyPress issue? I’m asking here because of the differrnce in URLs for doing the favorite/unfavorite or subscribe/unsubscribe from within bbPress as opposed to from within the BuddyPress profile section.


    joshbuttler
    Participant

    @joshbuttler

    I’ve noticed the same issue with unfavouriting forum topics. The steps you’ve outlined perfectly describe the problem I’ve encountered as well. The missing image/icon and the link not removing the topic from favorites are indeed frustrating.

    I also share your enthusiasm for BuddyPress and would love to see some enhancements, especially the ability to add a Favorites button to individual blog posts and coordinate it with the Activity feed. It would be fantastic to have a listing of favorite blog posts in the profile, and extending it to comments would be the cherry on top.

    Thanks for bringing this up, and kudos to the BuddyPress team for their hard work! Looking forward to seeing these improvements.


    wingflap
    Participant

    @wingflap

    If it helps, I just disabled the BB Classic plugin (which I need until MediaPress updates to BB12 compatible. With BB Classic disabled, I get a 404 error when I click the Favorites or Subscriptions tab in the Forum section of BuddyPress Profile. I have a funny feeling that the problem with Unfavoriting and Unsubscribing has something to do with BuddyPress trying to create a URL with a redirect for bbPress.

    Also, I did this test after updating to BuddyBoss 12.1.1 today. The URL to Unfavorite within the BuddyPress Profile is still with BB Classic enabled:

    https://[site-url]/members/admin/forums/favorites/?action=bbp_favorite_remove&object_id=55&redirect_to=https%3A%2F%2F[site-url]%2Fmembers%2Fadmin%2Fforums%2Ffavorites%2F&_wpnonce=f9336f0991


    Varun Dubey
    Participant

    @vapvarun

    @wingflap bbPress still contains old codes that need an update; tickets are already created at the bbPress Trac. As a temporary solution, you can rename slug from the bbPress setting for favorite as it conflicts with BuddyPress favorite slug and then try again.


    wingflap
    Participant

    @wingflap

    @vapvarun I changed the ‘Favorites’ slug in bbPress settings to ‘saved’, and then saved the settings. Then, I went into the Forums section of the profile and, in the ‘Favorites’ tab clicked the ‘X’ to unfavorite the topic. It didn’t work.

    The URL behind the ‘X’ link is:
    https://[site-url]/members/admin/forums/saved/?action=bbp_favorite_remove&object_id=55&redirect_to=https%3A%2F%2F[site-url]%2Fmembers%2Fadmin%2Fforums%2Fsaved%2F&_wpnonce=3e81531050

    The URL to unsubscribe from within the bbPress list of topics is:
    https://[site-url]/forums/topic/itching/?action=bbp_favorite_remove&object_id=55&_wpnonce=3e81531050

    It looks like maybe the URL is not constructed correctly in BuddyPress?


    wingflap
    Participant

    @wingflap

    I deactivated BuddyPress and then selected ‘favorites’ from the generic bbPress profile page. Within the list of favorited topics, the ‘X’ has the following URL:
    https://[site-url]/forums/users/admin/favorites/?action=bbp_favorite_remove&object_id=55&redirect_to=https%3A%2F%2F[site-url]%2Fforums%2Fusers%2Fadmin%2Ffavorites%2F&_wpnonce=198716f56b

    When I click the ‘X’ it unfavorites is. I’m beginning to see what’s happening here. Thanks for your help so far.


    wingflap
    Participant

    @wingflap

    @vapvarun Again, thanks for the help so far. Any other suggestions until the bbPress team fixes this?

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