Replies
Hi Nabeel,
I am sorry but we won’t be able to include the fix in the plugin. Since it only happens on members directory, We can think of as a regression.I will explain why.
The problem:- We use bp_has_members() the same loop that BuddyPress uses on member directory. BuddyPress does not have a proper way to pass the pagination arguments. It uses the “page_arg” variable to keep the name of the pagination query string variable name. That is a super bad choice as it limits the customization.
If we change the ‘page_arg’ in our loop, We will be able to work with BuddyPress’s loop but that will break pagination for us on our shortcode pages.
In your case, Please open bp-featured-members/templates/members-loop-list and members-loop-slider
You will see a line like this
<?php if ( bp_has_members( bp_ajax_querystring( 'members' ) . '&scope=featured') ) : ?>Please change it to
<?php if ( bp_has_members( bp_ajax_querystring( 'members' ) . '&scope=featured&page_arg=somethingrandom') ) : ?>That should fix it.
Regards
BrajeshHi Farhad,
Please allow me to test it later today and post back to you.Thank you
Brajesh- Brajesh Singh on June 27, 2018 at 3:32 pm in reply to: Mentions in Buddypress Activity Shortcode #15976
Hi Lars,
Thank you for asking.Please see this
https://buddydev.com/enabling-buddypress-mention-auto-suggestions-on-any-page/You will need to manually enable the js on certain pages to make it work.
Regards
Brajesh Hi Farhad,
I checked it.Most probably your theme does not include a global template notice action.
Please open ‘buddypress-user-contact-form/templates/buddypress/members/single/bpucf-form.php’ and put this line after the php tag
do_action( 'template_notices' );That will show the notices.
Regards
Brajesh
That will do it.- This reply was modified 8 years, 4 months ago by
Brajesh Singh. Reason: should be bp_ not bbp_
- This reply was modified 8 years, 4 months ago by
Hi Farhad,
Thank you for letting me know. Please allow me to check and get back to you.Regards
Brajesh- Brajesh Singh on June 27, 2018 at 10:45 am in reply to: [Resolved] Is there any way to speed up posting a comment? #15970
Hi Audiomonk,
Most probably the request is taking time to complete. I will suggest investigating the request in the chrome developers toolbar.If the server response shows too much delay, please install a plugin like query monitor and try to see if you see anything abnormal.
Enabling caching, specially persistent object cache using reds can improve the performance in some of the cases.
- Brajesh Singh on June 27, 2018 at 10:44 am in reply to: [Resolved] .Mov Format Video not playing #15969This reply has been marked as private.
Hi Oscar,
Thank you for the details.In order to change the size you will need to update settings for
post_max_size
upload_max_filesizeThese changes will go to your php.ini . If you are on cpanel, you can do it from php.ini settings utility.
To apply the changes(If you have made it in your main php.ini file), you will need to restart the web server(apachare or nginx or any other ).
Regards
Brajesh- Brajesh Singh on June 27, 2018 at 10:30 am in reply to: Recent Visitors For BuddyPress Profile – Showing double visits #15967This reply has been marked as private.
- Brajesh Singh on June 27, 2018 at 2:14 am in reply to: Recent Visitors For BuddyPress Profile – Showing double visits #15962
Hi Leland,
Thank you.I am not sure why but each page on your site is loaded twice.
From the request I can see that
1. Normal load when I click a link or reload
2. Reloading for imagesPlease see
https://i.imgur.com/yJ90MDs.pngThis leads to two recordings.
I am not sure what is causing it but the second request seems to be something for preloading images.