Skip to:

Opened 9 years ago

Closed 5 years ago

#2171 closed enhancement (maybelater)

New [bbp-profile-url] Short Code

Reported by: mordauk Owned by: mordauk
Milestone: Priority: normal
Severity: normal Version: trunk
Component: API - Shortcodes Keywords: has-patch reporter-feedback


As discussed on [IRC #bbpress-dev](, I'm proposing that we add a new [bbp-profile-url] short code that displays a link to the current user's forum profile page.

I personally found a use case for this when I wanted to create an site account page that includes a section for "View Your Support Requests / Profile", but there isn't currently a way to do this.

Attachments (1)

bbpress-profile-url-shortcode.patch (2.0 KB) - added by mordauk 9 years ago.

Download all attachments as: .zip

Change History (6)

#1 @mordauk
9 years ago

On a related note, I'd like to see a short code created for showing the entire forum profile so that it can be embedded on any page.

#2 @johnjamesjacoby
9 years ago

  • Keywords reporter-feedback added
  • Milestone changed from Awaiting Review to Future Release

Moving to future release. I've thought about this in the past. I think if we go this route, we would want to be able to pass a user ID as an attribute into the shortcode. Any chance you want to repatch to add that in?

#3 @mordauk
9 years ago

What's the advantage of being able to pass a user ID? I'm having trouble coming up with a scenario where that would be needed.

#4 @gautamgupta
9 years ago

I think it would be a better idea to just return the profile url than the html as the text ("Your Forums Profile") that one wants to be displayed would vary alot. And in that case, the shortcode can be [bbp-profile-url] instead of -link.

Or: Pass the text as an attribute too with the default being that.

#5 @johnjamesjacoby
5 years ago

  • Milestone Future Release deleted
  • Resolution set to maybelater
  • Status changed from new to closed

After a few years, this shortcode seems a little more specific than the others. My general feeling is it's not necessary, so I'm closing this ticket, but please reopen if anyone feels differently.

Note: See TracTickets for help on using tickets.