Replies
- Brajesh Singh on October 16, 2018 at 9:23 pm in reply to: [Resolved] Buddypress Database Logic #18121
Hi Kerem,
Thank you for asking.The queries are paginated. In other words, only a subset of items are fetched in a query. When you click on load more, another subset is fetched with the previous items ofsetted.
Limiting the query to a subset keeps it fast(most of the time you don’t need to worry about it). If you encounter issues, you can use mysql log to detect slow queries and troubleshoot.
Regards
Brajesh - Brajesh Singh on October 16, 2018 at 6:38 pm in reply to: no link on buddyPress notifications widget title #18118
HI Richard,
Thank you.I will add it as an option in the widget settings. About shortcode, I will consider it. We may not need it once wp 5.0 comes as you can embed widgets anywhere.
Regards
Brajsh Hi Sumit,
Thank you for confirming.
I am sorry but I don’t use PeepSo so I am unable to make any suggestion.
Regards
BrajeshHi CDS,
I am sorry about this.Are you using a custom theme? Is your theme overriding the default avatar in any way?
Regards
Brajesh- Brajesh Singh on October 16, 2018 at 6:31 pm in reply to: Code Snippet 'Add Xprofile fields to the member code' #18115
Hi Carsten,
You are welcome.1. You can use the above code anywhere you were able to use the previous snippet.
2. You an find the members loop in your-child-theme(or theme)/buddypress/members/members-loop.php if it is not there, you can copy it from wp-content/plugins/buddypress/bp-templates/(bp-legacy or bp-nouveau depending on the active template pack)/buddypress/members/ directory.If it is not in your theme and you plan to modify it, copy it to yourtheme/buddypress/members/members-loop.php
Regards
Brajesh You are welcome. Did it work for you?
Regards
BrajeshHi Sumit,
You can comment this line//add_filter('pre_get_posts','wpb_search_filter');and your bbPress search will work fine. Also, there is no need to worry about this change. It won’t break anything.
Thank you.
That makes sense. I will add the support in next update.Best regards
BrajeshHi Diane,
That is the right way to do it.How many emails have you entered? If there are too many, I will suggest using adding domain instead for better performance.
If the above is not working, is there any chance that the number of entries are greater than 1000 ?
Regards
BrajeshHi Diane,
Thank you.I have tested it now and it is working as expected.
It seems the confusion is based on what it does:- Here is what it does.
It restricts registration from all address(extension, domain or email) except what you add in the settings.
For example, if you add “gmail.com” in the settings, it will allow registration from gmail.com but restrict from all other address. For example, [email protected] won’t be able to register.
Can you please check that?
PS:- You can use either the complete email to allow or the email domain name or extension(one entry per line).
Regards
Brajesh