Forum Replies Created
-
In reply to: Making the use of a Username more clear
I haven’t tried it but it may help: http://wordpress.stackexchange.com/questions/66204/showing-the-users-username-in-registration-email-or-activation-page-with-buddyp
also the following alternative might be useful: https://buddypress.trac.wordpress.org/ticket/4622
In reply to: How to prevent spaces in UsernameIn reply to: Filtering Login Username to Allow SpacesIn reply to: [Resolved] Special page for not registered usersIn reply to: Warning messageFollowing on from @djpaul above, it seems you are not the only one having the problems with https://wordpress.org/extend/plugins/bp-registration-options/….
https://wordpress.org/support/topic/getting-new-warning-please-help-fast-urgent
In reply to: [Resolved] walled garden not workingHave you changed the theme template to remove the walled garden hook?
With Your function there should be something like “ in the header.php ….
An alternative way is to load it on a bp hook as in https://buddypress.org/community/groups/how-to-and-troubleshooting/forum/topic/how-do-i-make-buddypress-1-6-a-private-community/#post-136021 ( Note:
The function can be put into bp-custom.php though that example puts it into a plugin )In reply to: Changing slugs with bp-custom.php: No change!and bp-custom goes in /wp-content/plugins/ not /wp-content/plugins/buddypress/…
In reply to: Custom Buddybar Width@ript247 Please start a new topic for a different issue.
In reply to: Custom Buddybar WidthI use the following in a child of bp default – all the other settings ( including for
`#wp-admin-bar` ) I can see with firebug are default
`
#wp-admin-bar .padder {
background-attachment: scroll;
background-clip: border-box;
background-color: #000000;
background-image: none;
background-origin: padding-box;
background-position: 0 0;
background-repeat: repeat;
background-size: auto auto;
height: 25px;
width: 1000px !important;
}
`In reply to: New Install Not WorkingIn reply to: SSL too many redirectsDo you have any ‘privacy’ plugins or something like a redirect_to_forum() function in your bp-custom.php file such as in https://buddypress.org/community/groups/how-to-and-troubleshooting/forum/topic/too-many-redirects-in-chrome-404-in-ff-when-trying-to-accees-group-ater-update/ ?
If so try disabling it / them as they may need updating / replacing *
In reply to: Hiding Forums from non-registered users:You could create a different menu for logged in users?
See the bottom of the following post for more info:
https://buddypress.org/community/groups/how-to-and-troubleshooting/forum/topic/how-do-i-make-buddypress-1-6-a-private-community/#post-136021In reply to: How to download the buddypress 1.5.1?you can find it on https://wordpress.org/extend/plugins/buddypress/developers/
In reply to: Registrater Users OnlyYou could create an empty text file called /wp-content/plugins/walled-garden.php, paste the following into it, then activate the plugin:
`
<?php
/*
Plugin Name: Buddypress Walled Garden
Plugin URI: http://www.example.com/
Description: A brief description of the Plugin.
Version: 0.1
Author: http://www.example.com/
Author URI: http://www.example.com/
License: A “Slug” license name e.g. GPL2
*/function sh_walled_garden()
{
global $bp;// if( bp_is_register_page() || bp_is_activation_page() || bp_is_page( BP_FORUMS_SLUG ) || bp_is_page( BP_GROUPS_SLUG ) )
if( bp_is_register_page() || bp_is_activation_page() || bp_is_page( BP_FORUMS_SLUG ) )
return;if( ! bp_is_blog_page() && ! is_user_logged_in() )
bp_core_redirect( bp_get_signup_page() );
}add_action( ‘bp_init’, ‘sh_walled_garden’ );
function bp_remove_feeds() {
remove_action( ‘bp_actions’, ‘bp_activity_action_sitewide_feed’, 3 );
remove_action( ‘bp_actions’, ‘bp_activity_action_personal_feed’, 3 );
remove_action( ‘bp_actions’, ‘bp_activity_action_friends_feed’, 3 );
remove_action( ‘bp_actions’, ‘bp_activity_action_my_groups_feed’, 3 );
remove_action( ‘bp_actions’, ‘bp_activity_action_mentions_feed’, 3 );
remove_action( ‘bp_actions’, ‘bp_activity_action_favorites_feed’, 3 );
remove_action( ‘groups_action_group_feed’, ‘groups_action_group_feed’, 3 );
}
add_action(‘init’, ‘bp_remove_feeds’);?>`
Tested in bp 1.6.1The plugin should not have spaces, blank lines, or anything else before “ and use a simple text editor ( like this ) rather than a wordprocessor….
– – –
To have a different menu for logged in users is slightly more complicated.
You need to find the template bit that shows the menu.
In the current bp-default theme header.php file is the following
`
false, ‘menu_id’ => ‘nav’, ‘theme_location’ => ‘primary’, ‘fallback_cb’ => ‘bp_dtheme_main_nav’ ) ); ?>
`
which can be replaced by
`
<?php
if ( is_user_logged_in() ) {
wp_nav_menu( array( ‘container’ => false, ‘menu_id’ => ‘nav’, ‘theme_location’ => ‘primary’, ‘fallback_cb’ => ” ) );
} else {
wp_nav_menu( array( ‘container’ => false, ‘menu_id’ => ‘nav’, ‘theme_location’ => ‘secondary-menu’, ‘fallback_cb’ => ” ) );
}
?>
`
Then create the secondary menu in the wordpress menu admin…..Please backup files and database before trying this out in case there are complications. It would be better to try out on a test/dev site first …..
In reply to: Why is profile fields displaying info as links?In reply to: Customize the Buddypress “My Account” MenuIn reply to: Display user’s fieldhttps://codex.wordpress.org/Function_Reference/wp_get_current_user works with buddypress… I use it like this.
To personalise the admin bar I use something like this (bp version 1.5.7)
In reply to: User Slughttps://wordpress.org/extend/plugins/codestyling-localization/ could be useful…
I haven’t tried it myself. It does claim buddypress compatibility…
In reply to: Register PageThat is the expected behaviour if you are logged in…..
When I go there I get a normal register page!
In reply to: Non Registered Users Can View Registered UsersDo you mean something like the walled garden technique?
I use (bp version 1.5.6 ): https://buddypress.org/community/groups/how-to-and-troubleshooting/forum/topic/code-snippet-make-site-privet-parse-error/#post-130982
Then I use the following to hide feeds from logged out users
`
function bp_remove_feeds() {
remove_action( ‘bp_actions’, ‘bp_activity_action_sitewide_feed’, 3 );
remove_action( ‘bp_actions’, ‘bp_activity_action_personal_feed’, 3 );
remove_action( ‘bp_actions’, ‘bp_activity_action_friends_feed’, 3 );
remove_action( ‘bp_actions’, ‘bp_activity_action_my_groups_feed’, 3 );
remove_action( ‘bp_actions’, ‘bp_activity_action_mentions_feed’, 3 );
remove_action( ‘bp_actions’, ‘bp_activity_action_favorites_feed’, 3 );
remove_action( ‘groups_action_group_feed’, ‘groups_action_group_feed’, 3 );
}
add_action(‘init’, ‘bp_remove_feeds’);
`The link within the post above ( http://en.gravatar.com/site/implement/images/#default-image ) has more information about what you want to do….
It’s not quite the same thing but with bp version 1.5.6, I use the following in bp-custom.php:
// see: https://buddypress.org/community/groups/how-to-and-troubleshooting/forum/topic/1-5-group-avatars-using-mystery-man-default#post-109448 function my_avatar_defaults() { global $bp; // change 'identicon' to anything listed here: // http://en.gravatar.com/site/implement/images/#default-image $bp->grav_default->group = 'identicon'; $bp->grav_default->user = 'monsterid'; } add_action( 'bp_init', 'my_avatar_defaults' );