Quantcast
Channel: BuddyPress.org | Henry | Activity
Browsing all 70 articles
Browse latest View live

Henry started the forum topic Using filter options dropdown on activity page...

http://static.inky.ws/image/2069/image.jpg My activity feed loads like expected but when I use the filter options to change the content of the activity feed to “updated” items only, I get the post form...

View Article



Henry replied to the forum topic Using filter options dropdown on activity...

@Hugo We seem to be in the same position and I agree as a developer you really do need to respect the BuddyPress classes and IDs in order for the JS to work properly. I found that out the hard way :}...

View Article

Henry replied to the forum topic Using filter options dropdown on activity...

+1 to making global.js less dependent on theme markup. It would be nice to be able to run riot on a new theme and not have to worry about removing any of the default markup. Also, as BuddyPress is...

View Article

Henry replied to the forum topic Using filter options dropdown on activity...

Thanks Hugo! I will give it a go

View Article

Henry replied to the forum topic Apply a class to last entry in activity feed...

Ah yes, of course! Thanks again Hugo!

View Article


Henry started the forum topic Apply a class to last entry in activity feed in...

How could you determine if an entry is the last item in the activity feed? I need to apply the class ”last” to it so I can make the entry stand out using CSS.

View Article

Henry started the forum topic Create new template which can display member...

bp_displayed_user_fullname(); bp_get_profile_field_data( ‘field=Location’ ); I am currently using these functions in members/single/member-header.php and they are working great. However, I just created...

View Article

Henry replied to the forum topic Avatar sizing in the group How-To and...

You can do something like this in your theme: bp_displayed_user_avatar( ’type=full&width=100&height=100’ );

View Article


Henry replied to the forum topic [Resolved] Apply a class to last entry in...

I did come up with something to apply a class to every third item in a loop by incrementing a variable on each pass. This was quite straight forward using PHP. Identifying the last item in a loop with...

View Article


Henry replied to the forum topic Avatar sizing in the group How-To and...

if you post a link to the page that the avatar is on, i’ll be able to tell you which template file to change.

View Article

Henry replied to the forum topic Create new template which can display member...

Thanks shanebp but I do need to create members-overview.php. How can I insert profile data into this file once i’ve created it? bp_get_profile_field_data( ‘field=Location’ ); doesn’t seem to work so I...

View Article

Henry started the forum topic What is the purpose of...

I see snippets of php such as do_action( ’bp_after_message_content’ ) or do_action( ’bp_before_message_content’ ) everywhere in the template files. What do these snippets actually do?

View Article

Henry replied to the forum topic Create new template which can display member...

members-overview.php only loads when i put locate_template( array( ‘members/single/members-overview.php’), true ); into member-header.php and then display the member profile page. I need to get […]

View Article


Henry replied to the forum topic What is the purpose of...

@shanebp I only ever post in the forums once i’ve Googled/read the Codex and still not fully understood a topic. Apologies if i’ve asked lots of questions today, your help has been much appreciated :}

View Article

Henry replied to the forum topic What is the purpose of...

@ChrisClayton Ah, I see now & I can see where using these would be useful – there is no need to edit the WordPress/BuddyPress core. The part I couldn’t get my head around was why you wouldn’t just...

View Article


Henry joined the group BuddyPress Followers

View Article

Henry started the forum topic Display follower and following count in the...

Hi guys I am using the following to get the total number of friends a logged in user has. friends_get_total_friend_count( $user_id = bp_loggedin_user_id() How could I get the total number of followers...

View Article


Henry replied to the forum topic Display follower and following count in the...

@Hugo It does. I’m not currently using the default menu so don’t get the Followers [2] Following [2]. I have come up with this to get the following count http://pastie.org/4001516 Now just working on […]

View Article

Henry replied to the forum topic Display follower and following count in the...

OK here’s my attempt which works for me: http://pastie.org/4001587 If there is an easier way (or a way which is better practice) then let me know :}

View Article

Henry replied to the forum topic Display follower and following count in the...

Thanks @Hugo functions.php is a good idea… i’ll do that so it can be reused throughout the theme.

View Article
Browsing all 70 articles
Browse latest View live




Latest Images