Forum Replies Created
-
I don’t know what this means? Link?
I just see in the page of enfold that retirano
I don’t see how it loses compatibility with BuddyPress. AFAIK out of the box, Enfold doesn’t really have it. It needs to be customized in the child theme.
Starting point is https://codex.buddypress.org/developer/function-examples/core/bp_core_new_nav_item/
But adding a full function looks like:
/** * adds the profile user nav link */ add_action( 'bp_setup_nav', 'add_calendar_2_bp_nav_item' ); function add_calendar_2_bp_nav_item() { global $bp; $args = array( 'name' => __( 'Calendar', 'buddypress' ), 'slug' => 'my-calendar', 'default_subnav_slug' => 'my-calendar', 'position' => 80, 'screen_function' => 'bp_nav_tab_stuff', 'item_css_id' => 'my-calendar', ); bp_core_new_nav_item( $args ); }
But to do anything with the above, you’ll need to add stuff to display:
/** * Creates the screen function content */ function bp_nav_tab_stuff() { add_action( 'bp_template_title', 'bp_nav_tab_screen_title' ); add_action( 'bp_template_content', 'bp_nav_tab_screen_content' ); bp_core_load_template( apply_filters( 'bp_core_template_plugin', 'members/single/plugins' ) ); } function bp_nav_tab_screen_title() { echo '<h3>My Calendar Title</h3>'; } function bp_nav_tab_screen_content() { echo '<p>You can choose to embed an iframe from Google Calendar and then the source will be the ID of the calendar you want to embed. You can find this under Settings > Calendar Address > Calendar ID.</p>'; echo '<p><iframe src="https://calendar.google.com/calendar/embed?src=barthmaier.com_sd2o58ua3efj7ne1m8o3p8n91g@group.calendar.google.com&ctz=America/New_York" style="border: 0" width="800" height="600" frameborder="0" scrolling="no"></iframe></p>'; echo '<p>Of course, the above is just one way to add a calendar.</p>'; }
Why do you say you should have network-activated BuddyPress?
I think you’ll want something like this:
add_action( 'bp_actions', 'remove_members_activity_tab', 5 ); function remove_members_activity_tab() { global $bp; bp_core_remove_nav_item( 'activity' ); }
which should remove the tab, but it’ll also remove the whole navigation if Activity is set as the default. To make sure that doesn’t happen, add this:
add_action( 'bp_setup_nav', 'change_settings_subnav', 5 ); function change_settings_subnav() { $args = array( 'parent_slug' => 'settings', 'screen_function' => 'bp_core_screen_notification_settings', 'subnav_slug' => 'notifications' ); bp_core_new_nav_default( $args ); }
I think the best thing to do is watch a video on YouTube.
Choose a more recent one with as close to the latest version. This one looks to be BP1.8
Yes, Buddypress can be installed on a subdomain as a single WordPress install. The subdomain will be your siteurl and blogurl;
Further, if I can get to the Activity Stream and I try to post something, nothing gets posted and the page redirects to home.
And to be clear, I’m using BP-Default for this testing, although it’s not the theme I plan to use.
So where I stand, Activity Stream only works if I DON’t have the correct page selected. That is, if I set it to Activity, and then try to open that page, it will redirect to home. If I set it to Actividad, and then go to Activity, the Activity Stream is there. Members still has the same problem. Going to the Members page works, but clicking on a profile redirects to Home.
Ummmm,. sorry for the message of good news. The Activity Stream isn’t right yet, either.
Aha! It seems that I had deleted the original Activity page, but didn’t empty the trash, so I created a conflict, no matter what I set as the Activity Stream page in the Buddypress admin settings, it knew that there was something in that trash, I guess, that it was originally pointing to?!?
define(‘WP_DEBUG’, false);
define(‘WP_ALLOW_MULTISITE’, true);
define(‘MULTISITE’, true);
define(‘SUBDOMAIN_INSTALL’, true);
$base = ‘/’;
define(‘DOMAIN_CURRENT_SITE’, ‘qiaccess.com’);
define(‘PATH_CURRENT_SITE’, ‘/’);
define(‘SITE_ID_CURRENT_SITE’, 1);
define(‘BLOG_ID_CURRENT_SITE’, 1);
define ( ‘BP_ROOT_BLOG’, 105 );
define( ‘SUNRISE’, ‘on’ );Buddypress site is community.qiaccess.com. I’ve changed all of the links in wp_bp_activity to reflect this, but still, no activity shows.
The original post has my htaccess and wp-config, which shows that I have the BP_Root specified. I’ve editing all of the links in the Activity table. Pages have been done, but still issue persists, with no changes.
Paul,
I’m having the same issue as Abbie, but the UsernameCompatibility didn’t help me. Forums and Groups rewrite correctly, Activity and Members do not. Activity will go to Home, Members will write to Members, but then when I click on a Member, it rewrites to Home.
I’m having a similar issue. I moved BP to a subdomain site on my network. Forums and Groups are fine. Activity and Members do not work. I don’t have anything new in htaccess because it caused infinite looping. For wp-config, I have:
define(‘WP_DEBUG’, false);
define(‘WP_ALLOW_MULTISITE’, true);
define(‘MULTISITE’, true);
define(‘SUBDOMAIN_INSTALL’, true);
$base = ‘/’;
define(‘DOMAIN_CURRENT_SITE’, ‘qiaccess.com’);
define(‘PATH_CURRENT_SITE’, ‘/’);
define(‘SITE_ID_CURRENT_SITE’, 1);
define(‘BLOG_ID_CURRENT_SITE’, 1);
define( ‘SUNRISE’, ‘on’ );
define ( ‘BP_ROOT_BLOG’, 105 );Tell us what you did try? Using Firebug, you can grab the CSS elements and place them in your child theme, then change what you want. Of course, you may not always know that you have the right element, but you can tell if Buddypress is seeing it or not, through Firebug. How well do you know CSS? Have you looked at tutorials?
Switch to the default theme. Buddypress will be happiest with this as a starting point. Once you have things working with the default theme, then you can switch themes. As far as Registration and Activation pages go, when you ran the Wizard, weren’t you asked to just create the pages, Register and Activate? You would then associate them with those pages in the Buddypress Admin area.
I’m using Buddypress 1.5.1 and I don’t have:
“
around line 57. On line 56, however, I have:
“
I’m not a coder, but can I put a call for sidebar1 and sidebar2? Would one go before the Content Div and one after?
I am using a Child theme, too, by the way, with bp-default as the parent theme.
So, what do you reckon I do, just wait for release? Or should I just Network Activate? I don’t understand why I can’t even see the plugin on subdirectories.
@PaulGibbs – What does this answer mean? Do you mean 1.2.5? I thought the current version is 1.2.10. I currently have the latest version installed. but I can only see it on the network admin. I can’t see it on any other site and I’d like to install on a subdomain.
Hey guys, I’m looking at integrating Buddypress to an existing site that uses Wishlist Member and I’m hoping to hear that you’ve tried it and all is fine. Looking forward to hearing great news!!
r-a-y, can my users alter a child theme without having ftp access? I can’t see having to do this for everyone who wants to adjust their navigation or whatever they want to customize.
Peter, same configuration here as Greg Fielding from housingstream. Running MU 2.9.2 and BP 1.2.3. I upgraded this am, activated site-wide, to no avail. Thoughts?