Skip to:
Content
Pages
Categories
Search
Top
Bottom

Search Results for 'buddypress'

Viewing 25 results - 36,576 through 36,600 (of 94,569 total)
  • Author
    Search Results
  • #150192
    Charlesbassiste
    Participant

    Hi,

    I\’ve started dabbling in web site creation over the last few months. Thanks to Youtube and a few useful plugins, I\’ve managed to build a few basic websites/blogs for fun, with almost no knowledge of coding.

    I built this website (www.tlmsc.ca) to be a podcast network, and I\’ve recently started using buddypress as a mean to incorporate a forum. I\’ve created a child theme, and managed to find out the code to remove the search bar in the header.

    Now, the problem that I can\’t seem to work out, is the fact that my header only fully appears on my desktop LCD screen. When I go to my website using my laptop, I\’ll only see part of the image which seems weird to me since I know I\’ve used the correct dimensions for my image (1250, 133). If anybody can help me regarding that subject, I\’d really appreciate it.

    I\’m using Buddypress 1.6.2 in conjunction with bbPress and Blubrry Powerpress for podcasting.

    By the way, any types of comments regarding my site\’s functionality is very welcomed.

    Thanks
    Charles

    #150191
    DKerrigan
    Participant

    @shanebp For whatever reason, the lines 27-38 that pull in member biographies are not working. No user biographies are being returned (the code works on the Members Directory, not the Groups). Any clue what is going on there?

    You are awesome by the way @shanebp. Really, really appreciate you helping me out.

    #150184
    DKerrigan
    Participant

    Thanks again for the help @shanebp.

    Here is a copy of the code in question: http://pastebin.com/J5sEfVNt

    When I hard code a group_id into Line 15, I can see members appear. However, I need it to be dynamic, as I want each group to show all members.

    #150182
    Ben Hansen
    Participant

    the bp-default theme should be fairly mobile friendly additionally there are many premium responsive themes out there that are already coded for buddypress. additionally if you are patient 1.7 will probably be out before you know it (no i can’t say when exactly but my understanding is that beta 1 is immanent) which should allow you to use buddypress with any almost theme.

    VegasKev88
    Participant

    did some more testing to find the source. haven’t found the source, but when i have noticed that the notifications do show up in the invitee’s wp-admin bar notification icon, just not in the buddy bar.

    I’ve also switched back to the default theme and still no notifications in the buddy bar. An suggestions/fixes/ideas would be awesome.

    Thanks in advance.

    zanzaboonda
    Participant

    Why does it hate me so? lol

    I guess I’m doing something wrong or am somehow not understanding how the code tag works as it isn’t all coming through. Sorry, I tried. 🙁

    charlietech
    Participant

    I need to make my site mobile with buddypress included. Can anybody give me some direction?

    zanzaboonda
    Participant

    For anyone else having problems reading it on the other page, I found a copy from one of my other websites that I used.

    Bottom of header-buddypress.php:

    (minus the spaces – hope it works this time)

    Top of sidebar-buddypress.php:

    `

        
            jQuery(document).ready( function() {
                if ( jQuery(‘div#blog-details’).length && !jQuery(‘div#blog-details’).hasClass(‘show’) )
                    jQuery(‘div#blog-details’).toggle();
                jQuery( ‘input#signup_with_blog’ ).click( function() {
                    jQuery(‘div#blog-details’).fadeOut().toggle();
                });
            });
        
    `

    Everything in the CSS files is fine, except the top should say:

    `/* BuddyPress Component Finishing Styles
    ————————————————— */`

    zanzaboonda
    Participant

    I feel like I need to append this to say that when I mean wrong, I mean some sort of technical glitch.

    #150174
    magichew
    Participant

    Sorry but I have just created another ticket for this too.

    https://buddypress.trac.wordpress.org/ticket/4760

    I have been running 1.7 on the site I’m testing for weeks and it seems like it hasn’t been a problem for the whole life of 1.7 as some users are fine and other users haven’t been able to activate at a later date.

    Unfortunately I don’t know how to find out any sort of timeline for when this broke.

    zanzaboonda
    Participant

    I give up.

    Any thoughts otherwise? My whole BuddyPress area is broken. 🙁

    zanzaboonda
    Participant

    Well, then.

    “

    I added spaces between the . Let’s see if that makes a difference.

    #150171
    Mike Stott
    Participant

    Hi

    You could try this premium plugin

    [DELETED – not relevant to this topic ~~~ Mercime]

    rates two images side by side using the elo algorithm.

    zanzaboonda
    Participant

    Hmm… not sure why it didn’t take that other one. Trying again.

    At bottom of header-buddypress.php:

    “

    zanzaboonda
    Participant

    There is a whole bunch of wrong with the code from the walkthrough…

    I’m guessing it should be these? (If so, it still didn’t work for me. )

    At bottom of header-buddypress.php:

    “

    At top of sidebar-buddypress.php:

    `

        
            jQuery(document).ready( function() {
                if ( jQuery(‘div#blog-details’).length && !jQuery(‘div#blog-details’).hasClass(‘show’) )
                    jQuery(‘div#blog-details’).toggle();
                jQuery( ‘input#signup_with_blog’ ).click( function() {
                    jQuery(‘div#blog-details’).fadeOut().toggle();
                });
            });
        
    `

    #150167
    jbt103
    Participant

    Hello! I really need some help with getting BuddyPress to work on my Template. My site is JoshuaTrent.com – I know it will probably take somebody who knows what they’re doing like 5 minutes to do but I’m completely new to BuddyPress. I can send $25 through PayPal or something to anyone that can help! Thanks!!

    #150165
    shanebp
    Moderator

    You don’t say where you tried to use bp_group_has_members().

    In a function you probably need a global or two, at least global $bp;

    Try hard coding a group_id into your bp_group_has_members() call.
    If that works, then you have to dig around and find the right globals and calls to make.
    ( maybe bp_get_current_group_id() ? )

    If it doesn’t work, there could be an issue with your setup or maybe you can’t use multiple
    bp_group_has_members calls in the same parent loop.
    According to the codex, the latter shouldn’t be an issue, but… ?
    https://codex.buddypress.org/developer/developer-docs/loops-reference/the-group-members-loop-bp_group_has_members/
    “The ID of the group to fetch members for. Required when… not nested within a bp_has_groups() loop.

    #150163
    Ben Hansen
    Participant

    i have no trouble seeing this thread :/

    #150160

    Awesome, but you can not use the BuddyPress logo in non-official applications.

    +1 – would you please kindly remove the BuddyPress logo. We love it as much as you do, but this app isn’t officially endorsed by the BuddyPress project.

    #150159
    DKerrigan
    Participant

    Thanks for the quick reply @shanebp.

    I tried using:
    `if ( bp_group_has_members() )`

    However, when I check out the Groups directory, each group has the message “This group has no members”. Is there any way to pass the group_id to bp_group_has_members() without hard coding it?

    #150155
    modemlooper
    Moderator

    Awesome, but you can not use the BuddyPress logo in non-official applications.

    #150151
    lwaltzer
    Participant

    Oops. Trying again:

    /**
    * In WP 3.5+, get_blogs_of_user() is much slower than in previous versions. As
    * a result, if you have a certain number of blogs, running get_blogs_of_user()
    * will create a memory timeout. This is a particular problem because
    * get_blogs_of_user() is called on every page, because of the toolbar.
    *
    * Ideally, there would be a way to short-circuit get_blogs_of_user(), or even
    * to prevent WordPress from calling get_blogs_of_user() while loading the
    * toolbar. But there is not. As a workaround, this function intercepts a key
    * step in get_blogs_of_user() – the get_user_meta() call that gets all of a
    * user’s metadata. If we determine that this request is coming from
    * get_blogs_of_user() (which we do by examining the debug_backtrace(), a truly
    * awful technique), AND that it’s one of the generic meta queries used by
    * get_blogs_of_user(), AND that the current user has more than 75 blogs, THEN
    * we strip all of the blog capability keys from the array of metadata,
    * tricking get_blogs_of_user() into thinking that the current user has no
    * blogs at all.
    */
    function bbg_admin_bar_hack( $check, $object_id, $meta_key, $single ) {
    // Only fire when looking at get_user_meta() with no params
    if ( ! $meta_key ) {

    // check to see whether this came from get_blogs_of_user()
    $db = debug_backtrace();
    $is_get_blogs_of_user = false;
    foreach ( $db as $dbk => $dbv ) {
    if ( ‘get_blogs_of_user’ == $dbv[‘function’] ) {
    $is_get_blogs_of_user = true;
    break;
    }
    }

    if ( $is_get_blogs_of_user ) {
    // Get the real metadata, but don’t recurse
    remove_filter( ‘get_user_metadata’, ‘bbg_admin_bar_hack’, 10, 4 );
    $meta = get_user_meta( $object_id );
    add_filter( ‘get_user_metadata’, ‘bbg_admin_bar_hack’, 10, 4 );

    // How many blogs does this user have?
    static $blog_count_of_user;
    if ( ! isset( $blog_count_of_user ) && is_user_logged_in() ) {
    $blog_count_of_user = 0;
    foreach ( $meta as $mk => $mv ) {
    if ( ‘capabilities’ === substr( $mk, -12 ) ) {
    $blog_count_of_user++;
    }
    }
    }

    // We only care about those with counts > 75
    if ( $blog_count_of_user > 75 ) {
    static $clean_keys;
    if ( isset( $clean_keys ) ) {
    return $clean_keys;
    } else {
    foreach ( $meta as $mk => $mv ) {
    if ( ‘capabilities’ === substr( $mk, -12 ) ) {
    unset( $meta[ $mk ] );
    }
    }

    $clean_keys = $meta;
    return $meta;
    }
    }
    }

    }

    return $check;
    }
    add_filter( ‘get_user_metadata’, ‘bbg_admin_bar_hack’, 10, 4 );

    #150150
    lwaltzer
    Participant

    @boone figured this out for me, and hacked together a fix which I’ve pasted below.

    `

    $dbv ) {
    if ( ‘get_blogs_of_user’ == $dbv[‘function’] ) {
    $is_get_blogs_of_user = true;
    break;
    }
    }

    if ( $is_get_blogs_of_user ) {
    // Get the real metadata, but don’t recurse
    remove_filter( ‘get_user_metadata’, ‘bbg_admin_bar_hack’, 10, 4 );
    $meta = get_user_meta( $object_id );
    add_filter( ‘get_user_metadata’, ‘bbg_admin_bar_hack’, 10, 4 );

    // How many blogs does this user have?
    static $blog_count_of_user;
    if ( ! isset( $blog_count_of_user ) && is_user_logged_in() ) {
    $blog_count_of_user = 0;
    foreach ( $meta as $mk => $mv ) {
    if ( ‘capabilities’ === substr( $mk, -12 ) ) {
    $blog_count_of_user++;
    }
    }
    }

    // We only care about those with counts > 75
    if ( $blog_count_of_user > 75 ) {
    static $clean_keys;
    if ( isset( $clean_keys ) ) {
    return $clean_keys;
    } else {
    foreach ( $meta as $mk => $mv ) {
    if ( ‘capabilities’ === substr( $mk, -12 ) ) {
    unset( $meta[ $mk ] );
    }
    }

    $clean_keys = $meta;
    return $meta;
    }
    }
    }

    }

    return $check;
    }
    add_filter( ‘get_user_metadata’, ‘bbg_admin_bar_hack’, 10, 4 );

    `

    #150147
    davito18
    Participant

    Hi, I keep trying to create a new topic but it doesn’t show on this support forum or in my profile.

    I made a topic here instead if anyone could help:

Viewing 25 results - 36,576 through 36,600 (of 94,569 total)
Skip to toolbar