Re: add notifications and “Whats New” text to home page
why not use the bp-notifications widget plugin and create a widget area where you would like in your template..
check your code for the login form because iv tried this and it goes once a user is logged in..
try this:
<?php if (!is_user_logged_in() ) { //only non-logged in user can view this ?>
<form name=”login-form” id=”login-form” class=”standard-form” action=”<?php echo site_url( ‘wp-login.php’, ‘login’ ) ?>” method=”post”>
<div style=”font-weight:bold; margin-left: 20px; margin-bottom: 10px;”><label>
<input type=”text” name=”log” id=”userbar_user_login” class=”input” value=”<?php echo attribute_escape(stripslashes($user_login)); ?>” /></label></div>
<label><?php _e( ‘Password’, ‘buddypress’ ) ?>
<input type=”password” name=”pwd” id=”userbar_user_pass” class=”input” value=”” /></label>
<p class=”forgetmenot”><label ><input name=”rememberme” type=”checkbox” id=”userbar_rememberme” value=”forever” /> <?php _e( ‘Remember Me’, ‘buddypress’ ) ?></label></p>
<input type=”submit” title=”Login” name=”wp-submit” id=”userbar_wp-submit” value=”<?php _e(‘Login’); ?>” tabindex=”100″ />
<input type=”hidden” name=”redirect_to” value=”<?php bp_root_domain() ?>” />
<input type=”hidden” name=”testcookie” value=”1″ />
</form>
<?php } ?>