Skip to:
Content
Pages
Categories
Search
Top
Bottom

Search Results for 'custom activity page'

Viewing 3 results - 726 through 728 (of 728 total)
  • Author
    Search Results
  • #42443
    nightstalker101
    Participant

    Thanks again for your help. Oh, no, this time, I´m gonna tell you something ;) :

    ´

    <li class=”group-box”>

    <div class=”left”>

    “><?php bp_the_site_group_avatar_thumb() ?>

    <?php $member_count = groups_get_groupmeta( $group->id, ‘total_member_count’ ) ?>

    <?php echo ucwords($group->status) ?> <?php _e( ‘Group’, ‘buddypress’ ) ?>

    <?php if ( $member_count == 1 ) : ?>

    <?php printf( __( ‘%d member’, ‘buddypress’ ), $member_count ) ?>

    <?php else : ?>

    <?php printf( __( ‘%d members’, ‘buddypress’ ), $member_count ) ?>

    <?php endif; ?>

    </div>

    <div class=”right”>

    <div class=”group-top”>“><?php bp_the_site_group_name() ?><?php bp_group_join_button( $group ) ?>

    <div class=”clear”></div>

    </div>

    <span class=”activity”><?php echo bp_core_get_last_activity( groups_get_groupmeta( $group->id, ‘last_activity’ ), __(‘active %s ago’) ) ?></span>

    <div class=”excerpt”>

    <?php // echo bp_create_excerpt( $group->description ) ?>

    <?php bp_the_site_group_description() ?>

    </div>

    </div>

    <div class=”clear”></div>

    ´

    thsi is the code from my custom theme file. And here the Css, maybe there is a better solution, but it works:

    ´

    .group-box{margin:15px auto 10px -30px;height:80px;width:800px;background: url(../images/group_list_item.jpg);

    padding:10px 20px 25px 15px;list-style:none;text-align:justify }

    .left{float:left;width:65px;height:82px;font-size:9px;color:#686868;line-height:11px;text-align:right}

    .group-avatar img{border:1px solid #686868;height:60px;width:60px}

    .right{float:left;height:82px;margin-left:5px;width:725px}

    ul#letter-list li {float: left;height:25px; width:27px;margin-right:5px}

    .group-top{height:20px;}

    .group-link{text-decoration:none;font-size:16px;color: #ff7f00;float:left}

    .group-link:hover{text-decoration:underline}

    .excerpt{color:#1a1a1a;font-size:12px;}

    .activity{font-size:11px;color:#686868; font-style:italic;display:block;margin:0;padding:0}

    .leave_group, .join_group{float:right;display:block;padding:4px 0 0 24px;margin:0;font-size:10px;text-decoration:none;

    color:#bd2100;height:21px;width:96px;background: url(../../bp-groups/images/leave_group.png);font-weight:bold}

    .leave_group:hover, .join_group:hover{text-decoration:underline}

    .join_group{color:green}

    #group-dir-count{margin:0 0 5px 2px;font-size:12px;color:#686868}

    ´

    Can you still tell me, how I get the recent activities that happened on the page?

    I tried to call the function, but all I got, was the time.

    Thanks

    #35056
    Burt Adsit
    Participant

    The bp home theme is really just a widget framework. You can install any widget you like in that theme. You can modify the standard ‘activity’ and ‘recent blog posts’ widgets. You can install a plugin that aggregates feeds from specific blogs. Your requirements are pretty specific so you have to decide if you are going to develop custom code or try to utilize some off the shelf plugins.

    To answer your question. No there isn’t a mechanism in place that allows you to be selective in the posts that show up using the ‘sitewide activity’ or ‘recent blog posts’ widgets.

    Have fun. (but don’t tell anyone we are though)

    #35055
    Burt Adsit
    Participant

    The bp home theme is really just a widget framework. You can install any widget you like in that theme. You can modify the standard ‘activity’ and ‘recent blog posts’ widgets. You can install a plugin that aggregates feeds from specific blogs. Your requirements are pretty specific so you have to decide if you are going to develop custom code or try to utilize some off the shelf plugins.

    To answer your question. No there isn’t a mechanism in place that allows you to be selective in the posts that show up using the ‘sitewide activity’ or ‘recent blog posts’ widgets.

    Have fun.

Viewing 3 results - 726 through 728 (of 728 total)
Skip to toolbar