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 Profile search in the forum Showcase 10 years, 7 months ago

    Please ask your question on the plugin’s support forum. The plugin author should be able to help.

  • Profile picture of Henry Wright

    Henry Wright replied to the topic How to get an ID of a user who was just activated? in the forum How-to & Troubleshooting 10 years, 7 months ago

    OK sure, try this:

    function william_oneb_key() {
    if ( isset( $_GET['key'] ) ) {
    echo $_GET['key'];
    } else {
    echo "No key available.";
    }
    }
    add_action( 'bp_after_activate_content', 'william_oneb_key' );

  • Profile picture of Henry Wright

    Henry Wright replied to the topic How to get an ID of a user who was just activated? in the forum How-to & Troubleshooting 10 years, 7 months ago

    If the key is part of the URL then you should be able to get that from $_GET["key"] and then query the database for a user ID using that value.

  • Profile picture of Henry Wright

    Henry Wright replied to the topic How customizable are the registration forms? in the forum Creating & Extending 10 years, 7 months ago

    This all sounds feasible. BuddyPress is very developer friendly so building your own web apps and hooking into BuddyPress shouldn’t be a problem.

    The registration form is configurable and is fully customisable via the BuddyPress template hierarchy.

    Also, BuddyPress is free, so there’s no need to purchase.

  • Profile picture of Henry Wright

    Henry Wright replied to the topic How to get an ID of a user who was just activated? in the forum How-to & Troubleshooting 10 years, 7 months ago

    Is the user logged in at this point? If so, you can use bp_loggedin_user_id()

  • Profile picture of Paul Wong-Gibbs

    Paul Wong-Gibbs wrote a new post on the site BuddyPress.org 10 years, 7 months ago

    BuddyPress 2.3.4 is now available. This is a maintenance release and all BuddyPress installations are recommended to upgrade as soon as possible.

    The release fixes a handful of bugs that were introduced in the […]

  • Profile picture of Paul Wong-Gibbs

    Paul Gibbs updated the Version 2.3.4 page, on the BuddyPress Codex 10 years, 7 months ago

    Version 2.3.4 is a BuddyPress maintenance release.

    For Version 2.3.4, the database version (_bp_db_version in wp_options) was 10071, and the Trac revision was 10202. Read the full ticket log here.

    Fixes

    * […]

  • Profile picture of Henry Wright

    Henry Wright replied to the topic How to get an ID of a user who was just activated? in the forum How-to & Troubleshooting 10 years, 7 months ago

    I suspected that might happen. The problem is here $willie = my_f();. In this particular case you can’t do that. I may have mislead you earlier so I’ve updated my reply here.

  • Profile picture of Henry Wright

    Henry Wright replied to the topic How to get an ID of a user who was just activated? in the forum How-to & Troubleshooting 10 years, 7 months ago

    That’s usually fine to do but be careful in this case. Our my_f() function is hooked to the filter bp_core_activate_account. That particular filter executes at a given time only. So your statement $user_id = my_f(); is not useful. $user_id will be undefined.

  • Profile picture of Henry Wright

    Henry Wright replied to the topic How to get an ID of a user who was just activated? in the forum How-to & Troubleshooting 10 years, 7 months ago

    @william_oneb technically yes. If bp_core_activate_signup( $key ) is successful then it will return a user ID. So

    function my_f( $user_id ) {
    // You can do something with $user_id here. Note though, the return value of
    // bp_core_activate_signup() may be false. In that case,
    // the value of $user_id here will be false.
    return…
    [Read more]

  • Profile picture of Paul Wong-Gibbs

    Paul Gibbs updated the Version 2.3.3 page, on the BuddyPress Codex 10 years, 7 months ago

    Version 2.3.3 is a BuddyPress maintenance and security release.

    For Version 2.3.3, the database version (_bp_db_version in wp_options) was 10071, and the Trac revision was 10072. Read the full ticket log […]

  • Profile picture of danmunne97

    danmunne97's profile was updated 10 years, 7 months ago

    danmunne97

    @danmunne97

    View Profile
  • Profile picture of boesko fowsk

    boesko fowsk's profile was updated 10 years, 7 months ago

    boesko fowsk

    @boeskofowsk

    View Profile
  • Profile picture of Henry Wright

    Henry Wright replied to the topic Changing profile name doesn't change the @name next to photo in the forum How-to & Troubleshooting 10 years, 7 months ago

    Which theme are you using?

  • Profile picture of Henry Wright

    Henry Wright replied to the topic COLOR OF ACTIVITY FORM in the forum How-to & Troubleshooting 10 years, 7 months ago

    To change the background colour, you’d use the background-color CSS property:

    #element {
    background-color: #000;
    }

    Where #element refers to the form element used in your HTML (the way to target this particular element is theme-dependent). Check out the Getting started with CSS MDN guide for more info on how to write CSS.

  • Profile picture of Henry Wright

    Henry Wright replied to the topic COLOR OF ACTIVITY FORM in the forum How-to & Troubleshooting 10 years, 7 months ago

    You should use your theme’s style.css document to add your own custom styles.

  • Profile picture of Henry Wright

    Henry Wright replied to the topic Changing profile name doesn't change the @name next to photo in the forum How-to & Troubleshooting 10 years, 7 months ago

    The @-name you see is slightly different to the “full name” displayed in user profiles. The @-name can be thought of as a username; a unique identifier for that member. The full name is just a line of text that can be anything the user likes. Two users can have the same full name, but no two users can have the same username.

  • Profile picture of Henry Wright

    Henry Wright replied to the topic Setting landing page in the forum Requests & Feedback 10 years, 7 months ago

    You can set the page users are taken to when they log in quite easily with a plugin such as Theme My Login.

  • Profile picture of Henry Wright

    Henry Wright replied to the topic registred users not include in buddypress members in the forum How-to & Troubleshooting 10 years, 7 months ago

    Possibly. Try searching the Plugin Directory.

  • Profile picture of Henry Wright

    Henry Wright replied to the topic registred users not include in buddypress members in the forum How-to & Troubleshooting 10 years, 7 months ago

    If a user can log in, then they are a member who has a profile page. This is regardless of whether they have activated their account. Of course, non-activated members can’t do much as their site usage is restricted.

  • 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