Skip to:
Content
Pages
Categories
Search
Top
Bottom

Forum Replies Created

Viewing 25 replies - 1 through 25 (of 360 total)
  • Avatar of Nm
    nm
    Participant

    @nahummadrid

    I figured this out, in my case.

    If you disable a component and still have the new buddypress menu link for that component in your navigation menu, you’ll get this error. You have to remember to remove it from your menus.

    Avatar of Nm
    nm
    Participant

    @nahummadrid

    I was working just fine, Multisite, 3.8, and 1.9…and I went to activate Groups component. And I started getting this error message.

    Only thing I can think of is that I had Buddypress activated on single mode as opposed to Network activated at the time I enabled Groups.

    I activated bp in network mode, but it didnt fix it.

    Avatar of Nm
    nm
    Participant

    @nahummadrid

    Ok thanks Paul. I’ve been away for a long time. but i’m back playing around with BP…so this was my first shot and introductory support ticket in this awesome new BP site. :) I’ll dig into this further.

    Avatar of Nm
    nm
    Participant

    @nahummadrid

    …so did this bump-to-top get reintroduced in 1.6.1. It was fine in 1.6, after 1.6.1 I just noticed the edited posts get bumped again.

    my opinion. if WP doesn’t bump your posts up your posts loop when you edit a post, why should activity be any different, in default. If you want that functionality for WP, then you create a customization to bump edited posts to top. Same should be true for activity. This shouldn’t be default behavior. If activities get lost in the abyss, that’s just what it is. you need some kind of “retweet button” to bump it back to the top if you want it to refeature it in the stream. Now I need to be the one to customize it to perform standard behavior.

    What is the fix I need?

    Avatar of Nm
    nm
    Participant

    @nahummadrid

    @mercime, I’m pretty sure it’s always been this way, it didn’t bother me before until now that more people login and posts only from their blogs.

    Avatar of Nm
    nm
    Participant

    @nahummadrid

    I love diamond widgets…the shortcodes are it!

    thanks again for the reply. this is the most activity I’ve had on forums in quite some time. :)

    Avatar of Nm
    nm
    Participant

    @nahummadrid

    Yea, i don’t have any sites with hundreds of subsites. All subsites are limited to 5-10 subdomains belonging to superadmin where there can be multiple authors. So the blogs directory is really just an index of all admin related sites, not so much user blogs. Do you know of any examples that have 1000s of sites, not wp.com?

    Maybe I’ll limit it to just the first 5 -10 subsites in the blogs-loop. Or just have a featured set of recently updated subsites that get the image.

    I still like the blog_avatar based on post author, you think that switching and getting author avatars is less taxing than switching and pulling latest_post image with dozens/1000s subsites? @mercime

    Avatar of Nm
    nm
    Participant

    @nahummadrid

    For author image…
    `<?php
    global $blogs_template;
    global $post;
    switch_to_blog($blogs_template->blog->blog_id);?>

    <?php $my_query = new WP_Query('showposts=1&order=DSC');
    while ($my_query->have_posts()) : $my_query->the_post();
    $do_not_duplicate = $post->ID; ?>

    post_author ); } ?>

    `
    mildly exciting i guess. plus i just realized the blogs-loop doesn’t recognize custom post types, bbpress posts on sites.

    Avatar of Nm
    nm
    Participant

    @nahummadrid

    @mercime thanks again. I decided not to go the sitewide forums. :) I’ve not gone there in a while either.

    Anyway here’s what I got so far, anyone welcome to help edit it. I figure If i’m able to get the image, we can also get the latest_post’s real author since blog-avatar doesn’t make much since on sites with multiple authors.

    ` <?php
    global $blogs_template;
    global $post;
    switch_to_blog($blogs_template->blog->blog_id); ?>

    <?php $my_query = new WP_Query('showposts=1&order=DSC');
    while ($my_query->have_posts()) : $my_query->the_post();
    $do_not_duplicate = $post->ID; ?>

    <a href="” rel=”bookmark”>
    ID, ‘image’, array(‘class’ => ‘alignleft’)); */ ?>

    `

    I just fashioned this up “quickly” (took me all morning) to show images. I have to figure out how to find the right image as in fallback from a woo_image to a featured image to an inserted content image. So i’ve got my work cut out.

    I don’t know how “expensive” this all is as well, so I figure I get something to work first then we can see if it’s worth it or not or if there is a better way to do it.

    Avatar of Nm
    nm
    Participant

    @nahummadrid

    @mercime thanks for replying…..just read back my poorly written post. yes it has been a while please forgive.

    Not the blog’s loop, I meant to say the blogs-loop.php ( the site tracking directory ) for multisite.

    I’m wanting to replace the bp_blog_avatar with a post thumbnail belonging to the bp_blog_latest_post.

    Avatar of Nm
    nm
    Participant

    @nahummadrid

    OK thanks @djpaul — i’ll make a note of it, I can’t believe I’ve only really used the admin quickpress once in 3 years. I tried it in the real world and I got a mini-activity as a result. Not a big deal but just thought I’d make note of it here on the forums too, in case anyone else uses Quickpress and notices it.

    Avatar of Nm
    nm
    Participant

    @nahummadrid

    anyone get featured image working for activity stream?

    Avatar of Nm
    nm
    Participant

    @nahummadrid

    @djpaul

    Currently, thumbnail is only displaying in the activity item if the image was inserted in the post. If no image is embedded in the post and is instead set as a post’s featured image, the activity item doesn’t display a thumbnail.

    It would be great to get activity to check first if there is a featured image set, if no featured image is set, default to first image inserted in a post.

    Avatar of Nm
    nm
    Participant

    @nahummadrid

    /members/members-loop.php

    Avatar of Nm
    nm
    Participant

    @nahummadrid

    As I mentioned in your other post, I think the score is the better representation of authority than displaying the badges everywhere. Display badges on the user profile and the score beside members names as the authority display you are looking for.

    You could set up a “legend” in your side bar to show the levels of authority by score. 1-100 – Novice, 100 – 200 – Intermediate…that would be the easiest way.

    Or you could take the score and output the labels, if score is >=100 show label “Certified”. I’ve done this but i really just hacked my way through it, I’ve been really hoping a pro would create a nice add-on to the achievements plugin that does this with the score.

    Avatar of Nm
    nm
    Participant

    @nahummadrid

    You could do this for the profile, but I don’t think it would be best if you make this happen on a members list…it’ll work but I don’t know if it’s the best way as far as a members lists,group, forums go.

    you’ll need to style it according to your liking.

    ` //this is for the members list, you will need to get the right user id depending where you are trying to accomplish this

    <a href="”>

    `

    Probably a better way to do this is just show the user’s score, something like

    `

    `

    Avatar of Nm
    nm
    Participant

    @nahummadrid

    you could just modify it using CSS, you can ID the activity items for Achievements and adjust the image sizes

    li.achievement.mini img.avatar { height:50px;width:50px; }

    Avatar of Nm
    nm
    Participant

    @nahummadrid

    @djpaul I’ve got it going basically using

    `

    // I had to do this because the count resets to zero once unlocked

    out of

    `
    This is working only for loggedin user…and in the single achievements header next to the progress bar.

    I’m getting it working somewhat for the achievements loop too but I still have some rummaging to do to make it work for loggedin and logged out and displayed users. fun stuff.

    maybe you’ll consider adding this whole numeric view as an option — choose graphic, choose numeral, choose both.

    It’s pretty cool but it exposes the discrepancy between the achievement action counts versus the actual WP Posts & Comment counts for the user and also for users who were members before achievements implementation whose old actions aren’t counted.

    I know i had suggested before to base post and comments on the real wp number rather than the action counter. I don’t know if you might consider that in the future.

    Avatar of Nm
    nm
    Participant

    @nahummadrid

    Any ideas why is not working with 1.5.1

    Avatar of Nm
    nm
    Participant

    @nahummadrid

    Does the plugin work with 1.5?

    Instead of using the plugin how could i just exclude one profile field group using the bp-custom hack

    `function remove_xprofile_links() {

    if ( !bp_get_profile_field_data(‘field=Interests’))

    remove_filter( ‘bp_get_the_profile_field_value’, ‘xprofile_filter_link_profile_data’, 9, 2 );
    }
    add_action( ‘bp_init’, ‘remove_xprofile_links’ );
    `
    I tried this..doesn’t work….

    Avatar of Nm
    nm
    Participant

    @nahummadrid

    is there a way to set the get_avatar size higher than 96?

    I have just been using this
    `post_author) ) : ?>

    <a href="”>

    `
    ..to get the large avatar photo of the author to show it on the author posts archive template and other places. But recently i’ve been switching some of these to “get_avatar” where thumb sizes are less than 96px.

    The only thing is that the large avatar size needed on the author template isn’t best quality when using get_avatar (150px).

    So is there a way to define the get_avatar full size to be the same as the bp default full avatar size.

    Avatar of Nm
    nm
    Participant

    @nahummadrid

    Thanks! This is excellent!

    Avatar of Nm
    nm
    Participant

    @nahummadrid

    For anyone else I thought I’d share how I ended up getting this “working”

    So far it looks like it is working — users blogs must be set as their primary site under their My Site settings.

    `add_action( ‘template_redirect’, ‘authorblog_template_redirect’ );
    function authorblog_template_redirect()
    {
    global $wpdb;
    $id = get_query_var( ‘author’ );

    //two lines from bp_adminbar_blogs_menu() in bp-core-adminbar.php

    $blogs = get_active_blog_for_user( $id );

    if ( is_author() ) {

    // get_usernumposts() is deprecated since 3.0
    $post_count = count_user_posts( $id );
    if ( $post_count >= 0 ) {
    //This line could also be wp_redirect
    wp_redirect( $blogs->siteurl );
    exit;
    }
    }

    }

    `

    Avatar of Nm
    nm
    Participant

    @nahummadrid

    by going directly to the /groups/create page url….would be a way that they could access creating a group.

    yep there it is in the settings of bp… Restrict page creation to Site Admins? Yes/No — that should do it if you’re running in default mode.

    i have other variables to consider when letting users create groups like achievements and roles….so I must have been blinded to that setting….hehe

    Avatar of Nm
    nm
    Participant

    @nahummadrid

    removing the button from the groups index page alone will not stop your members from being able to create groups…

    have you seen this…to limit group creation to admins

    http://buddypress.org/community/groups/how-to-and-troubleshooting/forum/topic/limit-group-creation-to-admin/

    If you just want to hide the button…maybe something like

    `<?php if (is_user_logged_in() && current_user_can('administrator')):?>
    your button stuff
    `

Viewing 25 replies - 1 through 25 (of 360 total)