#3479 closed enhancement (duplicate)
Support Profile / Unsubscribe from all Topics button
Reported by: | 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)
Change History (7)
#1
@
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.
#3
follow-up:
↓ 4
@
4 years ago
If this is still the case, then I'd suggest that we "upstream" this to bbPress...
#4
in reply to:
↑ 3
@
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
@
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.
unsubscribe button idea