Forum Replies Created

Viewing 40 posts - 1 through 40 (of 59 total)
  • Author
  • in reply to: Aligning Date drop down Profile Fields Horizontally #211235
     valuser
    Participant

    Kieran,

    Thank you so so much for the super prompt reply.

    Its perfect.

    I was expecting a reply on Monday!!!!

    Many thanks.

    Val

    in reply to: Kleo and WP/BP-Idea-Stream #153861
     valuser
    Participant

    ok got this done

    solution

    add

    <?php get_template_part( 'page-parts/posts-social-share' ); ?>

    to line (say) 45 (or just after line 43) of

    bp-idea-stream/templates/idea-group.php

    in reply to: Kleo and WP/BP-Idea-Stream #153860
     valuser
    Participant

    update: item 2 of this query is not valid! – the simple solution is to enable comments on pages.

    So this query is now just Item 1 –extending the share links to BuddyPress ideas.

    please note Ideas have been checked in the Social Share—>Social share post types

    Have tried adding “idea”, “ideas” to line 10 of post-social-share.php but no dice.

    Hopefully you might be able to suggest a solution.

    Thanks.

    in reply to: Buddy Press Group Types #139362
     valuser
    Participant

    Many thanks – really looking forward to that.

    in reply to: Buddy Press Group Types #139269
     valuser
    Participant

    Thank you.

    I will add this to improvement list and in future we will implement this

    Any provisional timeframe?

    or Even if you could please now point to the files that need changing ?

    In the meantime is it reasonable comment to say that your theme is not entirely compatible with recent updates of BuddyPress e.g 2.6. ??

    Many thanks.

    in reply to: Buddy Press Group Types #139074
     valuser
    Participant

    perhaps this is relevant

    https://bpdevel.wordpress.com/2016/10/11/changes-to-template-files-for-buddypress-2-7/

    also changes for 2.6 may be relevant

    in reply to: Buddy Press Group Types #139065
     valuser
    Participant

    see

    https://codex.buddypress.org/developer/group-types/

    was actually first introduced in 2.6

    in reply to: Buddy Press Group Types #139063
     valuser
    Participant

    hi there is only one plugin active on a local test site.

    Buddypress 2.7 release candidate 1

    it incorporates BuddyPress Group Types

    https://downloads.wordpress.org/plugin/buddypress.2.7.0-rc1.zip

    in reply to: Buddy Press Group Types #139050
     valuser
    Participant

    [attachment file=139051]

    Attachments:
    You must be logged in to view attached files.
    in reply to: Buddy Press Group Types #139047
     valuser
    Participant

    Thanks for pushing this up to devs.

    Now updated to kleo v. 4.1.5

    BuddyPress Group Types Codex Page is now updated.

    So i have in kleo (v.4.1.5) functions.php the following functions

    COPY CODE
    function my_bp_custom_group_types() {
        bp_groups_register_group_type( 'team', array(
            'labels' => array(
                'name' => 'Teams',
                'singular_name' => 'Team'
            ),
            // New for 2.7 - Change 'teams' to whatever slug you want your group type directory to have.
            'has_directory' => 'teams',
            'show_in_create_screen' => true,
            'show_in_list' => true,
            'description' => 'Teams are good',
            'create_screen_checked' => true
        ) );
    }
    add_action( 'bp_groups_register_group_types', 'my_bp_custom_group_types' );

    no response from theme to insert group types

    whereas in twenty sixteen see the following attachments.

    I think perhaps that the buddypress group component in your theme needs updating

    please keep me posted

    Attachments:
    You must be logged in to view attached files.
    in reply to: Child theme and function-core.php file #112485
     valuser
    Participant

    bril. many thanks for another super quick response.

    in reply to: Login – Redirect #61449
     valuser
    Participant

    Resolved!

    Can’t thank you enough for taking the time to have a look at the code.

    Change it to $redirect_to and remove the exit.

    Was all that was needed.

    Just a copy and paster myself so huge huge thank you.

    Great support over and above what could reasonably be expected!

    in reply to: Login – Redirect #61390
     valuser
    Participant

    Bril. Thanks for your reply.

    Any news on the estimated arrival date of v.3.0 ??

    in reply to: Problem with Buddypress 2.2 – Creat a Group link #44824
     valuser
    Participant

    Cheers

    in reply to: Problem with Buddypress 2.2 – Creat a Group link #44820
     valuser
    Participant

    Thanks – Last code works – will report if anything out of order.

    Only updated an online TEST site in order to demonstrate and to report the glitch –

    Every update is first played around with here on local installs.

    in reply to: Problem with Buddypress 2.2 – Creat a Group link #44762
     valuser
    Participant
    This reply has been set as private.
    in reply to: BuddyPress Like v.0.1.9 #42574
     valuser
    Participant

    done & thanks!
    fyi – am not a coder but excellent at following instructions, copy and pasting, & trying things out etc.

    in reply to: BuddyPress Like v.0.1.9 #42568
     valuser
    Participant

    Many thanks.

    in reply to: BuddyPress Like v.0.1.9 #42170
     valuser
    Participant

    Many thanks.

    Support at Kleo is beyond the call of duty!

    Thanks

     valuser
    Participant

    ok the solution is at

    https://archived.seventhqueen.com/forums/topic/attachment-and-post-buttons-for-whats-new-posts-on-groups-were-hidden

    add this to your functions.php

    COPY CODE
    add_action( 'wp_enqueue_scripts', 'load_buddypress_js' );
    function load_buddypress_js () {
    if (bp_is_group() || is_page( 'activity' )) {
    wp_enqueue_script('buddypress_query',plugins_url() . '/buddypress/bp-core/js/jquery-query.min.js',array("jquery"));
    wp_enqueue_script('buddypress_members',plugins_url() . '/buddypress/bp-core/js/widget-members.min.js',array("jquery"));
    wp_enqueue_script('buddypress_cookie',plugins_url() . '/buddypress/bp-core/js/jquery-cookie.min.js',array("jquery"));
    wp_enqueue_script('buddypress_scroll',plugins_url() . '/buddypress/bp-core/deprecated/js/jquery-scroll-to.min.js',array("jquery"));
    wp_enqueue_script('buddypress_js',get_template_directory_uri() . '/buddypress/js/buddypress.min.js',array("jquery"));
    }
    }
     valuser
    Participant

    ok the solution is at

    https://archived.seventhqueen.com/forums/topic/attachment-and-post-buttons-for-whats-new-posts-on-groups-were-hidden

    add this to your functions.php

    add_action( 'wp_enqueue_scripts', 'load_buddypress_js' );
    function load_buddypress_js () {
    if (bp_is_group() || is_page( 'activity' )) {
    wp_enqueue_script('buddypress_query',plugins_url() . '/buddypress/bp-core/js/jquery-query.min.js',array("jquery"));
    wp_enqueue_script('buddypress_members',plugins_url() . '/buddypress/bp-core/js/widget-members.min.js',array("jquery"));
    wp_enqueue_script('buddypress_cookie',plugins_url() . '/buddypress/bp-core/js/jquery-cookie.min.js',array("jquery"));
    wp_enqueue_script('buddypress_scroll',plugins_url() . '/buddypress/bp-core/depreciated/js/jquery-scroll-to.min.js',array("jquery"));
    wp_enqueue_script('buddypress_js',get_template_directory_uri() . '/buddypress/js/buddypress.min.js',array("jquery"));
    }
    }

    BUT BUT BUT BUT

    PLease be sure to replace “depreciated” with “deprecated” !!!!!!!!!

     valuser
    Participant

    i have changed “depreciated” to “deprecated”

     valuser
    Participant

    because your site is throwing a 404 error on /wp-content/plugins/buddypress/bp-core/deprecated/js/jquery-scroll-to.min.js

    That should fix everything.

    ? how?

     valuser
    Participant

    no problem. i’ll leave it with you. thanks

     valuser
    Participant
    This reply has been set as private.
     valuser
    Participant

    I now have examined two (almost) identical sites on different servers.

    The differences (in regard to javascripts) are as follows:

    The five scripts put into functions.php – as per your advice – are coming in to the “bad” server (wpengine) like this: (with the wp version 4.1 not the bp version 2.1.1 as in the “good” server (bluehost).)

    COPY CODE
    <script type='text/javascript' src='http://dogdrill.com/wp-content/plugins/buddypress/bp-core/js/jquery-query.min.js?ver=4.1'></script>
    <script type='text/javascript' src='http://dogdrill.com/wp-content/plugins/buddypress/bp-core/js/widget-members.min.js?ver=4.1'></script>
    <script type='text/javascript' src='http://dogdrill.com/wp-content/plugins/buddypress/bp-core/js/jquery-cookie.min.js?ver=4.1'></script>
    <script type='text/javascript' src='http://dogdrill.com/wp-content/plugins/buddypress/bp-core/depreciated/js/jquery-scroll-to.min.js?ver=4.1'></script>
    <script type='text/javascript' src='http://dogdrill.com/wp-content/themes/kleo/buddypress/js/buddypress.min.js?ver=4.1'></script>

    AND

    only on the good server this (the “heartbeat” file) comes in:

    COPY CODE
    <script type='text/javascript'>
    /* <![CDATA[ */
    var heartbeatSettings = {"ajaxurl":"\/wp-admin\/admin-ajax.php","nonce":"3ca3c1a148"};
    /* ]]> */
    </script>
    <script type='text/javascript' src='http://www.rvews.com/wp-includes/js/heartbeat.min.js?ver=4.1'></script>
    <script type='text/javascript'>
    /* <![CDATA[ */
    var BP_DTheme = {"accepted":"Accepted","close":"Close","comments":"comments","leave_group_confirm":"Are you sure you want to leave this group?","mark_as_fav":" ","my_favs":"My Favorites","rejected":"Rejected","remove_fav":" ","show_all":"Show all","show_all_comments":"Show all comments for this thread","show_x_comments":"Show all %d comments","unsaved_changes":"Your profile has unsaved changes. If you leave the page, the changes will be lost.","view":"View","newest":"Load Newest","pulse":"15"};
    /* ]]> */
    </script>

    this is not to be seen on the “bad” server.

    Any help at all very much appreciated

     valuser
    Participant

    put the above into header.php – no improvement

     valuser
    Participant

    ok so far – just a more complete rendition of what is missing in the “bad” server compared to a similar setup on a “good” server.
    immediately following the heartbeat line is also missing —–
    <script type=”text/javascript”>var BP_DTheme{}</script>

    COPY CODE
    <script type="text/javascript">
    /* <![CDATA[ */
    var heartbeatSettings = {"ajaxurl":"\/wp-admin\/admin-ajax.php","nonce":"1d1a7d444d"};
    /* ]]> */
    </script>
    <script type="text/javascript" src="http://mydomain.com/wp-includes/js/heartbeat.min.js?ver=4.1"></script>
    <script type="text/javascript">
    /* <![CDATA[ */
    var BP_DTheme = {"accepted":"Accepted","close":"Close","comments":"comments","leave_group_confirm":"Are you sure you want to leave this group?","mark_as_fav":" ","my_favs":"My Favorites","rejected":"Rejected","remove_fav":" ","show_all":"Show all","show_all_comments":"Show all comments for this thread","show_x_comments":"Show all %d comments","unsaved_changes":"Your profile has unsaved changes. If you leave the page, the changes will be lost.","view":"View","newest":"Load Newest","pulse":"15"};
    /* ]]> */
    </script>

    Whe i googled var BP_DTheme the first result is a three year old thread https://buddypress.org/support/topic/comments-are-not-working/ which must mean i’m getting closer!!

    Please understand I just haven’t any great clue about this stuff but would greatly appreciate any help that you van give

     valuser
    Participant

    added
    wp_enqueue_script( 'heartbeat_js', get_template_directory_uri() . '/wp-includes/js/heartbeat.min.js', array(), '4.1', true );
    to your function but it did not have the desired effect.

    then added
    <script type="text/javascript" src="<?php bloginfo('template_url'); ?>/wp-includes/js/heartbeat.min.js?ver=4.1"></script>
    to header.php but but it also did not have the desired effect.

    If i haven’t done this properly please let me know.

    (btw the undeclared crippling of a core file by a wordpress host is an issue in itself!!!!!!)

    so i presume i will now have to do a very detailed comparison of the source files of two sites on different hosts

     valuser
    Participant

    no problem.

    Now, if possible bear with me on this.

    First cursory comparison: the file at mydomain/wp-includes/js/heartbeat.min.js?ver=4.1 is not being loaded to the unresponsive site while it is being loaded to the “good” site on the “good” server.

    the missing bit (thats not on the “bad” server) is

    COPY CODE
    <script type="text/javascript">
    /* <![CDATA[ */
    var heartbeatSettings = {"ajaxurl":"\/wp-admin\/admin-ajax.php","nonce":"ef57d07069"};
    /* ]]> */
    </script>
    <script type="text/javascript" src="http://mydomain.com/wp-includes/js/heartbeat.min.js?ver=4.1"></script>

    Could that possibly be relevant ??

    /**
    * Heartbeat API
    *
    * Heartbeat is a simple server polling API that sends XHR requests to
    * the server every 15 – 60 seconds and triggers events (or callbacks) upon
    * receiving data. Currently these ‘ticks’ handle transports for post locking,
    * login-expiration warnings, autosave, and related tasks while a user is logged in.

    If not I will do a detailed comparision, hopefully, tomorrow.

     valuser
    Participant

    Fully aware that this is not a theme issue – as (as stated) all is OK on other servers and on localhost xampp.
    So, I’m not in any way suggesting that seventhqueen is “responsible”.
    Frankly wpengine’s support is not what it should be.
    They have suggested it is “buddypress” related which is nonsense given that i can use this setup on very very cheap shared hosting.
    Perhaps, like some hosts, they would really like buddypress users to go elsewhere!!
    Wil try to examine it as you have suggested. and will come back

     valuser
    Participant

    The fix you kindly provided allows the top activity “What’s new?, Joe” box to function properly

    But comments can’t be made.

    Both “Allow comments” & “Allow trackbacks and pingbacks on this page.” are checked.

    Unchecking them makes no difference.

    Again, all this is only on one server.

     valuser
    Participant

    I now think my last post was a false alarm.

    Now using uptodate kleo and wp and it WAS necessary to use your fix as per your post above.

    just to let you know.

    Again only on wpengine

    in reply to: Hardcoding the Primary Menu #39727
     valuser
    Participant

    Done! Was pretty obvious, (just replaced “echo #primary-menu” bit with the relevant part of pastebin) though at the time I froze.

    in reply to: Kleo 2.3 update problem – only in Safari ??? #39384
     valuser
    Participant

    Point taken. and my issue is NOT a big deal. this only happens in Safari.

    However

    In multisite installations it is sometimes the case that

    the Network root site has just the logo in the header

    and subsites have the logo Plus the subsite title.

    eg network home Chanel – logo only
    subsites Chanel Perfumes logo + title
    Chanel Eau de— logo + title

    temporary fix appears to be to specify the width via a function with php browser detect plugin/wp-mobile-detect (in use anyway)

    COPY CODE
    function add_safari_fix_header() {
    global $current_user, $wpdb;
    if (function_exists('wpmd_is_phone') && !wpmd_is_phone() && is_safari() ) { ?>
    <style type="text/css">
    .logo {width: 400px !important;}
    </style>
     <?php
    }//end if
    }
    add_action('wp_head', 'add_add_safari_fix_header');
     valuser
    Participant

    I just was examining something with twenty fourteen and took the enque code out and purge caches and it worked. so did same with kleo child.

    wpengine didn’t notify .

    Anyway if its a false alarm i will post it here

     valuser
    Participant

    wpengine appear to have fixed this issue

    in reply to: Kleo 2.3 update problem – only in Safari ??? #38963
     valuser
    Participant
    This reply has been set as private.
    in reply to: Kleo 2.3 update problem – only in Safari ??? #38566
     valuser
    Participant
    This reply has been set as private.
    in reply to: Tiny typo and query re menu (buddypress items) #38467
     valuser
    Participant

    Great and thanks for note on plugin

Viewing 40 posts - 1 through 40 (of 59 total)

Log in with your credentials

Forgot your details?