Search Results for 'buddypress'
-
AuthorSearch Results
-
November 21, 2015 at 5:55 pm #247066
In 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
November 20, 2015 at 1:40 pm #247005In reply to: Change BuddyPress Activity Stream Order
Henry Wright
ModeratorCheck out the Using bp_parse_args() to filter BuddyPress template loops article. Specifically, you’d want to make use of
date_query, which should be an array of date query clauses.November 19, 2015 at 8:45 pm #246988In reply to: No index buddypress pages
gurusurfer
ParticipantI have also tried in a loop like in this codex, but breaking the page, what am i missing?
<?php if ((is_buddypress() ) { echo '<meta name=”robots” content=”noindex, nofollow>'; } ?>You help is much appreciated!
Thanks
November 19, 2015 at 6:57 pm #246977In reply to: A Nicer Way To Edit Group Slugs
tonydjukic
ParticipantThanks @henrywright. I installed it and tested it out, doesn’t seem to be even slightest issue with it. @jjj should just push incremental updates that update compatibility so WordPress removes that ‘warning’ message – the plugin works great so it’s a shame that people new to BuddyPress (like myself) are scared away from it for no reason.
November 19, 2015 at 6:34 pm #246974In reply to: Fatal error after upgrading to 2.4.0
r-a-y
KeymasterAre you running the Woffice theme with their Birthday extension?
If so, you need to update Woffice:
https://buddypress.org/support/topic/fatal-error-call-to-undefined-method-stdclasssave/#post-246973November 19, 2015 at 4:54 pm #246966In reply to: Set Birthday value buddypress
shanebp
Moderatori have red all the files in buddypress plugin
Then you know that BP does not store any data re individual avatars in the database.
November 19, 2015 at 4:34 pm #246961In reply to: No index buddypress pages
gurusurfer
ParticipantThank you very much for the quick reply!
Sorry I am no php pro here, tried like this but breaks page!
add_action( 'wp_head','noindex_groups' ); function noindex_groups() { if ( bp_is_groups() ) { echo '<meta name=”robots” content=”noindex, nofollow>' } }add_action( 'wp_head','noindex_buddypress' ); function noindex_buddypress() { if ( bp_is_groups() ) { echo '<meta name=”robots” content=”noindex, nofollow>' } }Thanks
November 19, 2015 at 3:40 pm #246959In reply to: Set Birthday value buddypress
Thagintoki
Participantall i want to know is how the avatar are set in the user meta, because I have an external image url and want to set it in the meta but don’t know how they do it in buddypress, i have red all the files in buddypress plugin, but nothing helps. For the field datebox also I don’t know why it is not working I am sure my data is good but why it is not showing ?
November 19, 2015 at 2:52 pm #246953In reply to: No index buddypress pages
Henry Wright
ModeratorThe Template Tag Reference will help you here. You can do things like the following inside your function to determine the type of page that is being accessed:
if ( bp_is_groups() ) { // This is the groups page. } if ( is_buddypress() ) { // This is a BuddyPress screen. }November 19, 2015 at 1:16 pm #246948In reply to: Set Birthday value buddypress
Thagintoki
Participant$random_user = wp_insert_user( $userdata ) ;this is how i get the user ID its working fine only birthday and avatar which are my problem, I can’t set a date or an avatar from an external link.
I have used an API to generate random users then I save it as a buddypress user.
And $user_id was a mistake I use instead$random_userbut it’s not working anyways.November 19, 2015 at 1:02 pm #246947In reply to: z-index issue with 2014 and cover images
Hugo Ashmore
Participant@joost-abrahams buddypress.css is patched to resolve the issue and should be included in 2.4.1, thanks again for highlighting and testing issue.
November 19, 2015 at 1:02 pm #246946In reply to: A Nicer Way To Edit Group Slugs
Henry Wright
ModeratorEven though the plugin hasn’t been updated for 2+ years, it’s built by @jjj (BuddyPress project lead who knows BuddyPress inside out) so it will be well-written. If you do spot anything, open a support ticket on the plugin’s forum.
November 19, 2015 at 12:29 pm #246942Tafmakura
ParticipantIn this thread https://buddypress.org/support/topic/i-just-want-one-consistent-username-to-appear-everywhere-in-wp-bp/ @r-a-y successefully replaces all display names with usernames, I want to do the opposite I want the @mentions to display the current display name, so that when someone mentions someone it diplays that person’s current display name.
How do i achieve this?
November 19, 2015 at 12:18 pm #246941Henry Wright
ModeratorClosing as a duplicate
November 19, 2015 at 7:51 am #246934r-a-y
KeymasterbbPress has its own at-mentions system, so you should be able to disable the Activity component in the WP admin dashboard.
To do so, go to the WP admin dashboard and navigate to “Settings > BuddyPress > Components”. Next, uncheck the Activity Streams component and save.
This will disable the Activity Streams component. Then, you should check if the at-mentions system in bbPress will still function properly.
I’m not sure if bbPress’ at-mention system will send email notifications though.
November 19, 2015 at 7:29 am #246933In reply to: Sidebar not appearing all where it is needed
UgoDimma
ParticipantHey @webgirl
Thanks for the link, I followed the link and check all my settings, and all is in good shape. Beside, I installed the theme using their quick installation guide, which installs the theme with their default setting from the demo site.
By looking at their demo site, it does not have this sidebar, so I don’t know exactly where the issue might have come from.
Just take a look at single member profile, it still goes without side bar.

In my members page edit, the sidebar I selected is buddypress sidebar.
November 19, 2015 at 2:19 am #246930Henry Wright
ModeratorHey @alessandrat
Welcome to the BuddyPress forum!
1. Have two separate front ends for different user types (with differently configured profiles), appearances, and accesses.
Yes. This can be done with either a plugin (try searching the Plugin Directory) or coded through the Member Types feature introduced in version 2.2.
2. Have a place where shortcode could be put in so that users can take a questionnaire containing likert questions on their profile and/or while creating their profile.
Either a post, page or perhaps even an activity update all spring to mind as possible places to add it.
3. One but not both kinds of users can create their own group (public, semiprivate or private) or forum and browse/ join existing ones
The ability for all members to create new groups comes as standard.
4. One kind of user but not the other needs to be able to set up ways for the other type of user to purchase products (I assume I can use another plugin but will need a place to put the shortcode)
This will need to be either custom coded, or you may find a plugin with the functionality you need.
Hope this info helps!
-
AuthorSearch Results
