Opened 11 years ago
Closed 7 years ago
#5483 closed enhancement (maybelater)
Custom user url in BuddyPress and WordPress
Reported by: |
|
Owned by: | |
---|---|---|---|
Milestone: | Priority: | normal | |
Severity: | normal | Version: | |
Component: | Core | Keywords: | reporter-feedback, trac-tidy-2018 |
Cc: |
Description
Will better if user url can be change. It would be a cool feature to be able to swap between a username, full name, ID or any other unique identifiable string.(Like custom permalink in WordPress)
This is my problem: http://stackoverflow.com/questions/22529937/how-to-custom-user-url-in-buddypress-and-wordpress
Change History (5)
#1
follow-up:
↓ 3
@
11 years ago
- Keywords reporter-feedback added
- Milestone BuddyPress.org deleted
- Type changed from defect (bug) to enhancement
#3
in reply to:
↑ 1
@
10 years ago
Hi,
I am really interested in this feature too, is there any workaround which could at least just hide the username in the profile URL for example and replace it with the nickname?
Because it gives hackers 1 of 2 informations to hack users accounts, only thing they need is find the password (we all got strong passwords but it would be better to hide the username too for double protection).
#4
@
7 years ago
- Keywords trac-tidy-2018 added
We're closing this ticket because it has not received any contribution or comments for at least two years. We have decided that it is better to close tickets that are good ideas, which have not gotten (or are unlikely to get) contributions, rather than keep things open indefinitely. This will help us share a more realistic roadmap for BuddyPress with you.
Everyone very much appreciates the time and effort that you spent sharing your idea with us. On behalf of the entire BuddyPress team, thank you.
If you feel strongly that this enhancement should still be added to BuddyPress, and you are able to contribute effort towards it, we encourage you to re-open the ticket, or start a discussion about it in our Slack channel. Please consider that time has proven that good ideas without contributions do not get built.
For more information, see https://bpdevel.wordpress.com/2018/01/21/our-awaiting-contributions-milestone-contains/
or find us on Slack, in the #buddypress channel: https://make.wordpress.org/chat/
The answer given here is pretty close to correct: http://stackoverflow.com/a/22695317 Actually, it seems like it's doing a bit too much; I don't think you really need to be filtering the activity_action etc (in any case, those values will be built dynamically starting in BP 2.0). The
bp_core_get_userid()
filter described there is probably intended to help with the page router in bp-core-catchuri.php, and seems like a reasonable hack.Beyond these two primary filters (bp_core_get_userid and bp_core_get_user_domain), I'm not really sure what we could do in BuddyPress that would respond to your request. Having a hardcoded option to use the numeric user ID seems to specific. And the two filters listed will let you swap out for arbitrary identifiable strings.
If you have specific suggestions about how this process could be improved, it'd be great to hear them.