Commits

Doug Stewart committed 6e1b44b

BuddyPress is working, huzzah!

Minor changes.

  • Participants
  • Parent commits 9e13374

Comments (0)

Files changed (3)

File functions.php

 require_once( LBLG_FUNCTIONS_DIR . 'supports.php' );
 
 // Only load the BuddyPress-related code if BP is active
-//function lblg_bp_loader(){	
-//	echo "Loader!";
 if( function_exists( 'bp_init' ))
 	require_once( LBLG_FUNCTIONS_DIR . 'buddypress.php' );
-//}
-//add_action( 'bp_include', 'lblg_bp_loader' );
 ?>

File includes/functions/buddypress.php

 /**
  * Hooks BP's action buttons
  */
-function bp_tpack_add_buttons() {
+function lblg_bp_add_buttons() {
 	// Member Buttons
 	if ( bp_is_active( 'friends' ) )
 		add_action( 'bp_member_header_actions',    'bp_add_friend_button' );
 	if ( bp_is_active( 'blogs' ) )
 		add_action( 'bp_directory_blogs_actions',  'bp_blogs_visit_blog_button' );
 }
-add_action( 'bp_init', 'bp_tpack_add_buttons' );
+add_action( 'bp_init', 'lblg_bp_add_buttons' );

File styles/ng.css

 
 #lb-bp-nav ul.menu {
 	width: 100%;
-	margin-top:28%;
-	height: 4em;
+	/*margin-top:28%;
+	height: 4em;*/
+	height: 1.5em;
 }
 
 #lb-bp-nav ul.menu > li {