Skip to:
Content

BuddyPress.org

Opened 13 years ago

Closed 13 years ago

Last modified 12 years ago

#490 closed defect (bug) (fixed)

change hook position in groups-menu.php

Reported by: nicolagreco Owned by: nicolagreco
Milestone: Priority: major
Severity: Version:
Component: Keywords:
Cc:

Description

the hook groups_sidebar_before shouldnt be

here:

<?php bp_group_avatar() ?>

'''<?php do_action( 'groups_sidebar_before' ) ?>'''

<div class="button-block">
	<?php bp_group_join_button() ?>
</div>

<div class="info-group">
	<h4><?php _e( 'Admins', 'buddypress' ) ?></h4>
	<?php bp_group_list_admins() ?>
</div>

<?php if ( bp_group_has_moderators() ) : ?>
	<div class="info-group">
		<h4><?php _e( 'Mods' , 'buddypress' ) ?></h4>
		<?php bp_group_list_mods() ?>
	</div>
<?php endif; ?>

<?php do_action( 'groups_sidebar_after' ) ?>

but here

<?php bp_group_avatar() ?>

<div class="button-block">
	<?php bp_group_join_button() ?>
</div>

'''<?php do_action( 'groups_sidebar_before' ) ?>'''

<div class="info-group">
	<h4><?php _e( 'Admins', 'buddypress' ) ?></h4>
	<?php bp_group_list_admins() ?>
</div>

<?php if ( bp_group_has_moderators() ) : ?>
	<div class="info-group">
		<h4><?php _e( 'Mods' , 'buddypress' ) ?></h4>
		<?php bp_group_list_mods() ?>
	</div>
<?php endif; ?>

<?php do_action( 'groups_sidebar_after' ) ?>

thanks,
Nicola

Change History (2)

#1 @apeatling
13 years ago

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

(In [1140]) Fixes #490

#2 @(none)
12 years ago

  • Milestone Default Member Theme 1.0 deleted

Milestone Default Member Theme 1.0 deleted

Note: See TracTickets for help on using tickets.