Forum Replies Created
-
No one here, that can help me?
oh:
“><?php bp_core_get_username( bp_the_site_member_user_id() ); ?>
into these lines, to get the userlink
I put it into the members-loop.php in my own the file (functions php is the newest from bp).
okay,
update /reinstallation done. But the username (Nickname) is not diplayed yet. When I call it with these lines:
bp_core_get_username( bp_the_site_member_user_id() );
I get a number displayed….the registration order. Admin is 1, the first Testuser 2……
Why?
I get an error Message, again. I will reinstall bp +wpmu.
What´s the latest version from Wpmu?
That one in the branches folder or that and the trunk folder on the svn site?
It does not work, I call it in the mebers loop with these lines (try to call it):
href=”<?php bp_the_site_member_link() ?>”><?php bp_the_site_member() ?>
But only the link Appears in the source, no Linktext.
thanks, and what are the arguments I have to add in the brackets?
……makes sense….of course…
hmmmmmmmmmm…
I do not find any option, to do that:
Only these informations are getting listed:
Activity Streams
Blog Tracking
bbPress Forums
Friends
Groups
Private Messaging
Comment Wire
Extended profiles
What shall I do now?
Hi,
no, I meant the Blog link in the sub nav that is generated in the optionsbar.php.
Hi,
no reason to be confused.

I Want to use it like here:
https://buddypress.org/developers
In the left colum, under Latest Activity. The site whre I want to use it, as the starting page of my ite, located in the root.
Hi,
I have the same problem. No one here, that can help us?
<?php bp_activity_widget_sitewide_activity($args) ?>
This already works a little. I still get an error message, but also that waht I want.
This is the error message:
extract() [function.extract]: First argument should be an array in
What do I have to change, that the message does not appear any longer?
get_sitewide_activity() returns all sorts of activity not related to that group
> that´s exactly what I need.I tried to call it with
<?php $activity = BP_Activity_Activity::get_sitewide_activity(); echo $activity ?>
The result, that is shown is Array.
The other unction, you have coded, will be needed later.
Now I tried this:
<?php get_sitewide_activity( $limit = 15 ) ?>
And got this error:
Fatal error: Call to undefined function: get_sitewide_activity() in […]p on line 126, so please tell, what did I wrong?
Many, many thanks.
How do I call the sitewide activity?
In this way, it does not work:
<?php get_sitewide_activity() ?>
How gets it calles on thsi site for example?
Yes, my css fixes that problem. The button also did not appear in opera, now it does. I have changed the html, too. So you have to apply bot changes, that it works. (css and html tags in the loop file).
How to use the sitewide activity tag?
In taht way, it does not work…><?php get_sitewide_activity() ?>
It also does not have to be formatted. The user should only see that there is something going on on the site and should get linke dto it, when he clicks.
Exactly. Sitewide is what I meant, Can you explain me, how to call it, maybe with some paramters, for example the number of last activities, that should be shown.
Was the code, i posted above, useful for you?
I try to get the latest activities, for example: User x has just build a group, or a comment was written in group….
Somethin like that, the user should get afirst overview, what happened in the commmunitiy within the last hours/days.
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
you mean this?
<?php echo bp_get_loggedin_user_link($bp->loggedin_user->id) ?>
I had the same problem. Download the newest trunk and it will work.
Okay, I meant the current trunk.
In the earlier trunk I had categorie list, like thsi one:
I tested long and short group descriptions. Whe I had a long description, the text (Group description) was automatically cropped and only the first few lines were displayed. Similiar to the excerpt funcrion from WordPress.
After the cropped text, I got brackets [..] displayed. Now, in the new trunk, the whole description gets displayed. Even if it has about 100 lines.
So waht can I do, to get the group description text cropped after x lines?
Thanks, how do I have to calkl the latest activities? Are these global functions? Can I get them also on the index page of wpmu?
…sorry, forget it, my mistake. A simple css thing….BUT: I am missing the excerpt function in the groups listing. How can I fix this?