Skip to:
Content

BuddyPress.org

Opened 11 years ago

Closed 7 years ago

#5008 closed enhancement (maybelater)

Groups, Friends, Profile and Activity widgets

Reported by: sooskriszta's profile sooskriszta Owned by:
Milestone: Priority: normal
Severity: normal Version: 1.0
Component: Extended Profile Keywords: needs-patch, trac-tidy-2018
Cc: trisha@…, mercijavier@…, vivek@…

Description

Core should come with ready-to-deploy widgets that show a preview of a user's:

  • groups
  • friends
  • profile/about
  • activity

Naturally, these widgets only deliver an output on member profile pages. e.g. see attached wireframes...

Attachments (9)

memberprofile-activity-1.9.png (183.6 KB) - added by sooskriszta 11 years ago.
memberprofile-friends-1.9.png (246.6 KB) - added by sooskriszta 11 years ago.
bp-core-widgets.php.patch (8.8 KB) - added by megainfo 11 years ago.
A patch for friends widget
bp-groups-widgets.php.patch (8.8 KB) - added by megainfo 11 years ago.
A patch for groups widget
widget-member-groups.js (1.3 KB) - added by megainfo 11 years ago.
Widget Member Groups JS Code
widget-member-groups.min.js (1.0 KB) - added by megainfo 11 years ago.
Widget Member Groups JS Code minifed
widget-friends.js (1.3 KB) - added by megainfo 11 years ago.
Widget Friends JS Code
widget-friends.min.js (980 bytes) - added by megainfo 11 years ago.
Widget Friends JS Code minified
5008.patch (18.9 KB) - added by williamsba1 11 years ago.

Download all attachments as: .zip

Change History (25)

#1 @boonebgorges
11 years ago

  • Keywords needs-patch added
  • Milestone changed from Awaiting Review to Future Release

I like this idea. We can put it into a release when someone writes a patch for it.

#2 @trishasalas
11 years ago

  • Cc trisha@… added

#3 @megainfo
11 years ago

  • Resolution set to fixed
  • Status changed from new to closed

I write a patch for "my friends" and "my groups".

@megainfo
11 years ago

A patch for friends widget

@megainfo
11 years ago

A patch for groups widget

@megainfo
11 years ago

Widget Member Groups JS Code

@megainfo
11 years ago

Widget Member Groups JS Code minifed

@megainfo
11 years ago

Widget Friends JS Code

@megainfo
11 years ago

Widget Friends JS Code minified

#4 @boonebgorges
11 years ago

  • Keywords has-patch added; needs-patch removed
  • Milestone changed from Future Release to 1.9
  • Resolution fixed deleted
  • Status changed from closed to reopened

Thanks for the patches, megainfo - this looks like a good start. Moving to 1.9.

#5 @mercime
11 years ago

  • Cc mercijavier@… added

#6 @sooskriszta
11 years ago

  • Cc vivek@… added

#7 @williamsba1
11 years ago

I updated the friends widget and migrated the code to a new bp-friends-widget.php file. I also cleaned it up a bit, verified proper escaping and sanitization, and only enqueue the JavaScript on the members profile page.

The group widget code still exists in the patch but hasn't been touched yet.

@williamsba1
11 years ago

#8 @boonebgorges
11 years ago

In 7392:

Introduce Friends widget

This widget displays a list of the displayed user's friends, when viewing
a user's profile.

See #5008

Props megainfo, williamsba1

#9 follow-up: @boonebgorges
11 years ago

  • Milestone changed from 1.9 to 2.0

I started working on the Groups version of this, but there are a number of UX and code-related issues that need to be sorted out with it.

  • The JS and AJAX should be written in such a way that we don't need duplication between the different Groups widgets
  • The language suggested for differentiating between the current (sitewide) Groups widget and this (member) Groups widget needs some work.

Punting to the next version for further work.

#10 @DJPaul
11 years ago

  • Keywords needs-patch added; has-patch removed

#11 @boonebgorges
11 years ago

  • Milestone changed from 2.0 to Future Release

#12 in reply to: ↑ 9 @sooskriszta
10 years ago

Replying to boonebgorges:

The language suggested for differentiating between the current (sitewide) Groups widget and this (member) Groups widget needs some work.

Shall we call this one "My Groups" (or less happily "Member of") and the sitewide group widget "Groups list"?

#13 @sooskriszta
10 years ago

P.S. This Group widget should work even if Group Avatar is disabled per #4677 (in this case, it should simply offer a text list of the groups)

#14 @sooskriszta
10 years ago

I'm a little confused - is this "My Groups" widget available in the core? I don't see it but the ticket has been closed as fixed once or twice.

#15 @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/

#16 @DJPaul
7 years ago

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