Skip to:
Content

BuddyPress.org


Ignore:
Timestamp:
10/09/2008 04:37:49 AM (18 years ago)
Author:
apeatling
Message:
  • Moved all group pages to the root, rather than using a member URL
  • Introduced groupmeta support - groups_update_groupmeta / groups_delete_groupmeta / groups_get_groupmeta
  • Added widgets for site wide activity and who's online
  • Updated home theme to support display of new BuddyPress widgets
  • Added site wide activity feed support
  • Fixed bug where ajax functions would only work when logged in
  • Various other bug fixes
File:
1 edited

Legend:

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

    r374 r375  
    3737        <?php if ( $groups ) : ?>
    3838                <div class="item-options" id="groups-list-options">
    39                         <img id="ajax-loader-groups" src="<?php echo $bp['groups']['image_base'] ?>/ajax-loader.gif" height="7" alt="Loading" style="display: none;" />
     39                        <img id="ajax-loader-groups" src="<?php echo $bp['groups']['image_base'] ?>/ajax-loader.gif" height="7" alt="Loading" style="display: none;" /> &nbsp;
    4040                        <a href="<?php echo site_url() . '/groups' ?>" id="newest-groups" class="selected"><?php _e("Newest") ?></a> |
    4141                        <a href="<?php echo site_url() . '/groups' ?>" id="recently-active-groups"><?php _e("Active") ?></a> |
    … …  
    4444                <ul id="groups-list" class="item-list">
    4545                        <?php foreach ( $groups as $group ) : ?>
    46                                 <?php $group = new BP_Groups_Group( $group->id, false ) ?>
     46                                <?php $group = new BP_Groups_Group( $group->group_id, false ) ?>
    4747                                <li>
    4848                                        <div class="item-avatar">
    … …  
    5151
    5252                                        <div class="item">
    53                                                 <div class="item-title"><?php echo $group->name ?></div>
     53                                                <div class="item-title"><a href="<?php echo bp_group_permalink( $group ) ?>" title="<?php echo $group->name ?>"><?php echo $group->name ?></a></div>
    5454                                                <div class="item-meta"><span class="activity"><?php echo bp_core_get_last_activity( $group->date_created, __('created '), __(' ago') ) ?></span></div>
    5555                                        </div>
Note: See TracChangeset for help on using the changeset viewer.