-
Henry Wright replied to the topic Username problems in the forum How-to & Troubleshooting 11 years ago
If you wanted to, you could just remove spaces in usernames by validating the field during registration. This is how you’d do it:
function zenimot_validate_username() {$bp = buddypress();
if ( strpos( $_POST['signup_username'], ' ' ) !== false ) {
$bp->signup->errors['signup_username'] = __( 'Spaces are not allowed',…[Read more] -
Henry Wright replied to the topic Username problems in the forum How-to & Troubleshooting 11 years ago
If you wanted to, you could just remove spaces in usernames by validating the field during registration. This is how you’d do it:
function zenimot_validate_username() {[Read more]
// Remove spaces from username.
$_POST['signup_username'] = str_replace( ' ', '', $_POST['signup_username'] );
}
add_action( 'bp_signup_pre_validate',… -
Henry Wright replied to the topic Username problems in the forum How-to & Troubleshooting 11 years ago
If you wanted to, you could enforce no spaces in usernames by validating the field during registration. This is how you’d do it:
function zenimot_validate_username() {[Read more]
// Remove spaces from username.
$_POST['signup_username'] = str_replace( ' ', '', $_POST['signup_username'] );
}
add_action( 'bp_signup_pre_validate',… -
Tom replied to the topic Username problems in the forum How-to & Troubleshooting 11 years ago
Thanks.
Still can’t believe no warning is shown. Strange.But fixed it by editing the input field, so only letters and numbers are possible to type.
And a message above the field.
Nasty workaround… -
Hugo Ashmore replied to the topic nginx vs apache installs with buddypress in the forum Miscellaneous 11 years ago
>cool he will probs read this when hes online,
She’ll be happy to grant contributor access to the codex as will I as Codex leads, although all Mods should be able to(not 100% sure of that though)Specific and detailed server configs does start to veer of topic for the BuddyPress Codex somewhat ( WP Codex probably has more extensive detail on WP…[Read more]
-
Henry Wright replied to the topic nginx vs apache installs with buddypress in the forum Miscellaneous 11 years ago
Completely agree! The LAMP stack is so easy to install I think sometimes people might not realise there are alternatives. Be good to read your article once written!
-
Henry Wright replied to the topic Username problems in the forum How-to & Troubleshooting 11 years ago
-
chenthil.kumar's profile was updated 11 years ago
-
Henry Wright replied to the topic nginx vs apache installs with buddypress in the forum Miscellaneous 11 years ago
That’s great you’re interested in updating the docs.
@henrywright who is the best person to ask on these forums to add a new section?
@mercime should be able to grant you contribute access to codex.buddypress.org.
Ref: https://codex.buddypress.org/participate-and-contribute/
-
Henry Wright replied to the topic List groups i am admin of in the forum How-to & Troubleshooting 11 years ago
-
Henry Wright replied to the topic Still having problems with registration page; unable to create the new user page in the forum How-to & Troubleshooting 11 years ago
That’s quite odd and it shouldn’t be happening. Do you have any custom code in your functions.php or bp-custom.php files?
-
Henry Wright replied to the topic nginx vs apache installs with buddypress in the forum Miscellaneous 11 years ago
-
Tom replied to the topic Username problems in the forum How-to & Troubleshooting 11 years ago
BTW: I managed to edit the activation e-mail to include the username. But still no good solution.
-
Tom replied to the topic how to add new members to groups automatically? in the forum How-to & Troubleshooting 11 years ago
I think Group-O-Matic could do this. You would need to setup some kind of pattern matching for the school names.
-
Tom started the topic Username problems in the forum How-to & Troubleshooting 11 years ago
So I did some tests…
In a standard WordPress install users can enter spaces in their username.
No problem.
E.g. ‘Firstname Surname’ renders as just that, with a space between the words.But when I activate BuddyPress (no other plugins) with the Twenty Fifteen theme, suddenly the spaces are removed from the username. Without as much as a single…[Read more]
-
jeffer yissa's profile was updated 11 years ago
-
Bradley Allen replied to the topic Logged in Links in the forum How-to & Troubleshooting 11 years ago
Using the plugin above, I added the ‘members’ and ‘groups’ pages to the BuddyPanel (Boss theme) and only display them to users that are logged in.
I want people who are logged in to have an easy way to find all available groups, as well as the members of the site.
I’m new to using BuddyPress. Thanks for your assistance! I’m think I’m set for now. 🙂
-
Bradley Allen replied to the topic Logged in Links in the forum How-to & Troubleshooting 11 years ago
Using the plugin above, I added the ‘members’ and ‘groups’ pages to the BuddyPanel (Boss theme) and only display them to users that are logged in.
I want people who are logged in to have a easy way to find all available groups, as well as the members of the site.
I new to using BuddyPress. Thanks for the assistance. I’m think I’m set for now. 🙂
-
Bradley Allen replied to the topic Logged in Links in the forum How-to & Troubleshooting 11 years ago
Well, it would be nice to do this without a plugin 🙂
However, this plugin seems to work fine
https://wordpress.org/plugins/menu-items-visibility-control/ -
Bradley Allen's profile was updated 11 years ago
- Load More