Forum Replies Created
-
In reply to: BP 1.5 and a Child Theme Custom Header?
@davidtcarson thanks but I’m now rereading my post and it looks like a screwed the terminology all up in trying to refer to the Custom Header link under Appearance -> Header as the wp-admin “menu item”. hehe. Not the frontend navigation menu.
Just how there is a Appearance -> Background, I thought that there was also a Appearance-> Header to customize the bp-default header’s color/image background. I’m not seeing it.
In reply to: BuddyPress Follow is not workingwhoever does update it finally, I hope they consider adding following of other entities like blogs, groups, topics(tags), or rss.
I know i’ve been asking for an update for a few months now. Now that I’m seeing G+ circles in action, something along those lines to tag and group the people you follow would be very nice.
I think you can do that in the BP Album settings or you can use css to set the thumbnail size smaller.
I just figured out how to do this recently. Try this in the member header.
`
<?php if(bp_is_user_activity() || bp_is_user_profile())
>- <a href="” class=”picture-thumb”><img src='’ />
`
i forgot to mention I was looking for the best configuration in multisite register only network where comments and all other activity is done only if registered.
shouldn’t it only have blogids with only userids of the administrators of site. 1:1
I’m revisiting this thread only because it happened to me again and the wp_bp_user_blogs table goes crazy with adding the superadmin to all sites and makes some subscribers of site as belonging to the site. And then some sites disappear from the table all together making them not appear in the My Blogs menu.
I came across these this week and I couldn’t help to think they might be related to this.
https://buddypress.trac.wordpress.org/ticket/3328
https://buddypress.trac.wordpress.org/ticket/2964What does the wp_bp_user_blogs responsible for exactly? is it to assign blogids to userids that are admin of that site, or any role on the site?
this was working before 1.5
`
function my_blog(){
global $bp;
if ( !function_exists(‘bp_blogs_install’) )
return false;if ( !$blogs = wp_cache_get( ‘bp_blogs_of_user_’ . $bp->displayed_user->id . ‘_inc_hidden’, ‘bp’ ) ) {
$blogs = bp_blogs_get_blogs_for_user( $bp->displayed_user->id, true );
wp_cache_set( ‘bp_blogs_of_user_’ . $bp->displayed_user->id . ‘_inc_hidden’, $blogs, ‘bp’ );
}if ( is_array( $blogs ) && (int)$blogs ) {
$blog=array_pop($blogs);//the first blog
?>
- <a href="siteurl; ?>”>
<?php
}
}
`
I don’t recall now where I found it. If anyone knows how to fix for 1.5 that would be nice.`
- <a rel="me" href="”>
`
This is how I’ve done exactly this.
In reply to: Suggested Posts Plugin (for Multisite Preferably)…ah and I forgot to mention the previous was based on making profile field work as the tags in the query.
one of the things I think an advance version would do is use the Interest field’s terms as ?s= search terms so that posts’ content body can be taken into a account.
In reply to: Suggested Posts Plugin (for Multisite Preferably)@r-a-y I have something working but it’s real dirty looking… wondering if someone sees this and can offer a much neater way of going about this. maybe it will inspire someone to make an advanced plugin because this is a very interesting function of xprofile fields driving the content received by members i would think.
`
<?php global $bp;
if (bp_has_members(‘include=’.$bp->loggedin_user->id)):
while ( bp_members() ) : bp_the_member();
$suggestions = bp_get_member_profile_data( ‘field=Interests’ );
$nosuggestions = bp_get_profile_field_data((‘field=Interests’) == “”);
endwhile; endif; ?>Suggested Posts
- <a href="”>
`
I’d also like to add a way to recognize no suggestions and display a message that says no suggestions available.
Anyway this is for loggedin user and multisite feed but it can be done on a single blog just by removing the switch_to and restore_current.
@karmatosed I’m going to try this trac you speak of. I will submit these ideas to this place and get over my fear of getting punted.
I submitted a ticket just today…and I’ll submit this and the last idea you mentioned to do this for.
In reply to: Total Mentions CountHm. Could it be where I placed the code? I have it in a stats widget in the sidebar. Is it supposed to be inside the activity loop or something?
Oh I was so excited about getting the new bar working that I didn’t even ask…”sneak-peek?” so 1.5 will not feature the new adminbar by default?
@djpaul jammin on the one!
In reply to: Press ESC to Cancel Comment for Activity CommentsWhat is this Feature Request section for? I’m a little scared of submitting to trac if it’s not a heavy duty bug, even then it feels bad to get shot down there! hehe. I hoped that the discussion could get some +1’s and then someone with trac cred could add it.

Yes it is a request to change this in BP.
i see now that this is included in 1.3. tx
I see. that’s interesting idea. I haven’t seen anything like that as far as plugins go.
It already does “act” like a member profile in the ways you mention…lots of folks use Groups as you say like “the pages in Facebook.” There are plugins that can extend the groups functionality more. but all in all…i think if you just change the language of the group component you can have something very much like that of FB.
“post on wall/wire/comment/updates” – the activity stream on the group is the wall.
“create posts” – I don’t know exactly what that means…but there is a plugin I’ve seen that allows groups to manage it’s own blog where group members can make posts. thats in the plugins under the Extend tab.
What specifically are you trying to do?
@gregfielding are you not wanting to use dropdown select for any reason? instead of using checkboxes/radio? Can you have more than one role? If you only need one role per user, why not use dropdown xprofile field and make it required at sign up?
yet another way to do it, i think…
`<?php
global $bp;
$user_id = $bp->loggedin_user->id;
$type_member = xprofile_get_field_data( ‘Real Estate Industry Professional’, $user_id );?><?php if($type_member == 'Yes')
>
Yes Sidebar
<?php elseif($type_member == 'No')
>
Another Sidebar for this optionSidebar for everyone else
`yea there’s prolly an easier way to go about it. I’ve just copied/pasted/refreshed different combinations til something worked.
I look forward to seeing something simple to use for stuff like this. hehedon’t know what I just did but this seems to work…
`loggedin_user->id) == ‘Yes’) : ?>
Red Sidebar
<?php elseif(is_user_logged_in())
>
Another sidebar
`and you want this to look like this
`//CHECK IF THE ACCT IS CERTAIN ACCT TYPE
function My_Function ($user_id) {
global $bp;
$type_member = xprofile_get_field_data( ‘Real Estate Industry Professional’, $user_id );
if($type_member == ‘Yes’) {
return true;}
}`I couldn’t figure out how to display something else…
I guess you could create different functions for each type of field
`loggedin_user->id)) : ?>
Red Sidebarloggedin_user->id)) : ?>
Blue Sidebar
`I wish I knew enough about what all is happening in that piece of code. So that I could make it work the way i proposed. otherwise, there will be a blank sidebar for non logged in users and users who don’t have a xprofile field selected corresponding with those requirements.
`loggedin_user->id)) : ?>
Red Sidebar
`This works though right.