Skip to:
Content

BuddyPress.org

Opened 11 years ago

Closed 11 years ago

Last modified 10 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:
Priority: normal Milestone:
Component: Templates Version:
Severity: normal 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 11 years ago.

Download all attachments as: .zip

Change History (4)

#1 @DJPaul
11 years ago

  • Component APIAppearance - Template Parts
  • Keywords has-patch reporter-feedback added
  • Milestone Awaiting ReviewUnder 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
11 years ago

  • Milestone Under Consideration
  • Resolutioninvalid
  • Status newclosed

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

#3 @DJPaul
10 years ago

  • Component Appearance - Template PartsTemplates
Note: See TracTickets for help on using tickets.