Skip to:
Content
Pages
Categories
Search
Top
Bottom

Search Results for 'buddypress'

Viewing 25 results - 35,226 through 35,250 (of 68,918 total)
  • Author
    Search Results
  • Paul Wong-Gibbs
    Keymaster

    I’m not sure it’s possible. It’d be more than just, for example, the main activity table. You’d have to pick up the meta tables, too, and figure out how to deal with conflicts when one site tries to update meta (or any other setting) from another site.

    #123679
    SilverP
    Member

    “Did you add any functions in theme’s functions.php or excluded some blogs in the directory listing Network Admin > Sites with that plugin?”

    No, no functions added, no blogs excluded. I’ve deactived the Blogs Directory plugin, enabled the site tracking component of BP.

    I also tried pasting the line
    bp_blogs_record_existing_blogs();
    into functions.php. No joy. Deactivating and re-activating the BuddyPress plugin sitewide with that line in functions.php also did not fix the problem.

    Any suggestions?

    Philipp
    Participant

    I would like to add the following:

    function table_prefix_switch() {
    global $wpdb;
    $options = $wpdb->options; //Save the site 2 options table
    $wpdb->set_prefix(‘wp_’); //The prefix to site 1
    $wpdb->options = $options; //Put the options table back
    }

    add_action(‘init’, ‘table_prefix_switch’);

    Maybe this could help me to hack it a little bit?!

    UPDATE: It’s just using the tables of WordPress – Not of Buddypress! Why?! :(

    leethompson
    Member

    This is a great post but what about moving sub links to a new parent item, this kinda works but if I remove the parent item the function stops. in my themes functions.php

    `function remove_blogs_nav() {
    bp_core_remove_nav_item( ‘privacy’ );
    bp_core_remove_nav_item( ‘settings’ );
    bp_core_remove_nav_item( ‘invite-anyone’ );
    }
    add_action( ‘bp_setup_nav’, ‘remove_blogs_nav’, 15 );

    function bp_add_create_group_subnav() {
    global $bp;
    $groups_link = ‘/groups-2/’;
    $settings_link = $bp->loggedin_user->domain ;

    /* Add the subnav items to the groups nav item */
    if (function_exists(‘bp_core_new_subnav_item’)) {
    bp_core_new_subnav_item( array(
    ‘name’ => __( ‘Create Clan’, ‘buddypress’ ),
    ‘slug’ => ‘create’,
    ‘parent_url’ => $groups_link,
    ‘parent_slug’ => $bp->groups->slug,
    ‘screen_function’ => ‘groups_screen_group_home’,
    ‘position’ => 40,
    ‘item_css_id’ => ‘home’ ) );

    bp_core_new_subnav_item( array(
    ‘name’ => __( ‘Settings’, ‘buddypress’ ),
    ‘slug’ => ‘settings’,
    ‘parent_url’ => $settings_link,
    ‘parent_slug’ => $bp->profile->slug,
    ‘screen_function’ => ‘profile-settings’,
    ‘position’ => 30,
    ‘item_css_id’ => ‘profile-settings’ ) );

    bp_core_new_subnav_item( array(
    ‘name’ => __( ‘Privacy’, ‘buddypress’ ),
    ‘slug’ => ‘privacy’,
    ‘parent_url’ => $settings_link,
    ‘parent_slug’ => $bp->profile->slug,
    ‘screen_function’ => ‘profile-privacy’,
    ‘position’ => 30,
    ‘item_css_id’ => ‘profile-privacy’ ) );

    }
    }
    add_action(‘bp_setup_nav’, ‘bp_add_create_group_subnav’);
    `
    If I comment out :
    `// bp_core_remove_nav_item( ‘privacy’ );
    // bp_core_remove_nav_item( ‘settings’ );`

    The sub links are in the Profile item, and functional, but still link to each original man item.

    thanks Boone you are a lot of help

    #123662
    pcwriter
    Participant

    @fanoop

    Are you the group admin? If so, the button is not displayed.

    #123660
    crazplain
    Member

    @mcarrano Hi Mcarrano I think you might have the answer to my question. If I were to create and additional table called post_type in wp_bp_activity and only use value 1 and 2 do you think this is the location where all activity posts gets updated?

    sjohnson0424
    Member

    @n0ise This could be perfect for a site I’m working on, have you made any progress with it?

    Boone Gorges
    Keymaster

    Sounds like you may have the activity component disabled. Check at Dashboard > BuddyPress > Components.

    #123651
    subigya
    Participant

    I have a WP multisite installation http://www.somemultisite.com and I want a buddypress installation in one of the subsite http://www.somesubsitewithbuddypress.com. So i installed the plugin, network activated and installed the theme and all.. and all is good, the problem is that buddy press changed my admin-bar throughout the multisite instead of just for the sub-site.

    Anybody familiar with this issue? I don’t want to have the subsitewithbuddypress.com to have anything to do with the primary somemultisite.com . No interference.

    I have these on the code:
    define ( ‘BP_ROOT_BLOG’, 7 ) ;
    define ( ‘BP_DISABLE_ADMIN_BAR’, true ); /* Turning this on/off only enabled or disabled the buddy press admin bar.

    So my question is where goes my main admin bar? Also, can i have this BP admin enabled only for the subsite with buddypress?

    #123650
    @mercime
    Participant

    @inhouse as @boonebgorges noted above, what I posted was essentially the same thing, and I learned it all from @boonebgorges and other BuddyPress Devs :-)

    10-4 @boonebgorges will tackle the update of relevant pages in BP Codex by this weekend latest :-)

    #123647
    Boone Gorges
    Keymaster

    > I wish Codex was written more in depth

    The Codex is written and maintained by volunteers. As @mercime was so kind as to jump in and explain what’s up, maybe you could be so kind as to edit the relevant page :)

    Also, some of these issues have been in flux through the end of the 1.5 dev cycle. In any case, what @mercime wrote is essentially the same thing that I wrote – you must have been writing the paths wrong.

    Thanks for your patience!

    #123645
    InHouse
    Member

    Wow, that is a far cry from what was posted in the Codex and what @boonebgorges posted. I still don’t understand why or how this works, but it works! Again, I wish Codex was written more in depth so new people can actually learn it. Thanks so much for your help @mercime. I appreciate it.

    #123642
    InHouse
    Member

    Thanks @mercime, I’ve already been staring at that page for over an hour. I can’t figure out what I’m doing wrong. I’ve tried every variation of the code I can think to try. Seneca County is the name of my custom child theme. What am I missing? The Codex doesn’t really explain how to modify the example. If you’ve never done it before, I don’t know how you’d look at the example and just figure it out. Please help :)

    `if ( !function_exists( ‘bp_dtheme_enqueue_styles’ ) ) :
    function bp_dtheme_enqueue_styles() {
    wp_enqueue_style( ‘seneca-county’, get_template_directory_uri() . ‘/themes/seneca-county/style.css’ );
    }
    endif;`

    `if ( !function_exists( ‘bp_dtheme_enqueue_styles’ ) ) :
    function bp_dtheme_enqueue_styles() {
    wp_enqueue_style( ‘my-stylesheet’, WP_CONTENT_URL . ‘/themes/my-theme/style.css’ );
    }
    endif;`

    #123640
    @mercime
    Participant
    r-a-y
    Keymaster

    Sounds like a good candidate for an enhancement ticket.

    Please create a new ticket here:
    https://buddypress.trac.wordpress.org/newticket

    Login with the same credentials you use here on bp.org.

    #123638
    @mercime
    Participant

    This could also be an issue with the Blogs Directory plugin which a friend installed. Did you add any functions in theme’s functions.php or excluded some blogs in the directory listing Network Admin > Sites with that plugin?

    #123637
    @mercime
    Participant

    @loudrake I saw this happen once or twice with a WP theme which had “ in footer.php instead of within index.php, single.php, etc. If I recall well, the solution was to create a blank sidebar-buddypress.php file and upload to that WP theme folder.

    #123636
    r-a-y
    Keymaster

    You could try running the function – `bp_blogs_record_existing_blogs()` – once and see if the missing blogs are repopulated.

    If not, then there is something wrong with the logic of `bp_blogs_record_existing_blogs()`.

    #123634
    charleshaa
    Member

    It helps a lot thank you ! I’ll dig into that !

    I also saw a great plugin called BP custom posts which allows to easily create BP components like groups. I guess I could also use that, my nodes could actually well be some kinda Group but with an extensive description… So I’ll check that as well.

    Thanks a lot !

    #123632
    r-a-y
    Keymaster

    Regarding the email issue, try the solution listed here:
    https://codex.buddypress.org/troubleshooting/frequently-asked-questions/#register

    #123631
    r-a-y
    Keymaster

    If you need your users to create the nodes on the frontend, you’ll have to include some type of frontend post editor.

    Frontend Editor by scribu works with custom post types and should hopefully work for most of your needs:
    https://wordpress.org/extend/plugins/front-end-editor/

    As for BuddyPress, BuddyPress 1.5 has some hooks in the activity stream component so you could potentially add custom post types in the activity stream when such a post is made.

    The hook you will be interested in particular is “bp_blogs_record_post_post_types” located in /bp-blogs/bp-blogs-functions.php.

    Hope that helps!

    #123630

    Am having this problem aswell, i just tried solution provided by @Boone, but still same thing. i have been having the problem for a while which makes me switch back to bp 1.2

    #123629
    Quint
    Participant

    Thanks, Boone!

    #123625
    Boone Gorges
    Keymaster
    #123624
    Quint
    Participant

    @katje, were you able to get a resolution on finding a multiple-criteria “search” plugin?

    @boonebgorges, Boone, I hope I’m not hijacking the thread because my question reflects one of katje’s questions: Is there a plugin or something close (that I could point a developer to) that would accomplish a multiple criteria search across the membership directory? Here’s a scenario: Let’s say that my membership comprises global athletes, both professional and social. Furthermore, each one of these athletes compete in many different sports. My potential membership could be in the hundreds of thousands, probably millions. My users would need a way to sift through a directory of that size. So, if my xprofile fields contain tria-thletes some of whom have held the profession of astronaut, then I dare say 99.99% of the membership would not meet that criteria. It’s an extreme example which I hope illustrates the need across general searches.

    BTW, if this is considered hijacking a thread, please let me know and I’ll create a new topic.

Viewing 25 results - 35,226 through 35,250 (of 68,918 total)
Skip to toolbar