Skip to:
Content

BuddyPress.org


Ignore:
Timestamp:
11/26/2008 10:49:51 PM (17 years ago)
Author:
apeatling
Message:
  • Added group directory to browse newest groups, groups by letter and search all groups. Also shows featured groups in the sidebar.
  • Changed buttons from images to background images and text to provide better translation options
  • Modified member theme to re-use get_header() and get_footer() - custom themes will need to be updated
  • Fixed bug with wp_redirect() and bp_core_do_catch_uri() clashing
File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/bp-groups/bp-groups-widgets.php

    r391 r580  
    3333        . $after_title; ?>
    3434   
    35     <?php $groups = groups_get_popular( $options['max_groups'] ); ?>
     35    <?php $groups = groups_get_popular( $options['max_groups'], 1 ); ?>
    3636   
    37     <?php if ( $groups ) : ?>
     37    <?php if ( $groups['groups'] ) : ?>
    3838        <div class="item-options" id="groups-list-options">
    3939            <img id="ajax-loader-groups" src="<?php echo $bp['groups']['image_base'] ?>/ajax-loader.gif" height="7" alt="Loading" style="display: none;" /> &nbsp;
     
    4343        </div>
    4444        <ul id="groups-list" class="item-list">
    45             <?php foreach ( $groups as $group ) : ?>
     45            <?php foreach ( $groups['groups'] as $group ) : ?>
    4646                <?php $group = new BP_Groups_Group( $group->group_id, false ) ?>
    4747                <li>
Note: See TracChangeset for help on using the changeset viewer.