Skip to:
Content
Pages
Categories
Search
Top
Bottom

Search Results for 'buddypress'

Viewing 25 results - 77,401 through 77,425 (of 94,576 total)
  • Author
    Search Results
  • #70788
    scroobyfe
    Member

    I’ve managed to resolve my issue. For anyone who is looking to do something similar, this is what I did.

    I was going to resort to creating a custom database query for retrieiving all the users blogs until I dug into the BuddyPress plugin and found the function that is used within the admin area that lists all the blogs that each user is a member of.

    I used the ‘get_blogs_of_user’ function found in ms-functions.php:

    <br />
    <?php<br />
    global $bp;<br />
    $userID = $bp->loggedin_user->id;<br />
    $blogs = get_blogs_of_user( $userID, true );

    // Check if blogs have been returned
    if(!empty($blogs)){
    ?>
    <ul id="blogs-list" class="item-list">
    <?php
    if ( is_array( $blogs ) ) {
    foreach ( (array) $blogs as $key => $val ) {
    if($val->userblog_id == 1){ continue; }
    $blogLink = "http://".$val->domain . $val->path;
    $blogName = $val->blogname;
    ?>

    <li>
    <div class="item">
    <div class="item-title"><a>"><?php echo $blogName; ?> Videos</a></div>
    <div class="generic-button blog-button visit">
    <a>" class="visit" title="<?php _e( 'View Videos', 'buddypress' ) ?>"><?php _e( 'View Videos', 'buddypress' ) ?></a>
    </div>
    </div>
    <div class="action">
    <?php do_action( 'bp_directory_blogs_actions' ) ?>
    </div>
    <div class="clear"></div>
    </li>
    <?php
    } // End loop
    } // End if
    ?>
    <?php do_action( 'bp_after_directory_blogs_list' ) ?>
    <?php bp_blog_hidden_fields() ?>
    <?php } else { // If no blogs have been returned ?>
    <div id="message" class="info">
    <?php _e( 'Sorry, there were no blogs found.', 'buddypress' ) ?>
    </div>
    <?php } // End if ?>

    This code will list all of the blogs that the current logged in user is a member of, no matter what role the user has, admin, editor, subscriber etc.

    Dainismichel
    Participant
    Dainismichel
    Participant

    Posted the job here, I’d like to end this year-long saga of trying to configure BuddyPress with success…can you help?

    Maybe someone could just post the code, or reply here:

    http://www.elance.com/php/bid/main/proposalList.php?jobid=19531591

    #70783
    andrew_s1
    Participant

    3sixty, I’d strongly recommend not doing it that way. ISTM that it’s far better if you store this info server-side, not client-side: it’s information that’s specific to the logged-in user, not to the browser they’re logged in from. I wouldn’t want to see posts marked as new, that I’d already read, just because I was using a different browser or a different machine. Big cookies harm browser-side performance, too.

    Yes, I’m interested in working on extending buddypress’s forum capabilities. Here’s my work in progress: http://andrewsinlondon.wordpress.com/

    #70782
    Mariusooms
    Participant

    Yes jozik, it would be great to have a “default language” setting in the user profile settings page. Could you not stor a language id in the usermeta of that user? When logging in it would read out the language id and set the redirect accordingly? Just brainstorming here.

    How do social network sites like Facebook do this? They have their language selector at the bottom of the page, is that cookie based you think? It is important to us, so we could sponsor this, at least some of it.

    raynerlim36
    Participant

    Sorry, Bowe, but I couldn’t get yours to work.

    I think I forgot to mention that I wanted to use the original CSS to create a drop down menu.

    Here is my CSS:

    /* > Navigation
    
    */

    ul#nav {
    margin: 0;
    padding: 6px 0;
    position: absolute;
    list-style: none;
    bottom: 0;
    display: block;
    width: 100%;
    background: #232323;
    border-bottom: 1px solid #637d1b;
    }
    body.activity-permalink ul#nav { display: none; }

    ul#nav li {
    float: left;
    margin: 0;
    }
    ul#nav li a {
    color: #aaa;
    text-decoration: none;
    padding: 8px 15px;
    background: #232323;

    }
    ul#nav li.selected a {
    background: #232323 url(../images/pointer.gif) bottom center no-repeat;
    color: #fff;
    }

    I really need help doing this. I’m a novice at CSS.

    Thanks!

    #70778

    In reply to: Profile Syncing?

    Paul Wong-Gibbs
    Keymaster

    If you have a suggestion for what further data could be syncd to the WordPress profile, submit an enhancement ticket to trac.buddypress.org.

    #70770
    mrjarbenne
    Participant

    I should also note that I’m running the newest version of your plugin, and it seemed to coincide with the latest update.

    #70769
    mrjarbenne
    Participant

    I’m having the same problem as Anointed. Plugin is activated, but the panel that should be in the Buddypress area of the dashboard doesn’t appear. I’m running WPMU 2.9.2 and BP 1.2.3. Not sure what’s changed. It used to be there.

    #70764
    Will
    Member

    I forgot to mention that the unwanted sidebar only appears on the buddypress pages, so I don’t think it’s my theme

    #70755
    3sixty
    Participant

    heh… well, turns out the groups as set up here on buddypress.org don’t actually have forum or activity stream options… pretty much all you can do right now is join, so that renders all this hand-wringing a moot point. :)

    In terms of the “new posts since last visit” code I need to find a way to expire each serialized cookie at 60 days, and then it’s pretty much ready to go.

    #70736
    stwc
    Participant

    no theme edit but it traverses the dom tree on the bp-default theme

    Excellent, and thanks. I’ll be having a look, because that will make my clumsy attempts to do the same thing to get a quote-selected-text modification working a bit easier, I hope.

    #70735

    In reply to: Avatar Upload Issues

    deities1
    Member

    Doh! I forgot to disable BuddyPress before doing it. I think that caused my problem.

    I’m now able to upload avatars AND still have a workable Media Library.

    Here’s my steps:

    – Disable Buddy Press

    – In Dashboard > Settings > Miscellaneous :

    Store uploads in this foler: wp-content/uploads

    Full URL path to files: http://yoursite.com/wordpressfolder/wp-content/uploads

    – Make the already mentioned edits in bp-core-avatars.php

    – Activate BuddyPress

    Both avatars and media library worked for me.

    #70732
    stwc
    Participant

    I am very interested in building up functionality in the bbPress Forums component of BP — weak forum functionality will be the dealbreaker in a new deployment I’m working on for an existing community. The fact that the bbPress community is quite moribund (and the tendency in discussing it here tends to be to direct people there, despite the fact that there’s an even greater paucity of documentation and resources ‘there’), and we need to rewrite or create new extensions for stuff within BP anyway makes things a little difficult for dilettante coders like myself!

    Not a complaint or a derail — just saying that I’m happy to see other people thinking about beefing up bbPress within BP. I figured what the heck, and created a group, here: https://buddypress.org/groups/extending-bbpress-within-buddypress

    Please, do share, and join the group if you’re interested!

    #70731

    In reply to: Avatar Upload Issues

    deities1
    Member

    This was working when I did an automated install from my server host … then upgraded wordpress through the dash.

    I was having issue so I did a manual install of the latest WordPress / BuddyPress. When doing it this way my site no longer becomes viewable right after modifying and uploading the new bp-core-avatar file.

    Site just goes to blank screen with not even a hint of an html header. Weird thing as well …. the bp-core-avatar file seems to expand! It keeps getting larger and larger.

    I then have to delete and re-copy the BuddyPress folder in order for the site to show again.

    calvin_42
    Participant

    Hi there.

    I think I have discovered 2 bugs in bp_core.php and since I couldn’t log to TRAC, I post here.

    Version : all / trunk

    See http://trac.buddypress.org/browser/trunk/bp-core.php


    Function bp_core_new_subnav_item – Line 740


    Bug : $screen_function is not saved in the tab bp_options_nav.

    Patch : see below

    function bp_core_new_subnav_item( $args = '' ) {
    global $bp;

    $defaults = array(
    'name' => false, // Display name for the nav item
    'slug' => false, // URL slug for the nav item
    'parent_slug' => false, // URL slug of the parent nav item
    'parent_url' => false, // URL of the parent item
    'item_css_id' => false, // The CSS ID to apply to the HTML of the nav item
    'user_has_access' => true, // Can the logged in user see this nav item?
    'site_admin_only' => false, // Can only site admins see this nav item?
    'position' => 90, // Index of where this nav item should be positioned
    'screen_function' => false // The name of the function to run when clicked
    );

    $r = wp_parse_args( $args, $defaults );
    extract( $r, EXTR_SKIP );

    /* If we don't have the required info we need, don't create this subnav item */
    if ( empty($name) || empty($slug) || empty($parent_slug) || empty($parent_url) || empty($screen_function) )
    return false;

    /* If this is for site admins only and the user is not one, don't create the subnav item */
    if ( $site_admin_only && !is_site_admin() )
    return false;

    if ( empty( $item_css_id ) )
    $item_css_id = $slug;

    $bp->bp_options_nav[$parent_slug][$slug] = array(
    'name' => $name,
    'link' => $parent_url . $slug . '/',
    'slug' => $slug,
    'css_id' => $item_css_id,
    'position' => $position,
    'user_has_access' => $user_has_access,
    'screen_function' => $screen_function
    );

    if ( ( $bp->current_action == $slug && $bp->current_component == $parent_slug ) && $user_has_access ) {
    if ( !is_object( $screen_function[0] ) )
    add_action( 'wp', $screen_function, 3 );
    else
    add_action( 'wp', array( &$screen_function[0], $screen_function[1] ), 3 );
    }
    }


    Function bp_core_remove_subnav_item – Line 847


    Bug : $function variable has to be replaced by $screen_function variable instead

    Patch : see below

    function bp_core_remove_subnav_item( $parent_id, $slug ) {
    global $bp;

    $screen_function = $bp->bp_options_nav[$parent_id][$slug]['screen_function'];

    if ( $screen_function ) {
    if ( !is_object( $screen_function[0] ) )
    remove_action( 'wp', $screen_function, 3 );
    else
    remove_action( 'wp', array( &$screen_function[0], $screen_function[1] ), 3 );
    }

    unset( $bp->bp_options_nav[$parent_id][$slug] );

    if ( !count( $bp->bp_options_nav[$parent_id] ) )
    unset($bp->bp_options_nav[$parent_id]);
    }

    Thanks.

    #70728

    In reply to: WP-FB connect profile.

    peterverkooijen
    Participant

    @Bowe, I think jimcale wants to pull in additional data from the Facebook profile to fill out the profile on Buddypress. Out of the box the plugin does the basics very nicely – I have it live on three sites with integration to my mailing lists.

    But theoretically you can do much more with it. Haven’t had time to really look into that yet – my day job is not in web development.

    #70727
    rich! @ etiviti
    Participant

    Updated development version to 0.1.9b3

    https://wordpress.org/extend/plugins/buddypress-group-forum-extras/download/

    Added Topic Preview – Hover over topic title link, inserts a new table row beneath the title with the first post post_content.

    uses jquery hoverintent (default settings)

    no theme edit but it traverses the dom tree on the bp-default theme – so you may have to edit the .js file to account for a different forum-loop.php structure.

    no ajax – the first post_content is stored in html under a hidden div (i’ll add an option in the future to select full post or excerpt)

    #70724

    In reply to: WP-FB connect profile.

    peterverkooijen
    Participant

    Apparently there are hooks, actions, filters and other mysterious things you can use to add your own functions to get more data or do stuff – see Buddypress.php in the plugin folder. I have no clue how that works. You’ll have to search through the thread on the plugin page or be real nice to the developers.

    dwcouch
    Participant

    From the Plug-In:

    You will need to change the HTML structure in the BuddyPress templates that you copied into your theme to match the structure in your page.php or index.php file. The files that you need to edit are as follows (leave out any folders you have not copied over in step two):

    * /activity/index.php

    * /blogs/index.php

    * /forums/index.php

    * /groups/index.php

    * /groups/create.php

    * /groups/single/home.php

    * /groups/single/plugins.php

    * /members/index.php

    * /members/single/home.php

    * /members/single/plugins.php

    * /registration/register.php

    * /blogs/create.php

    * /registration/activate.php

    #70713

    In reply to: WP-FB connect profile.

    Bowe
    Participant

    Check the settings page of wp-fb connect, you should tick a box which enables some buddypress stuff and fixes the problem with usernames.

    #70706
    r-a-y
    Keymaster

    Are you using the latest version of BP?

    There was a ticket about this:

    https://trac.buddypress.org/ticket/1753

    If this problem still persists, please reopen the ticket.

    You can login to Trac with the same login credentials you use here on bp.org.

    #70703
    Peter Hofman
    Participant

    New version! Version 1.2.2 just released.

    Grab it over here: https://wordpress.org/extend/plugins/tweetstream/

    * Removed wordpress cron, and replaces with own cron code

    * Performance fixed

    SUPPORT: http://faboo.nl/bugs/tweetstream/

    Not all bugs are fixed yet but this release had to be done to prevent buddypress upgrading issues and facestream issues.

    #70702
    Tosh
    Participant

    @dre1080 this is something I’d like to see myself.

    I have points given for the following, and it’s all working great!

    blog posts, comments, logging in daily, forum post/creation (simplepressforum), update/reply (buddypress), creation of a group (buddypress).

Viewing 25 results - 77,401 through 77,425 (of 94,576 total)
Skip to toolbar