When I go to Buddypress > Pages – and click on “View” next to the register page that is set as the Register page, it still redirects me to the login page. Every instance of this I find in the forums seems to be solved by adding custom field to the page name: _tml_action value: register (which doesn’t work for me) or setting the Buddypress Page to the register page (which I have done). I have tried all these things and am ready to give up, I even paid some guy at Fiver to help and none of it has worked. I’m so exasperated with this issue, I’m going to just do a clean reinstall as a last resort and if that doesn’t work go back to Ning again for a couple more years 🙁
Make sure for BuddyPress that you selected the BuddyPress “Register” page and not TMLs.
BuddyPress’ Register Page is gone, I deleted it a while ago because TML created a second register page – so I only have the TML register page with TML’s shortcode in there.
What should I do?
Since you are memory-restricted, you can try disabling all unnecessary plugins except BuddyPress to see if that helps.
Hello, I had this same problem and this is how I fixed it. It was mentioned in this thread
(https://buddypress.org/support/topic/bad-link-to-profile-edit/)
that there may be a problem in the database table “wp_bp_xprofile_groups”. For some reason the first item id there is not “1” but something else. As you change the id to 1, everything works. Then it also shows the Profile details side Name field (required) in the registration page.
Also there was a problem to edit profile, it went to “Page not found”. This gets fixed also now, now you can edit the fields.
This seems to be some kind of bug in the installing process in some circumstances. I tested this by removing the BuddyPress and also deleting the BuddyPress database tables. They must be deleted manually, they wont get out by deleting the plugin.
New installation put the first id number to “3” to “wp_bp_xprofile_groups” table. Even the group_id in the table “wp_bp_xprofile_fields” was “1” (after I activated some components in BuddyPress menu, before that the tables were empty) for the first field item. So now the field item and the group item never matched.
Hopefully this helps someone. It seems that there are a lot of discussion of this problem, and this is a very annoying problem if you are really using BuddyPress.
Basically the registering had a workaround for example by using plugin “Theme my login”. The registering also looks simpler as there is not that “extra” name field. It is however unknown how BuddyPress works without that name field. Well, but perhaps that is an another story.
Since you are talking about forum post count, you should post this over on the bbPress forums:
https://bbpress.org/forums
bbPress adds support for group forums in BuddyPress.
Here are some hints though:
https://codex.wordpress.org/Function_Reference/count_user_posts
http://wordpress.stackexchange.com/a/4727
Thanks for the report, however BuddyPress doesn’t touch the lost password email. That is a native WordPress email.
Perhaps you need to configure your SendGrid plugin or SMTP.
I can confirm, using BP 2.5.1, that the “accepted your friendship request” email is not sent.
The ‘friendship requested’ email is sent.
Ticket opened.
So, the time for help on this has passed. But just to mention it seemed to be something in the activity part of the database that was confusing the members count. I made a new website and copied over the users, groups & friends. I left out the activity and turned it off in BuddyPress. The members count is now correct but still at a complete loss as to what happened and how to fix it. Plus side is we have a working site minus the activity.
I am installing ribosome theme and do the same thing, work fine. Login for see. For you: try to desactive all plugins without buddypress if no work send me the code that you have put in header
Thanks Henry – is there somewhere where the Buddy press php could be causing this – as I really want to use that plugin, it is the same with other social login plugins… what happens is the oAuth API’s “pull” the avatar but this is not 100% compatible with Buddypress.
I am hoping that a simple “recipe” could resolve this – something like: if no avatar then ok?
what seems to be happening is when I sign up the first page I go to is
http://mysite.com/members/wiziwiz/profile/change-avatar/
looking deeper in the code is see this is controlled by Buddypress code <?php do_action( ‘bbp_template_notices’ ); ?> and as I said before turning off
Allow registered members to upload avatars
fixes it
perhaps something related to this change avatar code could remove the block
// Change Avatar
case 'change-avatar' :
bp_get_template_part( 'members/single/profile/change-avatar' );
break;
@shanebp Thank you so much. I’ll try that
You can use BuddyPress Member Stats plugin or just this function (in bp-custom.php)
This example is for group updates only. But you have the general idea. And please, keep calm, if you have a big update writers community, totalizing ALL existing updates can became a mess and a real problem which can slow down a site. You’re warned ! 😉
function bms_get_total_group_updates_count(){
global $wpdb, $bp;
$user_id = bp_displayed_user_id();
if ( bp_is_active( 'groups' ) ) :
// DB query
$total_updates = $wpdb->get_var( $wpdb->prepare( "SELECT COUNT(*) FROM {$wpdb->prefix}bp_activity
WHERE component = 'groups'
AND type = 'activity_update'
AND user_id = '%s' ", $user_id ) );
echo $total_updates;
endif;
}
And for the output somewhere in your template, something like:
<li><?php _e( 'My updates:', 'buddymemberstats' ); ?> <?php bms_get_total_group_updates_count(); ?></li>
Yes, i’m the plugin author. 😉
I’m afraid you can’t built another member’s directory. “Members” is a component and it use a dynamic page to output anything related to members.
The only thing who change, is eventually the content template part (member directory vs. profile for example: both activity are on the same pseudo “page”.
The only way i see for your case, is to add a custom filter and to define eventually another default output for member directory, based on the current filter. But it’s the user who has to choose what he want to see there.
Default filter are recently active, recently subscribed and alphabetical order. To add more option, included “artists”, try to add “member type” or create you r own plugin to filter.
Here the related codex page for member-type
And codex page for how to add a filter on members directory.
For the @ use, the correct way to use it is when you want to mention (@mention) somebody. And so far i can see this here, it doesn’t actually work on bp.org ! 😉
So just keep in mind that you publish on a public forum. It is not intended to call mods individually. We’re not consultants here (we don’t charge you), but simple volonteers trying to guide and help other users.
Thanks for providing further info.
Please create a ticket here using the same user & pw you use for these forums.
And include a link to this topic.
Hi,
thanks for your reply.
– By ‘save’, you mean update?
Yes, sorry for my english
– Have you tried editing and updating any other emails?
– If so, did the same issue occur?
Yes. If we update any mail, the mail are saved as post type, not as BuddyPress Emails type (bp-email type).
– Have you tried using the Email Repair tool?
– wp-admin > Tools > BuddyPress > ‘Reinstall emails (delete and restore from defaults).’
This will delete your current emails including any edits you made to them.
“Reinstall emails” work fine but the problem is the same: all new mails are not updatable.
– What version of WP are you using?
We use WordPress 4.4.2.
BR
I tried disabling BP Email using the below two links instruction on how creating bp-custom.php & disabling code:
bp-custom.php
Emails
However, I am still getting the plain text mail!
Please advise..
P.S. I’ve tried adding the code from in index.php from wp-content\plugins\buddypress\bp-templates\bp-legacy\buddypress\members\index.php to the code in my themes index.php however the problem still exist.
As you stated before I believe creating another directory template in the Buddypress plugin would be best. That way the plugin could still interact within itself, pulling the proper php and css.
How can I add a custom directory to the plugin to be made available on the BuddyPress Settings page?
What file should I edit?
Is there codex on the topic?
Thanks again
By ‘save’, you mean update?
Have you tried editing and updating any other emails?
If so, did the same issue occur?
Have you tried using the Email Repair tool?
wp-admin > Tools > BuddyPress > ‘Reinstall emails (delete and restore from defaults).’
This will delete your current emails including any edits you made to them.
What version of WP are you using?
@bowromir thank you so much for your reply. Unfortunately, it did not work for me. It seems that there is a problem with the following function: function themename_redirect_author_archive_to_profile
Thank you Dan for replying!
The solution is much needed.
*apologizes, I’m not sure of the proper etiquette for using the @ function. What would be the best way to use that for future references.
You confirmed my suspicions, that the search function can be drawn from the index.php file located in wp-content\plugins\buddypress\bp-templates\bp-legacy\buddypress\members.
I agree that assigning the page on the front end would be extremely easier, however I have two directory’s. One custom and one buddypress original.
The goal is to have more than one directory page with different parameters.
For example:
A directory for members who are from the united states only
vs a directory for members who are artist only
How could I customize the front-end buddypresss directory setup page to add additional assignable directories?
for example:
If I create an addition members-loop.php and name it art-members-loop.php, how would I get that show up on the buddpress front-end under the directory pages set up section as an additional directory set up option?
Thank you again for your help! It is much needed.
Did you read this:
https://codex.buddypress.org/themes/bp-custom-php/
‘bp-custom.php does not exist by default’
You need to create it.
When I try and upload a profile photo or cover photo I am seeing
Fri Mar 18 16:50:41.550381 2016] [fcgid:warn] [pid 22118] [client 82.6.0.0:32997] mod_fcgid: stderr: PHP Fatal error: Cannot use object of type WP_Error as array in /home/domain/public_html/wp-content/plugins/buddypress/bp-core/bp-core-avatars.php on line 908, referer: http://domain.com/miembros/manager/profile/change-avatar/
on line 908 I see
$bp->avatar_admin->image->file = $bp->avatar_admin->resized[‘path’];
Any ideas?
Thanks
Hi all,
Trying to set the max file size limit for avatars and cover-images that users are able to upload.
1. The define ( 'BP_AVATAR_ORIGINAL_MAX_FILESIZE', 1024 ); doesn’t seem to be working. Instead it gives the error message warning that the photo size is too big (even when the photo size is only 200kB). From what I understand, the int constant here is in kB, so am attempting to set the limit at 1 MB (1024kB) while testing.
2. I have also tried using @imath ‘s code from this link which uses the filter in bp-core-attachments.php line 107: https://buddypress.org/support/topic/upload-failed-error-was-that-photo-is-too-big-please-upload-one-smaller-than/ . This code doesn’t seem to be having any effect on upload size which appears to be somewhere around 2 MB. I can set $size to 1 and still upload images of 1.7MB without a problem.
add_filter( ‘bp_attachments_get_max_upload_file_size’, function( $size, $type ) {
if ( ‘avatar’ === $type ) {
$size = 1048576; //1MB in bytes. In practice approx 2MB seems to be upload limit
}
return $size;
} );
Any ideas?