Search Results for 'buddypress'
-
AuthorSearch Results
-
November 3, 2011 at 2:47 pm #123680
Paul Wong-Gibbs
KeymasterI’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.
November 3, 2011 at 1:57 pm #123679In reply to: Buddypress site tracking misses most blogs
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?
November 3, 2011 at 1:40 pm #123677Philipp
ParticipantI 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?!
November 3, 2011 at 1:29 pm #123676leethompson
MemberThis 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
November 3, 2011 at 12:45 am #123662In reply to: Leave Group Button Gone
November 2, 2011 at 10:46 pm #123660In reply to: How does the activity stream work?
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?
November 2, 2011 at 10:13 pm #123657sjohnson0424
Member@n0ise This could be perfect for a site I’m working on, have you made any progress with it?
November 2, 2011 at 8:43 pm #123653Boone Gorges
KeymasterSounds like you may have the activity component disabled. Check at Dashboard > BuddyPress > Components.
November 2, 2011 at 7:57 pm #123651In reply to: Getting started with BuddyPress in multisite
subigya
ParticipantI 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?
November 2, 2011 at 7:57 pm #123650In reply to: Don’t Inherit BP-Default CSS Child Theme
@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
November 2, 2011 at 7:20 pm #123647In reply to: Don’t Inherit BP-Default CSS Child Theme
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!
November 2, 2011 at 7:02 pm #123645In reply to: Don’t Inherit BP-Default CSS Child Theme
InHouse
MemberWow, 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.
November 2, 2011 at 6:34 pm #123642In reply to: Don’t Inherit BP-Default CSS Child Theme
InHouse
MemberThanks @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;`November 2, 2011 at 6:23 pm #123640In reply to: Don’t Inherit BP-Default CSS Child Theme
@mercime
ParticipantNovember 2, 2011 at 6:19 pm #123639r-a-y
KeymasterSounds like a good candidate for an enhancement ticket.
Please create a new ticket here:
https://buddypress.trac.wordpress.org/newticketLogin with the same credentials you use here on bp.org.
November 2, 2011 at 6:17 pm #123638In reply to: Buddypress site tracking misses most blogs
@mercime
ParticipantThis 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?
November 2, 2011 at 6:12 pm #123637In reply to: [Resolved] Events-Manager pages show 2 sidebars
@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.
November 2, 2011 at 6:12 pm #123636In reply to: Buddypress site tracking misses most blogs
r-a-y
KeymasterYou 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()`.
November 2, 2011 at 6:02 pm #123634In reply to: [Resolved] Buddypress community and public content
charleshaa
MemberIt 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 !
November 2, 2011 at 5:48 pm #123632r-a-y
KeymasterRegarding the email issue, try the solution listed here:
https://codex.buddypress.org/troubleshooting/frequently-asked-questions/#registerNovember 2, 2011 at 5:46 pm #123631In reply to: [Resolved] Buddypress community and public content
r-a-y
KeymasterIf 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!
November 2, 2011 at 5:43 pm #123630In reply to: Don’t Inherit BP-Default CSS Child Theme
Prince Abiola Ogundipe
ParticipantAm 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
November 2, 2011 at 5:38 pm #123629Quint
ParticipantThanks, Boone!
November 2, 2011 at 4:39 pm #123625Boone Gorges
Keymaster@qrahaman Check out this work-in-progress: https://github.com/boonebgorges/bp-better-directories
November 2, 2011 at 4:30 pm #123624Quint
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.
-
AuthorSearch Results