Skip to:
Content
Pages
Categories
Search
Top
Bottom

Forum Replies Created

Viewing 25 replies - 1 through 25 (of 144 total)

  • Renato Alves
    Participant

    @espellcaste

    The activation key is necessary to avoid spam users in your community. It is an intergral part of BuddyPress and I wouldn’t recommend removing it.


    Renato Alves
    Participant

    @espellcaste

    The main reason to use the hook is in case another plugin or yourself try to reinstall the emails. If one does that, that email you showed creating will be deleted and you will have to recreate it by hand again. That doesn’t seem to be desireable.

    Also, creating via the hook, you can use the correct name when sending the email. You say you read it but your last question implies you don’t know how you are doing and seems to be trying a try and catch attempt. Meaning, trying something and seeing if it works.

    I’d recommend doing in the BuddyPress way, the correct way, to avoid problems in the future when upgrading BuddyPress or reinstalling emails.


    Renato Alves
    Participant

    @espellcaste

    Hi! Hard to say only looking from the outsite. To really confirm what happned requires looking at the code and database. So, I guess you won’t get valuable feedback here.

    I’d recommend asking your developer to check the code. See if something changed, a plugin or custom code. Because with the provided information, it is unlikely someone will do more than guess.

    🙂


    Renato Alves
    Participant

    @espellcaste

    Hi Folks!

    I agree it is not that easy to add a new situation or a custom email. That requires custom code and a bit of knowledge of BuddyPress internals. Also that’s not documented anywhere. This is just not an area that a lot of devs look for.

    Anyway, fair to say you can hook into bp_core_install_emails and install your own emails and situations. I recommend you look at the code to know what to do to add your own email and also your custom situation: https://github.com/buddypress/BuddyPress/blob/990a4c7cf65d4e05a9a26a0a97fc9ebe276f5e4e/src/bp-core/admin/bp-core-admin-schema.php#L503

    About the email not being sent. It is important the new template has the proper name. single-bp-email-{custom-name}, if you are creating a custom e-mail, that’s how your new email template should be named for.


    Renato Alves
    Participant

    @espellcaste

    If there is, I’m not aware of it. I’d recommend searching on https://wordpress.org/plugins/ or googling it.


    Renato Alves
    Participant

    @espellcaste

    I’d confirm if your fields validation is front-end or back-end. Also, check the pages that are open to registration and the BP REST API, if any plugin is opening up for signups.


    Renato Alves
    Participant

    @espellcaste

    There is a way, but requires custom code/development. BuddyPress is flexible enough to allow you to do whatever you want.


    Renato Alves
    Participant

    @espellcaste

    Oh, I see! You can use the same hook and create your own email doing what you just wrote.


    Renato Alves
    Participant

    @espellcaste

    I think this is more of a preference than a requimenent. One could think that if the user is already logged in, he already has the necessary permissions to delete it, so why ask the password another time.

    Social medias sites like Facebook and similars, ask that to make it harder for a user to delete their own account.

    So I don’t think this is a BuddyPress core issue. You can certainly add another field requiring the password on your social site before deleting the account.


    Renato Alves
    Participant

    @espellcaste

    This is already the default behavior. Here is the code that fires a email when someone request to add someone as a friend: https://github.com/buddypress/BuddyPress/blob/d44e81fd40e4e9e48fc599836d311cf2752f9f34/src/bp-friends/bp-friends-functions.php#L858

    I’d recommend you to confirm if something is disabling that. Maybe the emails are not set up correctly or a theme or plugin is avoiding that to happen. Could be anything.

    This needs more investigation.


    Renato Alves
    Participant

    @espellcaste

    Hi @meganelford,

    basically, your developer is requesting information so that the app can authenticate with the BuddyPress site. Due to the fact users are authenticated, the app needs permission to authenticate using those keys you mentioned.

    To make that happen you would need to have a token or oAuth plugin setup on your buddypress site. After that, create those API keys and provide to her.

    Here are a few plugins you could try:

    JWT Authentication for WP REST API

    WordPress REST API Authentication

    Application Passwords


    https://github.com/WP-API/jwt-auth

    Just be aware that whatever choice you make, there will be a learning curve.

    Also, I’d recommend checking how the API will affect the intranet nature of your site. For example, if you intranet is private (the front-end of the site), current BuddyPress API is open. Meaning, some information is open to the public (not logged in information, of course).

    Just something to keep in mind. Hope this answer your question, or at least, provides you with next steps (install the plugin and pass the keys information to her).

    🙂


    Renato Alves
    Participant

    @espellcaste

    I’d recommend searching here: https://wordpress.org/plugins/


    Renato Alves
    Participant

    @espellcaste

    Could you elaborate on that? Don’t understand the request.


    Renato Alves
    Participant

    @espellcaste

    Awesome!


    Renato Alves
    Participant

    @espellcaste

    I don’t think there is a corelation. Maybe there is but it might be too specific for your theme.


    Renato Alves
    Participant

    @espellcaste

    There is no filter with this name. I think you mean an action:

    add_action( 'bp_core_activated_user' );


    Renato Alves
    Participant

    @espellcaste

    Even with the BuddyPress CLI, this isn’t feasible. The best option I can think of is you creating a custom command or script to iterate the users and add and accept each other’s friendship requests.


    Renato Alves
    Participant

    @espellcaste

    BuddyPress has a CLI command now you can use.

    wp bp tool repair friend-count


    Renato Alves
    Participant

    @espellcaste

    Other option would be: redirect the general tab url to the memberpress account page.


    Renato Alves
    Participant

    @espellcaste

    I agree! The integration will depend a lot on what you are doing, not related to the skeleton per se. So for starters, I think you’ll be all right.


    Renato Alves
    Participant

    @espellcaste

    We just introduced a cli command, wp bp notification delete, that might help you in deleting those notifications.

    https://github.com/buddypress/wp-cli-buddypress/pull/70


    Renato Alves
    Participant

    @espellcaste

    Also, it’s important to check if it is a delivery problem. Try to confirm if other e-mails are being sent via SMTP or PHP.

    I just had a client with a similar problem where the real culprit was SMTP/PHP related.


    Renato Alves
    Participant

    @espellcaste

    There is already a ticket about it: https://buddypress.trac.wordpress.org/ticket/408


    Renato Alves
    Participant

    @espellcaste

    BuddyPress is alive! 🙂


    Renato Alves
    Participant

    @espellcaste

    You can use the BuddyPress REST API for that: https://github.com/buddypress/BP-REST/

    It is still a work in progress. But usable.

Viewing 25 replies - 1 through 25 (of 144 total)
Skip to toolbar