Skip to:
Content
Pages
Categories
Search
Top
Bottom

Forum Replies Created

Viewing 25 replies - 51 through 75 (of 3,925 total)
  • @r-a-y

    Keymaster

    What I’m asking is, is a user suppose to get a separate email with the activation code that they copy paste into?

    When a user completes registration, the user should get an activation email which looks like this:

    Thanks for registering!
    
    To complete the activation of your account, go to the following link: example.com/activate/XXX/

    XXX is the activation key. When the user clicks on this link, the activation page should show a form with the activation key already populated. The user has to submit the form to activate their account.

    For those with custom themes, that activation key might not be automatically populated into the form. This has caused a few support forum threads like this one to pop up.

    The fix for custom themes is noted here:

    BuddyPress 3.1.0 is now available!

    If you are not using a custom BuddyPress theme, then you can also try changing your theme to a WordPress default one to see if your problem still exists.

    @r-a-y

    Keymaster

    @sushant88 @tushar4monto Does this occur with all themes or a specific one?

    If it is a specific theme, is the theme freely available on the wordpress.org theme repository? If so, which one?

    @r-a-y

    Keymaster

    We already have a ticket about this:
    https://buddypress.trac.wordpress.org/ticket/7894

    @r-a-y

    Keymaster

    You should use add_filter() and not add_action().

    Apart from that the code looks correct to me… you might want to move your code out from your theme and into a plugin.

    @r-a-y

    Keymaster

    The problem is with BP Better Messages:
    https://wordpress.org/support/topic/404-if-user-isnt-logged-in/

    I tested the plugin in BP v2.9.4 and v3.1.0 and when not logged in, the link 404s and doesn’t redirect either way.

    A way to fix this is if the plugin added a subnav at this line:
    https://plugins.trac.wordpress.org/browser/bp-better-messages/trunk/inc/component.php#L170

    // Add the subnav items to the profile.
    $sub_nav[] = array(
    	'name'            => 'Inbox',
    	'slug'            => 'inbox',
    	'parent_url'      => trailingslashit( bp_displayed_user_domain() . $this->slug ),
    	'parent_slug'     => $this->slug,
    	'screen_function' => array( $this, 'set_screen' ),
    	'position'        => 10,
    	'user_has_access' => bp_is_my_profile()
    );

    Or BP Better Messages could write their own redirector code if the user isn’t logged in.

    @r-a-y

    Keymaster

    BuddyPress doesn’t touch the password reset email.

    You’re probably using a third-party plugin for that.

    @r-a-y

    Keymaster

    A couple of us replied to the Trac ticket that Dave posted:
    https://buddypress.trac.wordpress.org/ticket/7932

    In order to avoid forking the discussion, I’m going to close this thread.

    @r-a-y

    Keymaster

    In order to prevent duplicate content, I’ll forward you to a response I made in this thread:
    https://buddypress.org/support/topic/users-are-asked-for-activation/#post-275288

    @r-a-y

    Keymaster

    In v3.0.0, we changed the activation procedure because security clients can scan and follow links in emails, causing the user’s account to be activated unintentionally. To address this issue, account activation now requires the user to do a form submission.

    We’re looking to improve the activation email content to make this clear in v3.2.0.

    If you want to avoid the activation process entirely, there used to be an auto-activation plugin, but it might be outdated. Haven’t tested it in awhile.

    @r-a-y

    Keymaster

    The function you’ll want to look at is bp_core_activate_signup().

    I answered a similar question the other day:
    https://buddypress.org/support/topic/in-activation-link-the-variable-key-is-missing/#post-275227

    @r-a-y

    Keymaster

    Is bp-messages/?thread_id=43 created from a custom plugin? If so, which one? I don’t recognize that URL structure.

    @r-a-y

    Keymaster

    @redshujin – Change your theme temporarily to a WordPress default theme and give it another try.

    If that doesn’t work, set up a fresh install of WordPress (either locally or somewhere else on your server) and only have the BuddyPress plugin activated. Next, attempt to upload a photo. If that works, then it has something to do with your particular install. Probably due to a plugin.

    @r-a-y

    Keymaster

    Someone reported an issue involving 404s that might be related to this forum thread.

    To those experiencing 404s with custom profile or group subnav pages, can you try the following fix?
    https://buddypress.trac.wordpress.org/attachment/ticket/7931/7931.01.patch

    @r-a-y

    Keymaster

    Login to the WP admin dashboard, navigate to “Users > Pending Signups” and either approve or delete the signup.

    @r-a-y

    Keymaster

    i found the reason. php thinks $user->errors is not empty. but it is.

    For your error log, you should use var_export( $user, true ) instead of var_dump( $user ).

    @r-a-y

    Keymaster

    What’s the attempted link that users are clicking on from their email?

    You can remove the website domain for privacy.

    @r-a-y

    Keymaster

    If you remove a main navigation item, you have to replace it with another, otherwise the 404 is expected.

    For now, I would just override the template for the “Settings > General” screen and add some text. The other option is to redirect to another page like “Settings > Email”.

    @r-a-y

    Keymaster

    The code to activate a user can be found here:
    https://buddypress.trac.wordpress.org/browser/tags/3.1.0/src/bp-members/screens/activate.php?marks=98#L62
    https://buddypress.trac.wordpress.org/browser/tags/3.1.0/src/bp-members/bp-members-functions.php#L1798

    It would be great if you are able to set up a fresh install of WordPress and BuddyPress to see if your activation problems are because of some custom code on your site.

    @r-a-y

    Keymaster

    How are your users logging in?

    What happens if you deactivate BuddyPress? Do login attempts work? If not, it’s not a BuddyPress issue.

    @r-a-y

    Keymaster

    About the code that is linked:
    https://buddypress.trac.wordpress.org/changeset/11766/trunk/src/bp-templates/bp-legacy/buddypress/members/activate.php

    If your theme contains either a /buddypress/members/activate.php or /registration/activate.php file, you replace red lines with green lines. If your theme does not have any of these files, then you don’t need to make any changes.

    If you are still running into trouble, change your theme temporarily to see if your theme is the issue.

    —-

    If you want to roll back to an older version, you can do so on the following page:
    https://wordpress.org/plugins/buddypress/advanced/

    Under “Previous Versions”, select 2.9.4 and replace the copy on your server with that one.

    @r-a-y

    Keymaster

    You are using v2.9.1. Your issue is addressed in BuddyPress v3.0.0 as we have stopped activating accounts by direct URL.

    Activation now requires a form submission when you are on the activation page.

    @r-a-y

    Keymaster

    I’m afraid I can’t duplicate your problem. Tested on Twenty Fifteen with the bp-legacy and bp-nouveau template packs.
    Perhaps it’s the browser you are using? Try another browser like Firefox, Chrome, or Microsoft Edge. Are you using a mobile device?

    If no one can provide us with steps to replicate the issue, then we can’t debug the problem.

    @r-a-y

    Keymaster

    Yes, you edit wp-content/themes/pro/buddypress/members/activate.php with the following:
    https://buddypress.trac.wordpress.org/changeset/11766/trunk/src/bp-templates/bp-legacy/buddypress/members/activate.php

    This is mentioned in the sticky thread:

    BuddyPress 3.1.0 is now available!

    @r-a-y

    Keymaster

    Check out the bp_get_thread_recipients_list() function:
    https://buddypress.trac.wordpress.org/browser/tags/3.1.0/src/bp-messages/bp-messages-template.php?marks=1725-1729#L1711

    The Deleted User string is used if the user profile link does not exist. If the user was deleted, then it makes sense that the string would return 'Deleted User'.

    If the user still exists, your next step is to figure out why your user profile links are returning empty. Perhaps via a custom code snippet that is filtering the user profile URL?

    @r-a-y

    Keymaster

    I would wager that a plugin is conflicting with the image cropper size.

    Can you try deactivating all your plugins except BuddyPress to see if the image cropper is the correct size? Afterwards, if the image cropper is indeed the correct size, can you activate each plugin one-by-one to determine which plugin is causing the tiny image cropper and let us know which one it is?

Viewing 25 replies - 51 through 75 (of 3,925 total)
Skip to toolbar