Advertisement
valuser

Buddypress Forum Topic

Dec 9th, 2014
323
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 2.21 KB | None | 0 0
  1. I have revisited a previous topic — see history below.
  2.  
  3. WP 4.01, Buddypress 2.1.1, <strong>Theme: Twenty Fourteen</strong>. Host: wpengine
  4.  
  5. nothing else - no other plugins active.
  6.  
  7. At http://dogdrill.com/activity/
  8.  
  9. user:seven password:8hYnKH11Sb91
  10.  
  11. Activity post updating refreshes the page.
  12.  
  13. This does NOT happen on other servers or on local installs where the post update just glides down.
  14.  
  15. I can say it happens with twentyfourteen and with SOME (not all) other themes on this and only this server/host
  16.  
  17. Support staff at server/host insist it is a buddypress problem
  18.  
  19. Below is a short history
  20.  
  21.  
  22.  
  23. <strong>History</strong>
  24.  
  25.  
  26. About four months ago this topic
  27.  
  28. <a href="https://buddypress.org/support/topic/buddypress-js-not-loading/">buddypress.js not loading</a>
  29.  
  30. was apparently dealt with when ticket https://buddypress.trac.wordpress.org/ticket/5888 was dealt-with/fixed.
  31.  
  32. 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
  33.  
  34.  
  35. Then two months ago I posted this topic
  36.  
  37. <a href="https://buddypress.org/support/topic/buddypress-error-problem-on-one-serverhost-only/ ">Buddypress Error / Problem on one server/host only</a>
  38.  
  39. (Unfortunately i had not seen the first topic)
  40.  
  41. The server/host support staff are adamant that this is a buddypress problem.
  42.  
  43. The kleo theme forum/support/contributors have provided a temporary fix for their theme which works.
  44.  
  45. `add_action( 'wp_enqueue_scripts', 'load_buddypress_js' );
  46. function load_buddypress_js () {
  47. if (bp_is_group() || is_page( 'activity' )) {
  48. wp_enqueue_script('buddypress_query',plugins_url() . '/buddypress/bp-core/js/jquery-query.min.js',array("jquery"));
  49. wp_enqueue_script('buddypress_members',plugins_url() . '/buddypress/bp-core/js/widget-members.min.js',array("jquery"));
  50. wp_enqueue_script('buddypress_cookie',plugins_url() . '/buddypress/bp-core/js/jquery-cookie.min.js',array("jquery"));
  51. wp_enqueue_script('buddypress_scroll',plugins_url() . '/buddypress/bp-core/depreciated/js/jquery-scroll-to.min.js',array("jquery"));
  52. wp_enqueue_script('buddypress_js',get_template_directory_uri() . '/buddypress/js/buddypress.min.js',array("jquery"));
  53. }
  54. }`
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement