-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #148 from myfossil/wall
Wall
- Loading branch information
Showing
12 changed files
with
242 additions
and
43 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -58,3 +58,7 @@ | |
* myfossil/forum | ||
*/ | ||
@import "myfossil/forum/entry"; | ||
|
||
.current { | ||
@extend .active; | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -1487,3 +1487,4 @@ function myfossil_group_creation_tabs() { | |
|
||
do_action( 'groups_creation_tabs' ); | ||
} | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,35 +1,34 @@ | ||
<?php do_action('bp_before_activity_loop'); ?> | ||
|
||
<?php if ( bp_has_activities() ) : ?> | ||
<?php if (empty($_POST['page'])): ?> | ||
<ul id="activity-stream" class="activity-list item-list"> | ||
<?php endif; ?> | ||
|
||
<?php if (empty($_POST['page'])): ?> | ||
<ul id="activity-stream" class="activity-list item-list"> | ||
<?php endif; ?> | ||
|
||
<?php while (bp_activities()): ?> | ||
<?php while ( bp_activities() ) : ?> | ||
<?php bp_the_activity(); ?> | ||
<?php bp_get_template_part('activity/entry'); ?> | ||
<?php endwhile; ?> | ||
<?php bp_get_template_part('activity/entry'); ?> | ||
<?php endwhile; ?> | ||
|
||
<?php if (bp_activity_has_more_items()): ?> | ||
<li class="load-more"> | ||
<a href="<?php bp_activity_load_more_link() ?>"><?php _e('Load More', 'buddypress'); ?></a> | ||
</li> | ||
<?php endif; ?> | ||
<?php if (bp_activity_has_more_items()): ?> | ||
<li class="load-more"> | ||
<a href="<?php bp_activity_load_more_link() ?>"><?php _e('Load More', 'buddypress'); ?></a> | ||
</li> | ||
<?php endif; ?> | ||
|
||
<?php if (empty($_POST['page'])): ?> | ||
</ul> | ||
<?php endif; ?> | ||
<?php if (empty($_POST['page'])): ?> | ||
</ul> | ||
<?php endif; ?> | ||
<?php else: ?> | ||
<div id="message" class="info"> | ||
<p><?php _e('Sorry, there was no activity found. Please try a different filter.', 'buddypress'); ?></p> | ||
</div> | ||
<div id="message" class="info"> | ||
<p><?php _e('Sorry, there was no activity found. Please try a different filter.', 'buddypress'); ?></p> | ||
</div> | ||
<?php endif; ?> | ||
|
||
<?php do_action('bp_after_activity_loop'); ?> | ||
|
||
<?php if (empty($_POST['page'])): ?> | ||
<form action="" name="activity-loop-form" id="activity-loop-form" method="post"> | ||
<?php wp_nonce_field('activity_filter', '_wpnonce_activity_filter'); ?> | ||
</form> | ||
<form action="" name="activity-loop-form" id="activity-loop-form" method="post"> | ||
<?php wp_nonce_field('activity_filter', '_wpnonce_activity_filter'); ?> | ||
</form> | ||
<?php endif; ?> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,63 @@ | ||
<?php | ||
/** | ||
* BuddyPress - Users Activity | ||
* | ||
* @package BuddyPress | ||
* @subpackage bp-legacy | ||
*/ | ||
?> | ||
|
||
<div class="row"> | ||
|
||
<div class="activity" role="main"> | ||
|
||
<?php | ||
do_action( 'bp_before_member_activity_post_form' ); | ||
|
||
if ( bp_are_friends( bp_displayed_user_id(), bp_loggedin_user_id() ) ) | ||
bp_get_template_part( 'activity/post-form' ); | ||
|
||
do_action( 'bp_after_member_activity_post_form' ); | ||
|
||
?> | ||
|
||
<?php if ( bp_has_activities( array( | ||
'scope' => 'activity', | ||
'action' => 'wall_post' ) ) ) : ?> | ||
<?php if ( empty( $_POST['page'] ) ) : ?> | ||
<ul id="activity-stream" class="activity-list item-list"> | ||
<?php endif; ?> | ||
|
||
<?php while ( bp_activities() ) : ?> | ||
<?php bp_the_activity(); ?> | ||
<?php bp_get_template_part('activity/entry'); ?> | ||
<?php endwhile; ?> | ||
|
||
<?php if (bp_activity_has_more_items()): ?> | ||
<li class="load-more"> | ||
<a href="<?php bp_activity_load_more_link() ?>"><?php _e('Load More', 'buddypress'); ?></a> | ||
</li> | ||
<?php endif; ?> | ||
|
||
<?php if (empty($_POST['page'])): ?> | ||
</ul> | ||
<?php endif; ?> | ||
<?php else: ?> | ||
<div id="message" class="info"> | ||
<p><?php _e('Sorry, there was no activity found. Please try a different filter.', 'buddypress'); ?></p> | ||
</div> | ||
<?php endif; ?> | ||
|
||
<?php do_action('bp_after_activity_loop'); ?> | ||
|
||
<?php if (empty($_POST['page'])): ?> | ||
<form action="" name="activity-loop-form" id="activity-loop-form" method="post"> | ||
<?php wp_nonce_field('activity_filter', '_wpnonce_activity_filter'); ?> | ||
</form> | ||
<?php endif; ?> | ||
|
||
</div><!-- .activity --> | ||
|
||
</div> | ||
|
||
<?php do_action( 'bp_after_member_activity_content' ); ?> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.