Skip to:
Content

BuddyPress.org

Opened 11 years ago

Closed 7 years ago

#5748 closed enhancement (maybelater)

BP_Group_Extension need better display()

Reported by: danbp's profile danbp Owned by:
Milestone: Priority: normal
Severity: normal Version: 2.0
Component: Groups Keywords: trac-tidy-2018
Cc:

Description

When adding an additionnal page to a group using BP_Group_Extension API, it is not possible to get a page/post content correctly if it contains a video (added by url or shortcode).

Text and images are showing right, but no video is passing.

Echoing something like this works

echo '<p style="text-align:center">'.wp_oembed_get( 'http://www.youtube.com/watch?v=dQw4w9WgXcQ', array(
			'width'  => 600,
			'height' => 400
			) ).'</p>';

but the goal is to show a post and it's attached medias, not to show them separatly.

Would be nice to get this to work in a next release.

Attachments (1)

testing_group_page_addition.php (1.9 KB) - added by danbp 11 years ago.
my test code

Download all attachments as: .zip

Change History (6)

@danbp
11 years ago

my test code

#1 @r-a-y
11 years ago

I don't think this is an issue with the BP_Group_Extension class per se.

I'm thinking it's more of an overall issue with trying to grab a WP post inside a BP template part because of theme compatibility overriding the_content filter.

#2 @DJPaul
11 years ago

I agree with r-a-y, but not sure if/what the best fix is.

#3 @DJPaul
10 years ago

  • Milestone changed from Awaiting Review to Future Release

#4 @DJPaul
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/

#5 @DJPaul
7 years ago

  • Milestone Awaiting Contributions deleted
  • Resolution set to maybelater
  • Status changed from new to closed
Note: See TracTickets for help on using tickets.