Shape the future of Social networking with WordPress: Join Project Midnight Sun! The next generation platform for community building with WordPress!

BuddyDev

Search

Replies

  • Keymaster
    (BuddyDev Team)
    Posts: 25294
    Brajesh Singh on in reply to: Disable ajax in follow button #48483

    Hi Tosin,
    Please use the updated code as there was a minor typo which used an undefined reference.

    Regards
    Brajesh

  • Keymaster
    (BuddyDev Team)
    Posts: 25294
    Brajesh Singh on in reply to: Disable ajax in follow button #48481

    Hi Tosin,
    It is aimed at both.

    Regards
    Brajesh

  • Keymaster
    (BuddyDev Team)
    Posts: 25294

    You are welcome Philip.

  • Keymaster
    (BuddyDev Team)
    Posts: 25294

    Hi Lefteris ,
    Thank you for the question.

    I am sorry, I am unable to look into the code and assist with it currently.

    My suggestion will be to use Deactivate Account plugin and enable it for the roles. Use localization to achieve the message. When a user deactivates their account, you will get an email and delete them.

    That is almost same experience.

    Regards
    Brajesh

  • Keymaster
    (BuddyDev Team)
    Posts: 25294
    Brajesh Singh on in reply to: page header and cover photos #48477
    This reply has been marked as private.
  • Keymaster
    (BuddyDev Team)
    Posts: 25294

    Hi Nik,
    I have tested it now.
    It is not appearing for us even if we enable the submission/pending.

    Can you please enable WP debug logging and share me the log. The only possibility is calling an undefined function related to group but that will be very strange.

    Regards
    Brajesh

  • Keymaster
    (BuddyDev Team)
    Posts: 25294
    Brajesh Singh on in reply to: BuddyBlog – Taxonomies #48475

    Hi Nik,
    Thank you for your patience.
    This was an issue in BuddyBlog Pro. My apologies for missing it.
    I have fixed it now.

    Please do note that you must specify a default term if you do not want all terms to be selected. This will work with our release coming up this week.

    Regards
    Brajesh

  • Keymaster
    (BuddyDev Team)
    Posts: 25294
    Brajesh Singh on in reply to: Disable ajax in follow button #48474

    Hi Tosin,
    Hope you are doing well.
    I had a look at the plugin and it does not provide an entry point to disable the ajax.

    you may try adding this code to see if it works(we are turning of event handler using js)

    
    
    /**
     * Disable ajax for follow button
     */
    function tosin_disable_ajax_bp_follow() {
    	?>
    	<script>
            (function ($) {
                let $itemButtons = null;
                if ($('body.bp-nouveau').length) {
                    $itemButtons = $("ul.member-header-actions");
                } else {
                    $itemButtons = $("#item-buttons"),
                }
    
                if ($itemButtons && $itemButtons.length) {
                    $itemButtons.off('click', '.follow-button a');
                }
            })(jQuery);
    
    	</script>
    	<?php
    }
    
    add_action( 'wp_footer', 'tosin_disable_ajax_bp_follow', 100 );
    
    

    Regards
    Brajesh

    • This reply was modified 2 years, 11 months ago by Brajesh Singh.
  • Keymaster
    (BuddyDev Team)
    Posts: 25294
    Brajesh Singh on in reply to: [Resolved] Contact Form Widget #48473

    Hi John,
    Thank you for checking.
    It will be available by day end Tuesday.

    Regards
    Brajesh

  • Keymaster
    (BuddyDev Team)
    Posts: 25294
    Brajesh Singh on in reply to: [Resolved] Visitor Tab issue #48472

    Also, is there any chance that you are using profile visibility plugin? That can cause the members to be hidden.

    Regards
    Brajesh