BuddyDev

Search

Replies

  • Keymaster
    (BuddyDev Team)
    Posts: 25206
    Brajesh Singh on in reply to: Changing fields from profile page to settings page #48099

    Hi Manoj,
    You are welcome.

    1. Yes, you can either remove that completely and put

    
    <form action="" method="post" id="profile-edit-form" class="standard-form profile-edit <?php bp_the_profile_group_slug(); ?>">
    
    

    or you can put the url of that settings page

    2. No.
    Look for this function ‘xprofile_screen_edit_profile’. It is in buddypress/bp-xprofile/screens/edit.php

    It is indirectly attached to ‘bp_screens’ on priority 3. One you change the form’s action, It won’t be called.

    You can handle the update in your edit_profile_screen_function function that you have put while registering the nav.

    PS:- BuddyPress handles 1 group of profile field at a time. If you have multiple profile field groups, Please consider either putting them on a single page or handling them as BuddyPress does.

    Regards
    Brajesh

  • Keymaster
    (BuddyDev Team)
    Posts: 25206
    Brajesh Singh on in reply to: Anonymous Post Plugin #48097

    Hi Daniel,
    I am sorry, I am not sure I understand it properly.

    Please help me understand it a bit better.

    Thank you
    Brajesh

  • Keymaster
    (BuddyDev Team)
    Posts: 25206
    Brajesh Singh on in reply to: Changing fields from profile page to settings page #48096

    Hi Manoj,
    Welcome to BuddyDev support forums.

    There are two issues with your approach.

    You have changed the location where the edit profile field shows but you haven’t changed the submission/update handler.

    1. You will need to copy the “buddypress/members/single/profile/edit.php” to your theme or child theme and edit the action for the form element to point to your current settings page.

    2. You will need to copy the code from xprofile update handler and use that to handle the form submission.

    I hope that helps.

    Regards
    Brajesh

  • Keymaster
    (BuddyDev Team)
    Posts: 25206
    Brajesh Singh on in reply to: [Resolved] BuddyPress Profile Visibility Manager #48095

    Hi Iain,
    Thank you for the reply.

    I am glad that issue is resolved.

    I haven’t seen anything like that for registration page.
    For registration page, none of our plugins(except Conditional Profile field) can cause that.

    Are you using any plugin that affects the registration page? Which theme and template pack are you using?

    Please let me know and I will assist.

    Regards
    Brajesh

  • Keymaster
    (BuddyDev Team)
    Posts: 25206
    Brajesh Singh on in reply to: [Resolved] how to exclude admin from GA analytics #48094

    Hi,
    Thank you for the kind words.
    I appreciate you supporting us by using and purchasing our plugins.

    Regards
    Brajesh

  • Keymaster
    (BuddyDev Team)
    Posts: 25206
    Brajesh Singh on in reply to: BuddyPress Clear Notifications #48093

    Hi Carsten,
    Please install WP Crontol plugin and check if the cron jobs are working for the auto clear plugin. That seems to be the issue.

    Regards
    Brajesh

  • Keymaster
    (BuddyDev Team)
    Posts: 25206
    Brajesh Singh on in reply to: Problem with Plugin BP Non Editable Profile Fields #48092

    Hi Planetar,
    Welcome to BuddyDev.

    1. Yes, this plugin has been tested with 11.0

    Please open a new topic and share the details about the theme you are using it with and we will assit.

    Regards
    Brajesh

  • Keymaster
    (BuddyDev Team)
    Posts: 25206
    Brajesh Singh on in reply to: Follow suggestion plugin customization #48091

    Hi Daniel,
    Which plugin are you using for the Follow suggestions?

    BuddyPress does not store any flag in database about a user uploading an avatar or not? So, there is no way to query that(unless you are using one of our plugins like profile completion).

    It is still possible to skip the user without avatar(BuddyPress allows checking file system for the presence of avatar) but that means the number of user’s suggested will vary.

    Regards
    Brajesh

  • Keymaster
    (BuddyDev Team)
    Posts: 25206
    Brajesh Singh on in reply to: [Resolved] how to exclude admin from GA analytics #48081

    Hi,
    You are using code where the quotations are encoded.

    Let me clean your code and put here in the proper tags.

    Please copy it from the forums here and not from your email.

    
    <?php if ( ! current_user_can( 'manage_options' ) ) : ?>
    	<!– Global site tag (gtag.js) – Google Analytics –>
    	<script async src="https://www.googletagmanager.com/gtag/js?id=G-XXXXXXXXXX"></script>
    	<script>
            window.dataLayer = window.dataLayer || [];
            function gtag() {
                dataLayer.push(arguments);
            }
            gtag('js', new Date());
            gtag('config', 'G-XXXXXXXXXX');
    	</script>
    <?php endif; ?>
    
    

    Let me know if it works or not?
    Regards

  • Keymaster
    (BuddyDev Team)
    Posts: 25206
    Brajesh Singh on in reply to: [Resolved] BuddyPress Profile Visibility Manager #48080

    Hi Iain,
    Welcome to BuddyDev support forums.

    The Profile Visibility plugin has 2 levels of privacy. Profile for whole user profile and privacy for some of the tabs.

    If you are accessing a tab, Profile Visibility applies 2 levels of check:-
    1. Check for the current profile privacy
    2. Check for the current tab(if applicable)

    Is there any chance that the tab setting is forcing that?

    Please re-recheck the settings one more time and let me know.

    Regards
    Brajesh