Skip to:
Content
Pages
Categories
Search
Top
Bottom

  • About
  • News
  • Codex
  • Develop
  • Make
  • Forums
  • Download

BuddyPress.org


  • All Members
  • RSS
  • Profile picture of Henry Wright

    Henry Wright replied to the topic Username problems in the forum How-to & Troubleshooting 11 years ago

    @zenimot

    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]

  • Profile picture of Henry Wright

    Henry Wright replied to the topic Username problems in the forum How-to & Troubleshooting 11 years ago

    @zenimot

    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() {
    // Remove spaces from username.
    $_POST['signup_username'] = str_replace( ' ', '', $_POST['signup_username'] );
    }
    add_action( 'bp_signup_pre_validate',…
    [Read more]

  • Profile picture of Henry Wright

    Henry Wright replied to the topic Username problems in the forum How-to & Troubleshooting 11 years ago

    @zenimot

    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() {
    // Remove spaces from username.
    $_POST['signup_username'] = str_replace( ' ', '', $_POST['signup_username'] );
    }
    add_action( 'bp_signup_pre_validate',…
    [Read more]

  • Profile picture of Tom

    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…

  • Profile picture of Hugo Ashmore

    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]

  • Profile picture of Henry Wright

    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!

  • Profile picture of Henry Wright

    Henry Wright replied to the topic Username problems in the forum How-to & Troubleshooting 11 years ago

    Hi @zenimot

    See 5185 for some background and a discussion on the topic.

  • Profile picture of chenthil.kumar

    chenthil.kumar's profile was updated 11 years ago

    chenthil.kumar

    @chenthilkuma

    View Profile
  • Profile picture of Henry Wright

    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/

  • Profile picture of Henry Wright

    Henry Wright replied to the topic List groups i am admin of in the forum How-to & Troubleshooting 11 years ago

    @mattsten don’t bother with my solution; @shanebp‘s is far better!

  • Profile picture of Henry Wright

    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?

  • Profile picture of Henry Wright

    Henry Wright replied to the topic nginx vs apache installs with buddypress in the forum Miscellaneous 11 years ago

    Hey @mcpeanut

    Check out the Nginx WordPress article; it may help whilst you’re waiting for a response.

  • Profile picture of Tom

    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.

  • Profile picture of Tom

    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.

  • Profile picture of Tom

    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]

  • Profile picture of jeffer yissa

    jeffer yissa's profile was updated 11 years ago

    jeffer yissa

    @jefferyissa96

    View Profile
  • Profile picture of Bradley Allen

    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. 🙂

  • Profile picture of Bradley Allen

    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. 🙂

  • Profile picture of Bradley Allen

    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/

  • Profile picture of Bradley Allen

    Bradley Allen's profile was updated 11 years ago

    Bradley Allen

    @bradley

    View Profile
  • Load More

WordPress.org bbPress.org BuddyPress.org Matt Blog RSS

GPL Contact Us Privacy Terms of Service X

Skip to toolbar
    • WordPress.org
      • About WordPress
      • Documentation
      • Support Forums
      • Feedback
      • Developer Trac
      • Developer Blog
    • bbPress.org
      • About bbPress
      • Documentation
      • Support Forums
      • Feedback
      • Developer Trac
      • Developer Blog
    • BuddyPress.org
      • About BuddyPress
      • Documentation
      • Support Forums
      • Feedback
      • Developer Trac
      • Developer Blog
  • Log in
  • Anonymous
    • AnonymousNot Logged In
    • Register
    • Log In