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: 25295
    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: 25295
    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

  • Keymaster
    (BuddyDev Team)
    Posts: 25295
    Brajesh Singh on in reply to: [Resolved] Buddy Blog Pro: GROUP Version?? #48079
    This reply has been marked as private.
  • Keymaster
    (BuddyDev Team)
    Posts: 25295

    Thank you Dianne
    Yes, you are right about the connections. There are some extra things happening behind the scenes and might be causing it.

    Regards
    Brajesh

  • Keymaster
    (BuddyDev Team)
    Posts: 25295

    Hi Luke,
    Thank you for confirming.

    I hope that you find the issue(my assumption is device specific visibility set on elementor section).

    Regards
    Brajesh

  • Keymaster
    (BuddyDev Team)
    Posts: 25295

    Hi Dianne,
    I am sorry for the issue.
    It seems It is related to BuddyBoss as well.

    Have you tried creating an elementor section and putting that section in the sidebar of profile to test it out if it works on profile page?

    Our plugin is not aware of what kind of content is added via it. all it does is call do_shortcode on the content and rest is handled by WordPress/the plugin providing the shortcode.

    If some shortcode is not rendering correctly, that means they have some conflict/issue.

    Please try my suggestion and let me know what you found.

    Thank you
    Brajesh

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

    Hi,
    1. We have a smaller traffic here and we do not do any seo/marketing. So, stats have very limited significant for us.

    We started using Google Analyticator around 2010 and still using it. I found that the plugin has changed hands now and is owned by a different company.
    https://wordpress.org/plugins/google-analyticator/

    The plugins will not have much resource issue on your site as the stats etc viewing is limited to admin and accessible to limited number of users. On front end, most of these plugin will do exactly what you achieve with the above code.

    Regards
    Brajesh

  • Keymaster
    (BuddyDev Team)
    Posts: 25295
    This reply has been marked as private.
  • Keymaster
    (BuddyDev Team)
    Posts: 25295

    Hi Luke,
    The plugin is working on your site.
    For some reason, the elementor slot has desktop-hidden applied. It seems, you might have made it only visible on mobile.

    Please check the elementor block and its settings and make sure it is visible on desktop.
    You can verify the current content being visible on mobile.

    Please do let me know if you need further help.

    Regards
    Brajesh

  • Keymaster
    (BuddyDev Team)
    Posts: 25295
    This reply has been marked as private.