Replies
- Brajesh Singh on May 13, 2020 at 3:40 pm in reply to: [Resolved] "Laod more" and "Refresh" in buddypress activity stream #29787
Hi,
My apologies for the delayed reply. I had to install OcenWp to see if the include custom js for BuddyPress or not.Please copy the plugins/buddypress/bp-templates/bp-legacy/buddypress/js/buddypress.js to your theme/buddyoress/js/buddypress.js and look for the code which looks like this
/* Load more updates at the end of the page */ if ( target.parent().hasClass('load-more') ) { if ( bp_ajax_request ) { bp_ajax_request.abort(); } jq('#buddypress li.load-more').addClass('loading'); oldest_page = activity_oldestpage + 1; just_posted = []; jq('.activity-list li.just-posted').each( function(){ just_posted.push( jq(this).attr('id').replace( 'activity-','' ) ); }); load_more_args = { action: 'activity_get_older_updates', 'cookie': bp_get_cookies(), 'page': oldest_page, 'exclude_just_posted': just_posted.join(',') }; load_more_search = bp_get_querystring('s'); if ( load_more_search ) { load_more_args.search_terms = load_more_search; } bp_ajax_request = jq.post( ajaxurl, load_more_args, function(response) { jq('#buddypress li.load-more').removeClass('loading'); activity_oldestpage = oldest_page; jq('#buddypress ul.activity-list').append(response.contents); target.parent().hide(); }, 'json' ); return false; }It is around line 431, we need to add 1 line
MathJax.typeset();as shown below.
/* Load more updates at the end of the page */ if ( target.parent().hasClass('load-more') ) { if ( bp_ajax_request ) { bp_ajax_request.abort(); } jq('#buddypress li.load-more').addClass('loading'); oldest_page = activity_oldestpage + 1; just_posted = []; jq('.activity-list li.just-posted').each( function(){ just_posted.push( jq(this).attr('id').replace( 'activity-','' ) ); }); load_more_args = { action: 'activity_get_older_updates', 'cookie': bp_get_cookies(), 'page': oldest_page, 'exclude_just_posted': just_posted.join(',') }; load_more_search = bp_get_querystring('s'); if ( load_more_search ) { load_more_args.search_terms = load_more_search; } bp_ajax_request = jq.post( ajaxurl, load_more_args, function(response) { jq('#buddypress li.load-more').removeClass('loading'); activity_oldestpage = oldest_page; jq('#buddypress ul.activity-list').append(response.contents); target.parent().hide(); // New line added. MathJax.typeset(); }, 'json' ); return false; }You will need to rename the file to buddypress.min.js (or you can minify and name the new file as this) and BuddyPress will load it.
All we are doing is folllowing the re-initialization for MatchJAX as specified here
https://docs.mathjax.org/en/latest/web/typeset.html#resetting-automatic-equation-numberingThat should take care of it.
Regards
Brajesh - Brajesh Singh on May 13, 2020 at 3:24 pm in reply to: [Resolved] BuddyPress Multi Network. Setup issues \"No member found\" #29785
Hi Issam,
Thank you.
I can ask my team to develop a sync plugin for syncing user to multi network table.Since that will be beneficial for future, we can do that. It will need 2 extra days though.
Regards
Brajesh - Brajesh Singh on May 13, 2020 at 3:22 pm in reply to: [Resolved] One Click Mark Spammer for BuddyPress – Bulk Delete #29784
Hi Rob,
Thank you for bringing it. Yes, I see the issue with thi. I will add it in the next version of the plugin.Regards
Brajesh Hi Carsten,
No issues.
In that case, My suggestion will be to do the template override.you can copy the template from plugins/buddypress/bp-templates/bp-legacy/buddypress/members/single/messages to yourtheme/buddypress/members/single/messages and modify them as you please.
Regards
Brajesh- Brajesh Singh on May 13, 2020 at 2:36 pm in reply to: [Resolved] User Circles – Deleting user causes critical error #29780
Thank you.
Hi Carsten,
It will be nice if you can tell me what are you trying to achieve? removing the bulk action box?I can help better in that case.
regards
BrajeshHi,
Thank you for the question.Community Builder is specially tailored for Social community with specific features & customizations. For OceanWP, BuddyPress support is an after thought.
My suggestion will be to give a shot to the themes yourself and select for yourself. Also, if you are using Community Builder Pro, we have a lot more customizations.
In my personal belief, Community Builder Pro is more flexible. I am looking forward to put it on wp.org
Regards
Brajesh- Brajesh Singh on May 13, 2020 at 10:11 am in reply to: [Resolved] Auto Activate Autologin Redirect To Profile On Signup not working #29769
Hi Clea,
Thank you for confirming.I am glad you found the reason.
Thank you for sharing. It will help us troubleshot for other members in future.I will post back after adding the login redirection too.
Regards
Brajesh - Brajesh Singh on May 13, 2020 at 9:31 am in reply to: Private Message Rate Limiter – Rate Limit User Activity #29766This reply has been marked as private.
- Brajesh Singh on May 13, 2020 at 9:10 am in reply to: [Resolved] BuddyPress Multi Network. Setup issues \"No member found\" #29765
Hi Issam,
Thank you.For existing users, we don’t have a solution. It is possible to do so via a task. But, It will need someone to write a script for background processing.
Regards
Brajesh