-
Author
-
March 8, 2017 at 11:09 #155042eric75Participant
dear team,
i am hosting a buddypress multisite with kleo theme (all in latest versions) on WP Engine and noticed that some plugins like
Buddyboss Media, rtMedia for WordPress, BuddyPress and bbPress and rtMedia Activity URL Preview (maybe more)
generate double posts in Buddypress Groups Activity when for example an image is posted or a content snippet.
it seems that the WP Engine related code for Kleo is the reason for these double postings, removing the code from functions.php, posts in activity stream are correct.
this is repeatable, i also was in contact with buddyboss support to crosscheck the issue.
can you please help on that, it´s a major issue on my site if users want to post content in groups an everything gets posted multiple times..
br, Eric
March 8, 2017 at 21:34 #155128LauraModeratorHello, will assign the ticket to a higher support level who can help and advise you in your query.
Thanks! ?Hi there!!! Help others from the community and mark any reply as solution if it solved your question. Mark as a solutionLaura Solanes - Graphic Designer and Web Designer
Please be patient as I try to answer each topic as fast as i can.
If you like the theme or the support you've received please consider leaving us a review on Themeforest!
Always happy to help you 🙂
March 9, 2017 at 16:39 #155215RaduModeratorHi,
Please show me the wpengine specific code please ?
It should be like this
COPY CODEadd_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/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 if you delete the code form functions you are able to post and comment to buddypress activity etc?
Anyway the compat code it’s between buddypress and wp engine not between kleo and wp engine you can ask the wpengine support about that
Let me know
Hi there!!! Help others from the community and mark any reply as solution if it solved your question. Mark as a solutionMarch 9, 2017 at 16:54 #155217eric75ParticipantHi Radu,
yes, that´s the code i have in my functions.php, as described on one of your support sites.
if i remove the code, the described plugins work fine, no double and triple postings, don´t know if there is any other impact…
i did not find the code on wp engine site, do you know where it comes from, maybe it´s an old requirement?
i´ll try to reach wp engine support to verify.
br, Eric
March 9, 2017 at 17:16 #155220eric75Participanti checked with wp engine support, they don´t know where this requirement comes from..
strange..March 9, 2017 at 18:32 #155231RaduModeratorI think it’s an old requirement
Just remove the code if without it works as it should
Cheers
R.Hi there!!! Help others from the community and mark any reply as solution if it solved your question. Mark as a solutionMarch 9, 2017 at 18:41 #155238RaduModeratorOk let me know
Hi there!!! Help others from the community and mark any reply as solution if it solved your question. Mark as a solution -
AuthorPosts
The forum ‘Bugs & Issues’ is closed to new topics and replies.