Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- I have revisited a previous topic — see history below.
- WP 4.01, Buddypress 2.1.1, <strong>Theme: Twenty Fourteen</strong>. Host: wpengine
- nothing else - no other plugins active.
- At http://dogdrill.com/activity/
- user:seven password:8hYnKH11Sb91
- Activity post updating refreshes the page.
- This does NOT happen on other servers or on local installs where the post update just glides down.
- I can say it happens with twentyfourteen and with SOME (not all) other themes on this and only this server/host
- Support staff at server/host insist it is a buddypress problem
- Below is a short history
- <strong>History</strong>
- About four months ago this topic
- <a href="https://buddypress.org/support/topic/buddypress-js-not-loading/">buddypress.js not loading</a>
- was apparently dealt with when ticket https://buddypress.trac.wordpress.org/ticket/5888 was dealt-with/fixed.
- The fix was included in Buddypress v.2.1.1 see https://buddypress.trac.wordpress.org/query?status=closed&group=resolution&milestone=2.1.1
- Then two months ago I posted this topic
- <a href="https://buddypress.org/support/topic/buddypress-error-problem-on-one-serverhost-only/ ">Buddypress Error / Problem on one server/host only</a>
- (Unfortunately i had not seen the first topic)
- The server/host support staff are adamant that this is a buddypress problem.
- The kleo theme forum/support/contributors have provided a temporary fix for their theme which works.
- `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"));
- }
- }`
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement