NB: now we know the problem is not from plugins or theme, i just reactivated all pluings and Astra theme so visitor don’t see an ugly website ๐
Hope is not a problem for you?
Yes there is, it involes a minor amount of code wrangling. First of all you need to install a child-theme. You can get plugins for that if you’ve not already got one. This will create a directory on your server called wp-content/themes/your-child-theme.
In that directory create a buddypress/groups directory.
The next step is to work out which BP Theme you are using. You can find that by looking in Settings>>BuddyPress>>Options.
Once you know that, you will be able to find a file called `wp-content/plugins/buddypress/bp-templates/your-bp-theme/buddypress/groups/groups-loop.php.
Take a copy of this file and find this part:
<?php if ( bp_has_groups( bp_ajax_querystring( 'groups' ) ) ) : ?>
Change that to:
<?php if ( bp_has_groups( bp_ajax_querystring( 'groups' ) . '&order=ASC&orderby=name' ) ) : ?>
Next you put this file in the themes/child-theme/buddypress/groups directory you created earlier.
Thank you for helpling me.
I did install the plugin and try to register.
The log file still empty. No PHP errors.
I’m using Astra child theme but I activated twentysixteeen theme now to find the problem.
All plugins exept bbpress and buddypress are deactivated.
The next step is to take a look at the error log, the easy way is to install an error log viewer such as BWS Error Log Viewer. Once you have that installed try registering then look in the log for entries at the same time as the registration attempt. That should reveal any PHP errors. Which BP Theme are you using? Look in Settings>>BuddyPress>>Options, the theme setting is in there.
Hello,
I run a free non-profit website that helps thousands of parents to help each other.
When a new user tries to register the registration page is not submitted and is only refreshed. The boxes are all green except those of the password.
I put the sweetsixteen theme and uninstalled all the plugins. I also allowed define (‘WP_DEBUG_LOG’, true);
Can you please help me? I can give access rights if needed.
You can try to register here.
Thank you.
Hello,
We run a multisite with a primary parent domain (Changecreaetor.com) and our members site which is the sub-domain (changecreator.com/members).
We are using the Boss Theme with Buddy Press running the most up-to-date version of WordPress.
When a new user is created, they automatically show up on the front end. HOWEVER, when we delete a member from the “users” section on the backend of WordPress, the member still shows on the front end in the members listing on the widget or members page.
We test the deactivation of the theme and plugin (boss for learndash) but the problem still persisted.
The Boss theme support team suggested it was a Buddypress Core issue.
We have not modified core files and dont have custom Php.
We are running Buddypress 4.1.0
Our host is WPengine
Any help figuring out how we can make sure that when we delete a user from the backend that it is also removed from the front end would be very helpful.
This is important as we create test accounts and then cannot remove them.
What you could do is check if there is a thread_id for the new message, if it’s not set it’s a new message and you can remove the recipients so that sending fails.
function venutius_check_recipients( $message_info ) {
$recipients = $message_info->recipients;
$u = 0;
foreach ( $recipients as $key => $recipient ) {
// if site admin, skip check
if( $GLOBALS['bp']->loggedin_user->is_site_admin == 1 ) {
continue;
}
// make sure sender is not trying to send to themselves
if ( $recipient->user_id == bp_loggedin_user_id() ) {
unset( $message_info->recipients[$key] );
continue;
}
/*
* Check if the the message has a thread_id, if not it's new and not allowed.
*
* If we get a match, remove person from recipient list. If there are no
* recipients, BP_Messages_Message:send() will bail out of sending.
*
*/
if ( ! isset( $message_info-thread_id ) ) {
unset( $message_info->recipients[$key] );
$u++;
}
}
/*
* If there are multiple recipients and if one of the recipients is not a
* allowed, remove everyone from the recipient's list.
*
*/
if ( count( $recipients ) > 1 && $u > 0 ) {
unset( $message_info->recipients );
}
}
add_action( 'messages_message_before_save', 'venutius_check_recipients' );
You coud put this in your child themes functions.php or if you want it to apply to any theme, add it to your bp-custom.php in the plugins directory.
Hi!
Just put it in a functions.php file of your child-theme.
First time poster! Hello everyone ๐
I am using: Marketplace One Social theme, WC Vendors, Woocommerce, BP Better messages (websocket upgrade).
Is there a way to make the ability to start conversations only for admin? I am designing a freelancer type website where I only want the Admin to be able to connect buyers and sellers into a private conversation after the purchase has been made (to avoid circumvention). I want vendors and subscribers to have access to their messages, just not the ability to start a new one.
I am thinking maybe CSS to hide compose features? Could that be the easiest solution?
Thanks in advance for any ideas!
Hello to all.
i seem to do not understand how this one should work:
wp 4.9
bbpress 4.1.0
We are using Woffice Theme with buddypress.
User ist member of private group, group has forum, role ist participant. when the user searches for Topics or Replies he does not get any results. Neither with Woffice search bar on top nor with forum search. results show only topics/replies from public group forums.
Admnistrator/keymaster gets the right results, so it`s technically working. probably a rights problem.
What am i missing? Shouldn`t that work?
Thanks in advance
Franz
Hello shanebp,
Yes, i mean subject field (sorry for my poor english ^^).
I use a theme but it’s the same problem on the nineteen theme for example. The recipient from the message is deleted if you forget to put the subject field.
So you have to go back to his profile again to contact him again.
You can put it in the functions.php file of a child theme.
Yep you need to ask the theme author if they can fix it.
Okay thanks. I did the usual check for plugins, and it appears to be the theme itself. I searched for tools to intercept whatever mechanism within the theme is causing these, but came up dry. I’m not a developer, so is there a way to tackle this issue without coding? A backup plan could be that I talk to the developers of the theme and see if they can fix it…let me know what you think!
afaik, by default BP private messages do not have a Title field.
They do have a Subject field.
Are you using another plugin or a special theme that uses a Title field ?
On a standard BP install, if you forget to fill in the Subject field, the message will not be sent and an error will be displayed.
No. None of the members even my admin profile are showing. I was having an issue with only two of the eight members showing. Then while customizing the site I installed a different theme. Then they didn’t show at all. I didn’t like the theme anyway so I reverted back to the one I had before where there were two members showing but something messed up and there are now NO members showing at all.
Probably a conflict with other javascript on your site.
Did you check your browser’s console for javascript errors?
Did you try switching momentarily to a WP theme like 2017 and retesting to see if there is a conflict in your theme?
Did you try deactivating other plugins and retesting?
Hello! I am trying to edit the links to my Terms & Conditions & Privacy Policy on my sign up for Registration via WordPress/BuddyPress. I am using Customify as a theme and plugins BuddyPress & Youzer to create a social membership site.
Wordpress- Version 5.1
BuddyPress- Version 4.2.0
Youzer- Version 2.1.5
Here is the link to the register page. You can see the links in the form.
I have wasted 2 days trying to find an answer to this in various forums and plugin reviews. Hoping someone here will be able to help me fix these links.
Thank you for your help!
In the basic buddypress theme, when users on my site post, there is a drop down that lists the groups they have joined, and they can choose which they would like to post to. In nouveau theme, the box asks them to type the group name in order to choose it. Is there a way to get the nouveau theme to actually list their groups instead of needing to type the specific group?
Thank you for your quick reply Venutius. I reported this issue to the Yoast support forum and hope to get feedback some day in the future. I will keep you informed.
One more thing: May I direct you to this support ticket, which describes an issue which is said to be fixed for years, but still present on my and KLEO theme developer’s system:
https://buddypress.trac.wordpress.org/ticket/8044
Thanks for looking into this ticket, and I would be happy if you could chime in.
Regards,
Martin
This is probably down to your theme or a plugin overloading the registration page.
Long-time lurker on forums of every kind, I think this is my first time posting ever in my time on the internet, so you can tell that I’ve really run out of options :)! To be clear, the most important fact is that I found out that buddypress works with the twenty seventeen theme, but not mine (I did a preview with that theme, and that was when I knew I was in trouble).
As you can see, I added a top menu for people to register at: http://www.toledonaturalist.org/forums/
But there is no content on the page. I’ve thought of all sorts of fixes, the most promising of which is either making the twenty seventeen theme just for the forum pages (which is messy) or switching themes entirely. However, I am in grad school and pretty much every hour of my day is spoken for, so I don’t have time to switch themes. Does anyone have any recommendations on how I can make this work for my website? We are a nonprofit, and really looking forward to building an online community.
Also, I’ve only set up the registration page (i.e., linked it to buddypress in the buddypress pages tab), so the login page definitely won’t work if you click on that.
1. Which version of WordPress are you running?
5.1
2. Did you install WordPress as a directory or subdomain install?
Directly
3. If a directory install, is it in root or in a subdirectory?
Not sure!
4. Did you upgrade from a previous version of WordPress? If so, from which version?
Not sure!
5. Was WordPress functioning properly before installing/upgrading BuddyPress (BP)? e.g. permalinks, creating a new post, commenting.
No, it has never worked with my website.
6. Which version of BP are you running?
Version 4.2.0
7. Did you upgraded from a previous version of BP? If so, from which version?
No
8. Do you have any plugins other than BuddyPress installed and activated? If so, which ones?
Yes, but I’ve deactivated them all and it still does not work.
9. Are you using a standard WordPress theme or customized theme?
Standard
10. Which theme do you use ?
Gaea: https://themeforest.net/item/gaea-environmental-wordpress-theme/9383580
11. Have you modified the core files in any way?
No
12. Do you have any custom functions in bp-custom.php?
No
13. If running bbPress, which version? Or did your BuddyPress install come with a copy of bbPress built-in?
Version 2.5.14
14. Please provide a list of any errors in your serverโs log files.
Sorry, I’m not at this level!
15. Which company provides your hosting?
Host Gator
16. Is your server running Windows, or if Linux; Apache, nginx or something else?
Not sure!
17. Which BP Theme are you using?
Basic?
18. Have you overloaded any BuddyPress template files.
No
19. Any other site customisations that might have a bearing on the issue?
No
I changed themes and then no members show on the members page now. I got rid of that theme because it was not functional and reverted back to my old them and members are still not showing. Hmmm I won’t make the site public on here but PM me if you want to look. Thanks
OK,
so after turning off all plugins, I was able to narrow it down to an issue I believe may be specific to buddypress. To solve the issue I created a functions.php under my child theme and added the following code:
add_filter( 'bp_email_use_wp_mail', '__return_true' );
Then under Tools > BuddyPress I selected “re-install emails.” Now the registration emails get sent on signup.
I think I just needed the encouragement to take everything apart which is something I was really resisting. Appreciate it ๐
-Sophia