Search Results for 'buddypress'
-
AuthorSearch Results
-
November 24, 2015 at 7:50 pm #247151
In reply to: Error on install and when trying to repair..??
r-a-y
KeymasterYou can ignore this message if you’re using BuddyPress on a production site.
To turn off debugging notices on production, set
WP_DEBUGto false inwp-config.php:
https://codex.wordpress.org/WP_DEBUGThis is a notice caused by a plugin that is initializing user info too early. If you want to find out which plugin is causing this, deactivate all your plugins and only activate BuddyPress. Next, activate your plugins one-by-one until you find the culprit.
November 24, 2015 at 7:25 pm #247148In reply to: Simply display friends of member
November 24, 2015 at 1:35 pm #247142In reply to: Buddypress and Calypso?
Henry Wright
ModeratorIt’s likely that nobody has even thought about this yet because Calypso is so new. Check out these instructions if you want to install it: https://github.com/Automattic/wp-calypso/blob/master/docs/install.md
Also, there are various projects in progress for BuddyPress. Here’s one example:
November 24, 2015 at 1:33 pm #247140In reply to: Buddypress and Calypso?
Henry Wright
ModeratorIt’s likely that nobody has even thought about this yet because Calypso is so new. Check out these instructions if you want to install it: https://github.com/Automattic/wp-calypso/blob/master/docs/install.md
Also, there are various projects in progress for BuddyPress. Here’s one example:
November 23, 2015 at 10:07 pm #247128shanebp
ModeratorIn order to get a response to your question, please provide specifics – after reading this:
https://buddypress.org/support/topic/when-asking-for-support-2/November 23, 2015 at 9:07 pm #247122In reply to: Adding a new component to BuddyPress
Henry Wright
ModeratorThese requirements are very custom so I doubt there will be a plugin available. My advice is to take a look through the core project code to familiarise yourself with how BuddyPress works. There’s also a BuddyPress Skeleton Component you can use (check out the comments) to learn how to create a new component should you need one.
November 23, 2015 at 4:20 pm #247115In reply to: want to add more fields to “Post Update” form
Henry Wright
ModeratorYou should look at bp-templates/bp-legacy/buddypress/activity/post-form.php, making changes if necessary using the BuddyPress Template Hierarchy article as a guide.
November 23, 2015 at 2:07 pm #247111In reply to: Private Message Thread – Reply-Box on Top
shanebp
ModeratorYou shouldn’t change core files.
You should be able to make your changes via template overloads.
Copy this file
bp-templates\bp-legacy\buddypress\members\single\messages\single.php
to your child theme so that the dir structure looks like this:
your-theme\buddypress\members\single\messages\single.phpThen in single.php, change
if ( bp_thread_has_messages() ) :
to<?php $args = array( 'order' => 'DESC' ); if ( bp_thread_has_messages( $args ) ) : ?>To change the location of the reply box, adjust the html in that same template overload.
November 23, 2015 at 10:28 am #247109In reply to: bp_get_member_user_id() returns false
Henry Wright
ModeratorThe likely reason why
bp_get_member_user_id()is returningNULLis you are using it outside the members loop. See the Playing with the user’s ID in different contexts article for info on how to get the member’s ID in the various contexts that exist within BP.November 23, 2015 at 1:00 am #247103paragbhagwat
ParticipantB@henrywright below is the link to the posting above
https://buddypress.org/support/topic/groups_member_before_save-messages-not-showwing-up/
November 22, 2015 at 9:09 pm #247094In reply to: Disable messages in Activity Stream
Henry Wright
ModeratorI have no idea if this plugin still functions because it was last updated ~4 years ago, but check out BuddyPress Block Activity Stream Types.
November 22, 2015 at 3:28 pm #247086In reply to: No BuddyPress Menu on Sub-Sites (MultiSite)
danbp
ParticipantIs explained here:
November 22, 2015 at 12:23 pm #247084dishahsharma
ParticipantYou must check out BuddyPress Member Types.
BuddyPress Member Types lets you create and manage member types without having to code. You can also allow users to choose their Member type while signing up and also through their profile options.
November 22, 2015 at 7:54 am #247083In reply to: [Resolved] cannot change profile photo
rebekahmeuir
Participant@bgrated the new version of buddypress solved my issues
November 21, 2015 at 6:22 pm #247070In reply to: Order by Alphabetical for groups
shanebp
ModeratorPlease use the
codebutton when posting code.This works for me:
<?php if ( bp_has_groups( bp_ajax_querystring( 'groups' ) . 'type=alphabetical' ) ) : ?>If you copy & paste, make sure the single quotes ‘ aren’t changed to something else, like `
This is the correct path:
wp-content/themes/relativity/buddypress/groups/groups-loop.phpNovember 21, 2015 at 6:04 pm #247067In reply to: Order by Alphabetical for groups
goecochic
Participantwp-content/themes/relativity/buddypress/bp-templates/bp-legacy/buddypress/groups/groups-loop.php
I just created these files with no luck either…
November 21, 2015 at 5:55 pm #247066In reply to: Order by Alphabetical for groups
goecochic
ParticipantI put the groups-loop.php modified with
<?php if ( bp_has_groups( bp_ajax_querystring( ‘groups’ ) . ‘type=alphabetical’ ) ) : ?>
in this folder:
wp-content/themes/relativity/buddypress/groups/groups-loop.php
It is still default “last activity”
November 21, 2015 at 5:31 pm #247064In reply to: Order by Alphabetical for groups
shanebp
ModeratorThere is no template called
loop.phpUnless you’re are explicitly using the BP default theme, you should be using this file
buddypress\bp-templates\bp-legacy\buddypress\groups\groups-loop.php
And creating a template overload of that file and making your changes in the overload.November 21, 2015 at 2:20 pm #247060In reply to: Order by Alphabetical for groups
shanebp
Moderator
<?php if ( bp_has_groups( bp_ajax_querystring( 'groups' ) . 'type=alphabetical' ) ) : ?>November 21, 2015 at 9:52 am #247053In reply to: BuddyPress 2.4.0 – Pietro
mcpeanut
ParticipantNice one @imath and congrats to you and all the team, although i have not had time to try this out yet i will do do sometime soon, i have not been as active on here recently due to being so tied up with what i am doing myself, the cover was a well needed implementation and i am so glad it was added to core. now if only you guys could get a dedicated like system built into it or a favourite feature that would lets users favourite other pages and custom posts other than just on buddypress posts and related pages 🙂 … hehe.
November 20, 2015 at 8:38 pm #247026In reply to: BP 2.4 breaks on page 2 of custom search results
r-a-y
KeymasterI’ve got a fix ready:
https://buddypress.trac.wordpress.org/attachment/ticket/6745/6745.01.patchApply the lines in that patch to your BuddyPress install.
To test this, you’ll need to set
WP_DEBUGtotrueso it will load the unminified version of the javascript:
https://codex.wordpress.org/WP_DEBUGLet me know if this fixes the problem.
November 20, 2015 at 6:59 pm #247019In reply to: How to update avatar user meta?
Thagintoki
Participantnot showing the avatar but instead I want to attach the avatar to a specific user so buddypress will take care of showing it,
the only problem is that it depends on a $_FILES variable
this means that I can use the function if I had a form, else I can’t because the mother Class has needs as argument the file from ($_FILE) and the name of the form which i don’t have.
November 20, 2015 at 6:22 pm #247013In reply to: BP 2.4 breaks on page 2 of custom search results
r-a-y
KeymasterWhat are your URLs linking to? In your video you mentioned something like
/members/?s=whatever?In BuddyPress 2.4.0, you have to change the
sparameter tomembers_s. In 2.4.1, this will change tomembers_searchdue to a typo.How are you setting up the members loop to filter students by school?
November 20, 2015 at 6:17 pm #247012In reply to: How to update avatar user meta?
r-a-y
KeymasterWe do not store avatar data in the database.
We do a look up at the files level instead.
If you want to show an avatar based on a custom avatar stored in the database, you’ll need to use the
'bp_core_fetch_avatar'filter to override how BuddyPress shows avatars:
https://buddypress.trac.wordpress.org/browser/tags/2.4.0/src/bp-core/bp-core-avatars.php?marks=531-546,660-664#L531If you just want to display a user avatar, use the
bp_core_fetch_avatar()function:echo bp_core_fetch_avatar( array( 'item_id' => USER_ID_TO_GRAB_AVATAR_FOR ) );November 20, 2015 at 3:01 pm #247008In reply to: No index buddypress pages
gurusurfer
ParticipantOk for the
is_buddypress()the functionsfunction for_buddypress() { if ( is_buddyPress() ) { echo "<meta name=”robots” content=”noindex, nofollow>"; } else { } } add_action( 'wp_head', 'for_buddypress' );Working perfectly, but when creating another function for the
bp_is_groups()I am getting error “call to undefined functionsbp_is_groups()Any help is much appreciated!
Thanks
-
AuthorSearch Results