[buddypress-trac] [BuddyPress Trac] #6276: Give the users a message if no activity, rather than blank screen

buddypress-trac noreply at wordpress.org
Sun Mar 15 14:22:28 UTC 2015


#6276: Give the users a message if no activity, rather than blank screen
-----------------------------------------+---------------------------------
 Reporter:  gregrickaby                  |       Owner:
     Type:  enhancement                  |      Status:  new
 Priority:  normal                       |   Milestone:  Under
Component:  Appearance - Template Parts  |  Consideration
 Severity:  normal                       |     Version:
 Keywords:  has-patch reporter-feedback  |  Resolution:
-----------------------------------------+---------------------------------
Changes (by DJPaul):

 * keywords:   => has-patch reporter-feedback
 * component:  API => Appearance - Template Parts
 * milestone:  Awaiting Review => Under Consideration


Comment:

 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.

--
Ticket URL: <https://buddypress.trac.wordpress.org/ticket/6276#comment:1>
BuddyPress Trac <http://buddypress.org/>
BuddyPress Trac


More information about the buddypress-trac mailing list