Skip to:
Content

BuddyPress.org

Opened 5 years ago

Closed 4 years ago

Last modified 3 years ago

#6276 closed enhancement (no action required)

Give the users a message if no activity, rather than blank screen

Reported by: gregrickaby Owned by:
Milestone: Priority: normal
Severity: normal Version:
Component: Templates Keywords: has-patch reporter-feedback
Cc:

Description

If you're looking at My Activity, and you click on a menu item which returns no activity. A message would be helpful rather than a blank screen.

https://dl-web.dropbox.com/get/Screenshots/Screenshot%202015-03-03%2013.47.39.png

VS

https://dl-web.dropbox.com/get/Screenshots/Screenshot%202015-03-03%2013.46.49.png

Attachments (1)

buddypress.patch (936 bytes) - added by gregrickaby 5 years ago.

Download all attachments as: .zip

Change History (4)

#1 @DJPaul
5 years ago

  • Component changed from API to Appearance - Template Parts
  • Keywords has-patch reporter-feedback added
  • Milestone changed from Awaiting Review to Under Consideration

Hi Greg

Thanks for starting a discussion, the patch, and (I think) your first trac ticket!
As you probably know, activity-loop.php already has a "no activity found" block, after this clause: <?php if ( bp_has_activities( bp_ajax_querystring( 'activity' ) ) ) : ?>

I am interested to discover how you can get that first if to pass, yet no results be returned later within the while loop. I'm going to guess there might be custom code causing this, but we should figure out if that's a consequence of a bug or oversight in BuddyPress somewhere.

#2 @DJPaul
4 years ago

  • Milestone Under Consideration deleted
  • Resolution set to invalid
  • Status changed from new to closed

Going to close this as I would have liked reporter feedback in order to proceed, but we didn't hear back. 😢

#3 @DJPaul
3 years ago

  • Component changed from Appearance - Template Parts to Templates
Note: See TracTickets for help on using tickets.