Search Results for 'buddypress'
-
AuthorSearch Results
-
March 20, 2016 at 6:19 am #251532
In reply to: Registration page does not work
jrytesting
ParticipantHello, 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.
March 19, 2016 at 6:53 pm #251517In reply to: Auto-role based on forum post count
r-a-y
KeymasterSince you are talking about forum post count, you should post this over on the bbPress forums:
https://bbpress.org/forumsbbPress 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/4727March 19, 2016 at 6:41 pm #251514r-a-y
KeymasterThanks 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.
March 19, 2016 at 6:27 pm #251513In reply to: Display notifications
@mcuk
ParticipantMay be what you are looking for:
(See the later posts in the feed starting around 2-3 weeks ago)
March 19, 2016 at 4:46 pm #251505In reply to: Do not send one email in buddypress 2.5
shanebp
ModeratorI can confirm, using BP 2.5.1, that the “accepted your friendship request” email is not sent.
The ‘friendship requested’ email is sent.
March 19, 2016 at 2:21 pm #251504In reply to: Repair total members count not working
Jasper
ParticipantSo, 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.
March 19, 2016 at 10:46 am #251495In reply to: How to move Profile window
gungs
Participanthttp://revievver.com/wp/wp-content/uploads/2016/03/Support_·_BuddyPress_org.png
please check this link and an orange color arrow in an image.
March 19, 2016 at 7:05 am #251487In reply to: Display notifications
neijisly
ParticipantI 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
March 19, 2016 at 6:49 am #251486In reply to: Profile is Forcing avatar upload
wiziwiz
ParticipantThanks 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 ishttp://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 offAllow 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;March 19, 2016 at 3:50 am #251475In reply to: How to redirect to user profile
alexandra55
Participant@shanebp Thank you so much. I’ll try that
March 18, 2016 at 10:37 pm #251466In reply to: Total number of activity update posts by user
danbp
ParticipantYou 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. 😉
March 18, 2016 at 10:19 pm #251464In reply to: Custom member directory styling
danbp
ParticipantI’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.
March 18, 2016 at 9:29 pm #251460In reply to: Wrong emails editing
shanebp
ModeratorThanks 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.
March 18, 2016 at 9:16 pm #251458In reply to: Wrong emails editing
palla5000
ParticipantHi,
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
March 18, 2016 at 8:31 pm #251456In reply to: 2.5 HTML email styling not working
abuyaman
ParticipantI tried disabling BP Email using the below two links instruction on how creating bp-custom.php & disabling code:
However, I am still getting the plain text mail!
Please advise..
March 18, 2016 at 8:16 pm #251455In reply to: Custom member directory styling
kamarr
ParticipantP.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
March 18, 2016 at 7:58 pm #251453In reply to: Wrong emails editing
shanebp
ModeratorBy ‘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?
March 18, 2016 at 6:38 pm #251447In reply to: How to redirect to user profile
alexandra55
Participant@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
March 18, 2016 at 5:53 pm #251444In reply to: Custom member directory styling
kamarr
ParticipantThank 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.
shanebp
ModeratorDid you read this:
https://codex.buddypress.org/themes/bp-custom-php/‘bp-custom.php does not exist by default’
You need to create it.March 18, 2016 at 5:25 pm #251437Topic: Cannot use object of type WP_Error as array
in forum How-to & TroubleshootingsiteXmedia
ParticipantWhen 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
March 18, 2016 at 4:40 pm #251431@mcuk
ParticipantHi 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
$sizeto 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?
March 18, 2016 at 4:06 pm #251430In reply to: Buddypress doesn’t send activation email.
harleycodr
ParticipantNope. I just have Buddypress installed without any email plugins. Just using whatever WordPress uses as a standard! I’d love to get this working as I have an organization that I am proposing we convert to this as our members are very active on FaceBook and why not make our organization’s website interactive with BuddyPress.
March 18, 2016 at 1:32 pm #251426In reply to: Custom member directory styling
danbp
ParticipantPlease don’t call out people individually (this was already told to you by @shanebp)
bp-default is no more the default theme for BP. You can use almost any other existing theme.
While testing, i recommend you to use one of the Twenty’s theme shipped with WordPress.Then to create a child theme and copy into it the needed file from wp-content/plugins/buddypress/bp-templates/buddypress/
As reminder, a page structure contains at least a header, a content and a footer template, and sometimes a sidebar, depending the theme you use.
If you open index.php from wp-content\plugins\buddypress\bp-templates\bp-legacy\buddypress\members\index.php you should get the search form in that template.
Though if you asign the Member page as home page in WP’s Read settings, you won’t have to struggle much with customization.
Read Codex attentively by starting from here.
You may also explain what you want to do exactly and tell which theme you use.
March 18, 2016 at 9:44 am #251419In reply to: How to redirect to user profile
Bowe
Participant@alexandra55 you can achieve this by adding a little snippet to your bp-custom.php or functions.php.
add_action( 'template_redirect', 'themename_redirect_author_archive_to_profile' ); function themename_redirect_author_archive_to_profile() { if(is_author()){ $user_id = get_query_var( 'author' ); wp_redirect( bp_core_get_user_domain( $user_id ) ); } }Hope this helps!
-
AuthorSearch Results