#1868 closed enhancement (fixed)
Forums should have a way to view a particular user's posts
Reported by: | SergeyBiryukov | Owned by: | jmdodd |
---|---|---|---|
Milestone: | Priority: | high | |
Component: | Support Forums | Keywords: | has-patch commit |
Cc: |
Description (last modified by )
On the new bbPress 2.x forums, there's no way to view all my (or someone else's) posts.
Previously, I could see them on https://ru.forums.wordpress.org/profile/sergeybiryukov, which now redirects to https://ru.wordpress.org/support/profile/sergeybiryukov and produces a "Page not found" error.
The correct URL appears to be https://ru.wordpress.org/support/users/sergeybiryukov/replies, but both the left navigation menu and pagination links are broken there.
All profile links in the forum templates just link to https://profiles.wordpress.org/sergeybiryukov, which is not helpful, because it does not include international forums activity (see #129).
Attachments (1)
Change History (36)
#1
in reply to:
↑ description
@
8 years ago
#2
follow-ups:
↓ 3
↓ 4
↓ 32
@
8 years ago
@netweb: Thanks! We should add https://ru.wordpress.org/support/users/sergeybiryukov/ to the templates then instead of the WP.org profile.
On https://ru.wordpress.org/support/users/sergeybiryukov/replies, both the left navigation menu and pagination links are broken, they lead to the WP.org profile:
#3
in reply to:
↑ 2
@
8 years ago
Replying to SergeyBiryukov:
On https://ru.wordpress.org/support/users/sergeybiryukov/replies, both the left navigation menu and pagination links are broken
Created a separate ticket for that: #1871
#4
in reply to:
↑ 2
@
8 years ago
Replying to SergeyBiryukov:
@netweb: Thanks! We should add https://ru.wordpress.org/support/users/sergeybiryukov/ to the templates then instead of the WP.org profile.
The end goal has always been to use the WP.org profiles, though the extra functionality to facilitate the previous URLs mentioned still need to be added to profiles.wordpress.org.
On https://ru.wordpress.org/support/users/sergeybiryukov/replies, both the left navigation menu and pagination links are broken, they lead to the WP.org profile:
Because we're redirecting user profiles to profiles.wordpress.org via `wporg_support_profile_url`
#6
@
8 years ago
- Type changed from defect to enhancement
The end goal has always been to use the WP.org profiles, though the extra functionality to facilitate the previous URLs mentioned still need to be added to profiles.wordpress.org.
That's exactly what we're aiming for.
#7
@
8 years ago
I'm all for improving WP.org profiles, but it won't happen this year, will it? In the meantime, forum profiles should have this basic functionality.
#9
follow-up:
↓ 10
@
8 years ago
- Keywords close removed
#10
in reply to:
↑ 9
;
follow-ups:
↓ 11
↓ 13
↓ 28
@
8 years ago
Replying to SergeyBiryukov:
#129 and #518 are enhancements for (still not open sourced) WP.org profiles.
This ticket is a regression on local forums.
Regardless, I think #129 is the right way to fix this ticket. Having two separate profiles isn't helpful long-term.
#11
in reply to:
↑ 10
@
8 years ago
Thinking on this some more, by temporarily removing the redirect to profiles.wordpress.org
:
#12
@
8 years ago
In 1868-redirect.diff should suffice until profile integration with profiles.wordpress.org
progresses.
#13
in reply to:
↑ 10
@
8 years ago
Replying to samuelsidler:
Regardless, I think #129 is the right way to fix this ticket. Having two separate profiles isn't helpful long-term.
I agree about long term, but I think English support team wouldn't be happy either if /support/profile/{username}
pages were gone right now, and there was no forum activity whatsoever on WP.org profiles, which is the case for us.
To summarize, three things I'd like to see here:
- In
content-single-topic-lead.php
, link either username or role to/support/users/{username}/
. - Fix navigation on that page using 1868-redirect.diff.
- Redirect
https://ru.forums.wordpress.org/profile/{username}
to/support/users/{username}/
.
(Some of our active contributors used to link to their forum profile from other sites, I don't see a reason to break that URL if we can redirect it to the correct place.)
#14
follow-up:
↓ 15
@
8 years ago
Admins and moderators can figure out the workaround URLs, but regular users are pretty confused when they can't find their own topics.
#15
in reply to:
↑ 14
;
follow-up:
↓ 17
@
8 years ago
Replying to SergeyBiryukov:
Admins and moderators can figure out the workaround URLs, but regular users are pretty confused when they can't find their own topics.
You are quite right!!
I'm a contributor to both the international and the dutch forum.
Unfortunately I can see only the international topics and not the ones in the dutch forum.
Although it's suggested that the solution is somewhere in this ticket, I have not a clue what to do to get things working again...
This used to work: https:
#17
in reply to:
↑ 15
@
8 years ago
Replying to W.P. Ginfo:
I'm a contributor to both the international and the dutch forum.
Unfortunately I can see only the international topics and not the ones in the dutch forum.
Although it's suggested that the solution is somewhere in this ticket, I have not a clue what to do to get things working again...
It’s same for me, a contributer to the Japanese forum.
I am looking forward to seeing the list of my previous posts/comments again soon.
#18
follow-up:
↓ 19
@
8 years ago
FYI: The Dutch forums user profile slug appears to have changed from users
to user
bbPress' default user slug is users
:
- Works:
https://nl.wordpress.org/support/user/wp-ginfo/topics
- Broken:
https://nl.wordpress.org/support/users/wp-ginfo/topics
Via https://nl.wordpress.org/support/topic/veranderd-forum-mooi-maar-verdwaald/#post-99158
#19
in reply to:
↑ 18
@
8 years ago
Replying to netweb:
FYI: The Dutch forums user profile slug appears to have changed from
users
touser
bbPress' default user slug is
users
:
- Works:
https://nl.wordpress.org/support/user/wp-ginfo/topics
- Broken:
https://nl.wordpress.org/support/users/wp-ginfo/topics
Via https://nl.wordpress.org/support/topic/veranderd-forum-mooi-maar-verdwaald/#post-99158
You are right. Now all of these links are working.
https://ja.wordpress.org/support/user/tenpura/
https://ja.wordpress.org/support/user/tenpura/topics/
https://ja.wordpress.org/support/user/tenpura/replies/
https://ja.wordpress.org/support/user/tenpura/favorites/
https://ja.wordpress.org/support/user/tenpura/subscriptions/
https://ja.wordpress.org/support/user/tenpura/edit/
#20
follow-ups:
↓ 21
↓ 27
@
8 years ago
Not sure why this happens but that's what I've found out:
- The settings page still shows 'users'
wp --url=ja.wordpress.org/support/ option get _bbp_user_favs_slug
returns an empty valuewp --url=ja.wordpress.org/support/ eval 'echo bbp_get_user_slug();'
returns 'user' because the default value ofbbp_get_user_slug()
is 'user', see https://bbpress.trac.wordpress.org/browser/trunk/src/includes/core/options.php?rev=5951&marks=621#L615- There is a
bbp_get_default_options()
function which uses 'users', see https://bbpress.trac.wordpress.org/browser/trunk/src/includes/core/options.php?rev=5951&marks=82#L82
#21
in reply to:
↑ 20
;
follow-up:
↓ 22
@
8 years ago
Replying to ocean90:
Not sure why this happens but that's what I've found out:
- The settings page still shows 'users'
wp --url=ja.wordpress.org/support/ option get _bbp_user_favs_slug
returns an empty valuewp --url=ja.wordpress.org/support/ eval 'echo bbp_get_user_slug();'
returns 'user' because the default value ofbbp_get_user_slug()
is 'user', see https://bbpress.trac.wordpress.org/browser/trunk/src/includes/core/options.php?rev=5951&marks=621#L615- There is a
bbp_get_default_options()
function which uses 'users', see https://bbpress.trac.wordpress.org/browser/trunk/src/includes/core/options.php?rev=5951&marks=82#L82
Great catch on the user
/users
slug, thanks, will investigate further and write some tests and fix bbPress side
It looks like maybe none of bbPress options are in the wp_options
table for the Dutch and Japanese sites
I expect the correct option values will be there for the Russian site, but empty for Dutch and Japanese:
- Returns empty:
wp --url=ja.wordpress.org/support/ option get _bbp_user_favs_slug
- Returns empty:
wp --url=nl.wordpress.org/support/ option get _bbp_user_favs_slug
- Returns
favorites
:wp --url=ru.wordpress.org/support/ option get _bbp_user_favs_slug
Similar for _bbp_user_slug
, though Dutch and Japanese will pickup that default user
value
- Returns
user
:wp --url=ja.wordpress.org/support/ option get _bbp_user_slug
- Returns
user
:wp --url=nl.wordpress.org/support/ option get _bbp_user_slug
- Returns
users
:wp --url=ru.wordpress.org/support/ option get _bbp_user_slug
Are there any bbPress options at all in wp_options
for Dutch and Japanese forum sites? (bbPress uses _bbp
prefix)
#22
in reply to:
↑ 21
;
follow-up:
↓ 24
@
8 years ago
Replying to netweb:
Are there any bbPress options at all in
wp_options
for Dutch and Japanese forum sites? (bbPress uses_bbp
prefix)
I've resaved the bbPress options for all Rosetta sites to force an update; some of the sites did not get the options updated to their default values during the installation. This should resolve the user/users
issue on the forums.
#23
@
8 years ago
In our Italian forum this is the url working
https://it.wordpress.org/forums/users/cristianozanca/replies
there must be a redirect from /forums ->> to /support and it has to be fixed with the other links but works!
Jennifer already knows about it, only to share the working url with you
#24
in reply to:
↑ 22
;
follow-up:
↓ 25
@
8 years ago
Replying to jmdodd:
I've resaved the bbPress options for all Rosetta sites to force an update; some of the sites did not get the options updated to their default values during the installation. This should resolve the
user/users
issue on the forums.
Any idea why this happened? It's not a good experience if bbPress has a bug that prevents its options being saved when activated, I'd like to get to the bottom of this and get it fixed if it's a bbPress problem.
@jmdodd To that end, are the wp-cli script or scripts that have been being used available to me so I can test these please?
#25
in reply to:
↑ 24
;
follow-up:
↓ 26
@
8 years ago
Replying to netweb:
@jmdodd To that end, are the wp-cli script or scripts that have been being used available to me so I can test these please?
I ran activate_plugin( 'bbpress/bbpress.php' );
on the wpmu_new_blog
action.
#26
in reply to:
↑ 25
@
8 years ago
Replying to jmdodd:
Replying to netweb:
@jmdodd To that end, are the wp-cli script or scripts that have been being used available to me so I can test these please?
I ran
activate_plugin( 'bbpress/bbpress.php' );
on thewpmu_new_blog
action.
That sounds fine, but still doesn't help debug the issue, the creation script you mention here, does that have anything else in it that might cause the options to be wiped after activation? Can that script and any others used be made available to the bbPress team or open sourced?
#27
in reply to:
↑ 20
@
8 years ago
Replying to ocean90:
Not sure why this happens but that's what I've found out:
- The settings page still shows 'users'
wp --url=ja.wordpress.org/support/ option get _bbp_user_favs_slug
returns an empty valuewp --url=ja.wordpress.org/support/ eval 'echo bbp_get_user_slug();'
returns 'user' because the default value ofbbp_get_user_slug()
is 'user', see https://bbpress.trac.wordpress.org/browser/trunk/src/includes/core/options.php?rev=5951&marks=621#L615- There is a
bbp_get_default_options()
function which uses 'users', see https://bbpress.trac.wordpress.org/browser/trunk/src/includes/core/options.php?rev=5951&marks=82#L82
Fixed in bbPress:changeset:6078 / #bbPress2983
#28
in reply to:
↑ 10
@
8 years ago
Replying to samuelsidler:
Regardless, I think #129 is the right way to fix this ticket. Having two separate profiles isn't helpful long-term.
#129 is now fixed (see #1953 though), but it's still not a viable solution:
- The Activity page only displays the latest replies, there's no access to all topics and replies.
- Forum profiles should have UI in the forum language, whereas WP.org profiles are intentionally English-only. Merging them would require some kind of i18n roadmap for WP.org profiles.
#29
@
8 years ago
If we're not redirecting we should get the pagination and left sidebar links updated to go to right pages.
#32
in reply to:
↑ 2
@
8 years ago
Replying to SergeyBiryukov:
On https://ru.wordpress.org/support/users/sergeybiryukov/replies, both the left navigation menu and pagination links are broken, they lead to the WP.org profile
Just noticed that Unsubscribe links on https://ru.wordpress.org/support/users/sergeybiryukov/subscriptions/ are broken as well, for the same reason.
#33
@
8 years ago
- Owner set to jmdodd
- Resolution set to fixed
- Status changed from new to closed
In 3973:
Replying to SergeyBiryukov:
These work:
If you are signed in this should also work: