Replies
- calu on March 5, 2020 at 9:07 pm in reply to: The 'Active' text in the span.activity has gone. #28084This reply has been marked as private.
- calu on March 2, 2020 at 2:09 pm in reply to: Why does bp members directory reload every time – revisited #27980
Hi Brajesh, just to clarify, where is the right place for adding the
pagination no-ajax
, as there are two members-loop.php files, one in
‘
bp-templates>bp-legacy>buddypress>members>members-loop.phpand one in
bp-themes>bp-default>members>members-loop.php.
I have so far added the
pagination no-ajax
to the members-loop.php file in bp-templates, but should I create a copy of the bp-themes as well to make it work?
Thanks in advance
Carsten - calu on March 2, 2020 at 1:29 pm in reply to: Why does bp members directory reload every time – revisited #27979
Hi Brajesh, thanks, I’m still running Legacy, I know the code does not work with Nouveau.
Strangely that the code is not working anymore, I have to check the path again, as the code has been deleted and the written in again
Regards
Carsten - calu on March 1, 2020 at 7:39 am in reply to: Why does bp members directory reload every time – revisited #27975
Hi Brajesh, I’m aware that this is a normal behaviour for web pages using ajax.
But the hole purpose of adding the class=”pagination no-ajax”, was not to use ajax?
So it is not possible to turn off ajax anyway on webpages or how should I understand this?
Regards
Carsten - calu on February 29, 2020 at 11:09 am in reply to: Why does bp members directory reload every time – revisited #27962
Update – It looks like the members directory updating is also taking place when using the back button, the timing is just different, meaning that the directory has updated on page opening, different behavior when swiping back.
- calu on February 29, 2020 at 10:30 am in reply to: Why does bp members directory reload every time – revisited #27961
Hi, I noticed that the no ajax reload is working if I return to the directory, by using a back button.
If I swipe back on the phone screen, the directory reloads.
Any solution to this would be much appreciated as the reload time is a nuisance for users.
Regards
Carsten - calu on February 26, 2020 at 10:16 pm in reply to: 'Different default avatar code' does not work with a cloud based server #27917
On the other hand, I think it’s maybe a good idea to keep the avatar images on my WP server, so it is not relevant.
Regards
Carsten - calu on February 26, 2020 at 6:34 pm in reply to: 'Different default avatar code' does not work with a cloud based server #27916
Hi Brajesh, the code is described in your blog:
Regards
Carsten Hi Brajesh, problem solved,
after uploading my media gallery to AWS, the url’s in the code for using different default avatar based on BuddyPress profile field was of course not valid anymoreRegards
Carsten- calu on February 13, 2020 at 10:51 pm in reply to: [Resolved] Hhow to connect MediaPress to a cloud server #27695
Problem solved, this snippet, which I had forgotten all about, was causing it.
Thanks for your help with solving this issue
/** * Filter WordPress attachment args to remove MediaPress Media from the list. * * @param array $args args. * * @return array */ function mpp_custom_filter_attachment_args( $args ) { $args['meta_key'] = '_mpp_is_mpp_media'; $args['meta_compare'] = 'NOT EXISTS'; return $args; } add_filter( 'ajax_query_attachments_args', 'mpp_custom_filter_attachment_args' );