Skip to:
Content
Pages
Categories
Search
Top
Bottom

Re: Converting Single WP site to BP and left with a few questions


symm2112
Participant

@symm2112

The trac suggestion made a lot of sense but this is what the code is in my header.php. I thought about my situation and the reason I can’t use the global nav option is because with this configuration, the home function seems to work as does the blog slug, but the members, groups, etc all point to sub.domain.com/members, which is obviously wrong since it should be pointing to domain.com/members. I would like to keep the home and blog slugs pointing to where they are, but fix the members and rest of the links to point to my root domain slugs.

<li<?php if ( bp_is_page( ‘home’ ) ) : ?> class=”selected”<?php endif; ?>>” title=”<?php _e( ‘Home’, ‘buddypress’ ) ?>”><?php _e( ‘Home’, ‘buddypress’ ) ?>

<li<?php if ( bp_is_page( BP_HOME_BLOG_SLUG ) ) : ?> class=”selected”<?php endif; ?>>/<?php echo BP_HOME_BLOG_SLUG ?>” title=”<?php _e( ‘Blog’, ‘buddypress’ ) ?>”><?php _e( ‘Blog’, ‘buddypress’ ) ?>

<li<?php if ( bp_is_page( BP_MEMBERS_SLUG ) ) : ?> class=”selected”<?php endif; ?>>/<?php echo BP_MEMBERS_SLUG ?>” title=”<?php _e( ‘Members’, ‘buddypress’ ) ?>”><?php _e( ‘Members’, ‘buddypress’ ) ?>

<?php if ( function_exists( ‘groups_install’ ) ) : ?>

<li<?php if ( bp_is_page( BP_GROUPS_SLUG ) ) : ?> class=”selected”<?php endif; ?>>/<?php echo BP_GROUPS_SLUG ?>” title=”<?php _e( ‘Groups’, ‘buddypress’ ) ?>”><?php _e( ‘Groups’, ‘buddypress’ ) ?>

<?php endif; ?>

I guess these functions are being declared elsewhere but I’m not finding them, even in the functions.php. Any thoughts?

Also, for plugin commander, it’s not so much the plugins that I’m worried about as much as I am wanting to set a standard widget configuration for all sub blogs that get created rather than have them blank on blog creation.

also, on a side not, does anyone know what the wp_content_dir would be on a sub blog? I created a sub blog with a wordpress theme that created thumbnails automatically. The instructions say to upload some folders that it creates them in to wp-content/uploads but obviously there is no wp-content on a sub blog since the files are set to blogs.dir/6. If I put them in that folder, should that read it properly? Is there another variable that I should use to point that to blogs.dir/6/files?

I looked at the bptest.org but I didn’t see anything like the front end I was looking for. Posthaste seems good I just wondered if it was easy/possible to actually put the post box on the site.

Thanks again for all the help.

Skip to toolbar