Replies
Hi Arnobio,
Just updating. I do not think I will be able to do it today now. Will be releasing tomorrow.Regards
Brajesh- Brajesh Singh on May 13, 2020 at 4:32 pm in reply to: [Resolved] Community Builder Pro with Media Press and Activity Plus Reloaded – Improvement #29791
Hi Linda,
Thank you.I have received them.
It seems to me that sizer are related to configuration.I will reply tomorrow with more details and solution.
Regards
Brajesh Hi Carsten,
You can override templates but not the core files of a plugin.For BuddyPress, things inside the bp-templates are part of template and can be overridden(with the template pack acting as root).
For your case, the dropdown is in messages-loop.php
<div class="messages-options-nav"> <?php bp_messages_bulk_management_dropdown(); ?> </div><!-- .messages-options-nav -->Regards
Brajesh- This reply has been marked as private.
- 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
Brajesh