Project

General

Profile

Bug #80

Extra Wrap Element on Home Page Groups Loader

Added by Matt Gold over 12 years ago. Updated over 12 years ago.

Status:
Resolved
Priority name:
Normal
Assignee:
Category name:
Upgrades
Target version:
-
Start date:
2009-12-02
Due date:
% Done:

50%

Estimated time:

Description

From Zach:

Extra wrap element on the home page groups loader (when you change the criteria for the list, content gets bumped down a bit)

History

#1 Updated by CIC Michael over 12 years ago

  • % Done changed from 0 to 50

I tracked down what was causing this bug. Unfortunately, I don't the proper permissions to touch the associated files. Boone, perhaps you can take care of this? Included below are the changes.

file:   wp-content/plugins/buddypress/bp-groups/bp-groups-widgets.php
change:    in function groups_ajax_widget_groups_list() [line 84] the wrapping <ul> [~line 105] needs to be removed/commented-out (and don't forget to do the same to the closing tag </ul>)
file:   wp-content/plugins/enhanced-buddypress-widgets/enhanced-bp-widgets.php    
change:   lines 70-72 should be changed from:
<a href="<?php echo site_url() . '/' . BP_MEMBERS_SLUG ?>" id="newest-members" <?php if ($instance['member_default'] == "newest") { ?> class="selected" <?php } ?>><?php _e( 'Newest', 'buddypress' ) ?></a> | 
<a href="<?php echo site_url() . '/' . BP_MEMBERS_SLUG ?>" id="recently-active-members" <?php if ($instance['member_default'] == "newest") { ?> class="selected" <?php } ?>><?php _e( 'Active', 'buddypress' ) ?></a> | 
<a href="<?php echo site_url() . '/' . BP_MEMBERS_SLUG ?>" id="popular-members" <?php if ($instance['member_default'] == "newest") { ?> class="selected" <?php } ?>><?php _e( 'Popular', 'buddypress' ) ?></a>

to:

<a href="<?php echo site_url() . '/' . BP_MEMBERS_SLUG ?>" id="newest-members" <?php if ($instance['member_default'] == "newest") { ?> class="selected" <?php } ?>><?php _e( 'Newest', 'buddypress' ) ?></a> | 
<a href="<?php echo site_url() . '/' . BP_MEMBERS_SLUG ?>" id="recently-active-members" <?php if ($instance['member_default'] == "active") { ?> class="active" <?php } ?>><?php _e( 'Active', 'buddypress' ) ?></a> | 
<a href="<?php echo site_url() . '/' . BP_MEMBERS_SLUG ?>" id="popular-members" <?php if ($instance['member_default'] == "popular") { ?> class="popular" <?php } ?>><?php _e( 'Popular', 'buddypress' ) ?></a>

#2 Updated by CIC Michael over 12 years ago

  • Status changed from Assigned to Resolved

Never mind Boone! My sftp client was defaulting my log-in to zdavis and not mgold. This is fixed.

#3 Updated by Matt Gold over 12 years ago

sweet. Thanks, Michael!

Also available in: Atom PDF