Making WordPress.org

Opened 7 years ago

Closed 3 years ago

Last modified 19 months ago

#3479 closed enhancement (duplicate)

Support Profile / Unsubscribe from all Topics button

Reported by: xkon's profile xkon Owned by:
Milestone: Priority: normal
Component: Support Forums Keywords: has-screenshots 2nd-opinion needs-patch ui-feedback
Cc:

Description

I proposed this in the #forums meeting today and we thought that it might worth a ticket to see if this could be possible.

Sometimes we're subscribing ( or I am at least :D ) into pretty much all the topics that I've replied to keep track of what is done or needs more help. After some time though the list can get somewhat big especially if you're waiting for weeks for a reply that never comes.

I think a button to remove to Unsubscribe from all topics would be a good and handy little thing in there.

Maybe we could try something like in the screenshot, just as an overall idea :) .

Attachments (1)

unsubscribe_all_topics.png (85.6 KB) - added by xkon 7 years ago.
unsubscribe button idea

Download all attachments as: .zip

Change History (7)

@xkon
7 years ago

unsubscribe button idea

#1 @Otto42
7 years ago

This may need to wait for better or more comprehensive support for subscriptions in bbPress.

Right now, bbP stores topic subscriptions as usermeta. This isn't particularly scalable and we have some issues with it already when it's doing queries to get the list of users to whom to send those notifications. It only works because of caching, really.

If bbP changes how it stores the subscriptions, then any code we added onto the forums to do this would likely need to be changed if and when bbPress changes. However, if bbPress is going to change, then implementing a function to do this properly could be part of that change as well.

Right now, deleting all topic subs is basically just calling delete_user_option( $user_id, '_bbp_subscriptions' ); and then doing some cache cleanup. But that assumes that we'll continue to store them that way. Having this built into bbPress with a bbp_remove_all_user_subscriptions() or something would be more future-proof.

#2 @dd32
5 years ago

  • Component changed from Profiles to Support Forums

#3 follow-up: @tobifjellner
4 years ago

Right now, bbP stores topic subscriptions as usermeta. This isn't particularly scalable and we have some issues with it already when it's doing queries to get the list of users to whom to send those notifications. It only works because of caching, really.

If this is still the case, then I'd suggest that we "upstream" this to bbPress...

Last edited 4 years ago by tobifjellner (previous) (diff)

#4 in reply to: ↑ 3 @dd32
4 years ago

bbPress has changed the way it stores subscriptions, but WordPress.org doesn't fully utilise it for other reasons (Primarily that we haven't done the data migration).

Having an unsubscribe-all button/functionality can still be done though, either on WordPress.org or in bbPress core.

WordPress.org has extra subscription functionality anyway, namely tag/plugins/themes so would have to get some custom code to utilise any upstream unsubscribe-all functionality anyway.

#5 @dd32
3 years ago

  • Resolution set to duplicate
  • Status changed from new to closed

Marking as a duplicate of the newer #5920 - but primarily only because it's got more recent information than this ticket.

This ticket was mentioned in Slack in #forums by thelmachido. View the logs.


19 months ago

Note: See TracTickets for help on using tickets.