Replies
- Brajesh Singh on May 14, 2020 at 1:03 am in reply to: Buddyblog fork questions : custom post type #29815
Hi Bruno,
Thank you for checking . It is coming out in next 4-5 working days. We have been getting into shape and things are almost ready.I will be posting back after the update.
Regards
Brajesh - Brajesh Singh on May 14, 2020 at 1:02 am in reply to: [Resolved] Code snippet which link both the avatar and the user name to the conversation #29814
Hi Carsten,
I am sorry, I have no idea about the source of your custom code.Regards
Brajesh - Brajesh Singh on May 14, 2020 at 1:01 am in reply to: [Resolved] Code snippet which link both the avatar and the user name to the conversation #29812
Closing in favour of
https://buddydev.com/support/forums/topic/code-snippet-which-link-both-the-avatar-and-the-user-name-to-the-conversation-2/Regards
Brajesh - Brajesh Singh on May 14, 2020 at 12:50 am in reply to: Private Message Rate Limiter – Rate Limit User Activity #29811This reply has been marked as private.
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