Search Results for 'buddypress'
-
AuthorSearch Results
-
April 25, 2016 at 12:53 pm #252881
In reply to: members directory in list form
danbp
ParticipantHi,
You’re probably on a large screen. Default display of the directory is already a list. See template code (members-loop.php) using ul and li !
Check your theme or try to simulate a mobile screen (if u use firefox it’s Ctrl+shif+m) to see if your directory get wrapped or not. If not, adjust your (child)theme CSS.
April 25, 2016 at 7:37 am #252872sharmavishal
ParticipantHave you looked at template hierarchy?
April 24, 2016 at 6:41 pm #252860In reply to: Avatars reset to default when activating BuddyPress
Henry Wright
ModeratorHi @etavio
Your custom plugin is most likely filtering
get_avatarto display your custom images. BuddyPress actually bypasses that filter through the use ofbp_core_fetch_avatar().Ref: https://github.com/buddypress/BuddyPress/blob/master/src/bp-core/bp-core-avatars.php#L192
You will need to use a different filter.
April 24, 2016 at 5:55 pm #252858modemlooper
ModeratorBuddyPress users are the same as WordPress so you can create a user using https://codex.wordpress.org/Function_Reference/wp_create_user
To set profile fields data:
xprofile_set_field_data( $field, $user_id, $value, $is_required = false ) $fields = field id $user_id = current login user id $value = inserted value $is_required = booleanApril 24, 2016 at 5:51 pm #252857In reply to: Search profile by UserId
modemlooper
ModeratorBuddyPress searches username and profile fields to find a member. You would need to develop a custom solution for this. Is this requirement for site admins? If so, you can find members by id in the admin -> Users menu item.
April 24, 2016 at 5:41 pm #252856In reply to: Add Buddypress Profile fields to Registration
modemlooper
ModeratorAny profile fields you create in the admin that are in the first section are automatically added to the registration form.
April 24, 2016 at 5:15 pm #252855In reply to: Avatars reset to default when activating BuddyPress
danbp
ParticipantHi,
you have to check your custom plugin. Or even to deactivate it, as it is no more necessary when you use BP. Problem seems to be that you created something related to members handling before BP was installed.
BuddyPress handles members and their avatars via the buit-in WP avatar function.
If you need more help, please give details about your config, theme and custom code. Thxs 😉
April 24, 2016 at 5:01 pm #252854In reply to: How to move Profile window like this site
danbp
ParticipantHi,
it’s related to a custom work of the theme used on buddypress.org. You can read more here and get the source code here.
Read also some advice here
April 24, 2016 at 10:27 am #252836In reply to: Undefined property: stdClass::$register
Henry Wright
ModeratorIf so, make sure you assign that page to your BuddyPress “register” page under the BuddyPress admin menu.
April 23, 2016 at 7:40 pm #252831In reply to: xprofile fields displaying data from another user
shanebp
ModeratorUnless you are explicitly using the bp-default theme, not recommended, you should always use these templates:
buddypress\bp-templates\bp-legacy\iow. this members-loop:
buddypress\bp-templates\bp-legacy\buddypress\members\members-loop.phpApril 23, 2016 at 6:48 pm #252826In reply to: xprofile fields displaying data from another user
carrieoke13
ParticipantThanks, Shane.
So I have it working now using:
$your_city= xprofile_get_field_data( 'City' ,bp_get_member_user_id()); if ( $your_city != false ) echo $your_city;I am super new to BuddyPress – is there a reason not to do it that way? I really appreciate your help.
April 23, 2016 at 3:59 pm #252818In reply to: How to Remove Buddypress Registration
Paul Wong-Gibbs
KeymasterDo not edit core BuddyPress files. Next update, it’ll be replaced and you’ll have to do it all over again.
April 23, 2016 at 1:54 pm #252817In reply to: BuddyPress no longer working with 4.5 update
fredgraver
ParticipantSure:
bbPress
BB Profile Search
BB Registration Options
BuddyPress
BuddyPress Cover Photo
BuddyPress Docs
BuddyPress Group Email
Fast Secure Contact Form
K Elements
NextGen Gallery
NextGen Plus
rtMedia for WordPress, BuddyPress and bbPress
Sidekick
Slider Revolution
User Role Editor
WP Smush Pro
WP-DBManager
WPBakery Visual Composer
WPMU Dev DashboardNo Custom Code on there, just what comes with Kleo and WP.
thanks!
fred
April 23, 2016 at 9:13 am #252814In reply to: CSS background for Profile page only?
Hugo Ashmore
Participant@mtgame21 We attempted to comprehensively provide classes on the body element to cover and catch as many conditions in BP so check those classes – as Henry points out – on the body element. The first you’ll possibly notice is ‘.bp-user’ to cover all instances of a users account screens. As an example if you’re looking at your profile screen you should see a series of body class tokens like this:
xprofile bp-user my-account my-profile profile public buddypressWith these classes we cover all important states, we inform we are on a Users series of screens ‘bp-user’, we state in this instance that it’s the logged in users account with ‘my-account’, we state the specific screen ‘profile’ and again we further specify that this is ‘my-profile’ the logged in user.
Check out further screens to see how these class tokens will change.
April 23, 2016 at 12:23 am #252807In reply to: Private messages isn’t working
SlowSpeed
ParticipantOk, I tried what you said
I changed the theme and enabled just the buddypress plugin and still I can’t send any messages..
It only works if I send a global message to all users with admin (but still no one recieve it) but if I try to send to a specific user it doesn’t workApril 22, 2016 at 7:19 pm #252803In reply to: How to Remove Buddypress Registration
Rapforthemoment
ParticipantI have successfully removed the message from appearing in my backend by cutting out this code in wp-content/plugins/buddypress/bp-core/admin/:
if ( !empty( $orphaned_components ) ) { $admin_url = bp_get_admin_url( add_query_arg( array( 'page' => 'bp-page-settings' ), 'admin.php' ) ); $notice = sprintf( __( 'The following active BuddyPress Components do not have associated WordPress Pages: %2$s. <a href="%1$s">Repair</a>', 'buddypress' ), esc_url( $admin_url ), '<strong>' . implode( '</strong>, <strong>', $orphaned_components ) . '</strong>' ); bp_core_add_admin_notice( $notice ); }So far there are no malfunctions and no drawbacks. The message is gone and everything appears normal. Seemed to do the trick. Now I can register users through my themes registration process and not have to worry about any Buddypress registration.
April 22, 2016 at 6:58 pm #252802In reply to: How to Remove Buddypress Registration
Rapforthemoment
ParticipantIs there really no way to remove that nag notification? That seems like a pretty big drawback. Not even in the Buddypress files, there isn’t some code to cut out or insert to remove this message?
April 22, 2016 at 5:30 pm #252788In reply to: Code to assign user into a group
shanebp
ModeratorApril 22, 2016 at 4:59 pm #252785In reply to: Personal + Friends activity = ‘All’ activity tab?
BackpackersUnion
Participant@sharmavishal Thanks for the suggestion! “BuddyPress Wall” goes beyond what I’m looking for and seems to have quite a few unhappy users (Even most of the 5 star reviews are issues). So, I’m afraid it will cause more issues than it would solve.
I’ve found a tutorial here using
bp_parse_args()to create an activity loop with ‘Personal’ and ‘Friends Activity’ only, but not a way to isolate the loop into its own subnav tab “All” (The code currently effects all activity loops universally [i.e. Friends, Personal, Mentions, Favorites, Site wide, all become Friends+Personal loops]).Here’s the code to filter the activity loop into Friends+Personal,
function my_filter_activity( $loop ) { $loop['scope'] = 'just-me,friends'; return $loop; } add_filter( 'bp_after_has_activities_parse_args', 'my_filter_activity' );The next step would be isolating the loop into an ‘All’ activity subnav tab/button.
Any ideas?
April 22, 2016 at 3:47 pm #252780dowen777
ParticipantI can’t get the escaped characters to appear in a way that reflects what BuddyPress is outputting to the screen.
April 22, 2016 at 2:52 pm #252774In reply to: Buddypress group slugs in foreign language
ishvara
ParticipantQuestion (or maybe a suggestion) to Buddypress developers:
I was wondering if it’s possible to apply a filter to
the returned$slugingroups_check_slug()function
so that anyone can play with BP group slugs?
Cheers.April 22, 2016 at 1:39 pm #252769In reply to: xprofile fields displaying data from another user
shanebp
ModeratorTo determine if the issue is in your theme, try switching momentarily to a WP theme like 2013.
You’ll need to copy members-loop.php to a buddypress folder in that theme.You can only echo the data if it exists.
Try:$your_name = bp_get_member_profile_data( 'field=Your Name' ); if ( $your_name != false ) echo $your_name;April 22, 2016 at 10:53 am #252765In reply to: email notifications stopped for @ mentions, replies
Paul Wong-Gibbs
KeymasterBuddyPress 2.5 made a lot of changes to how BuddyPress works with emails. We’ve been making incremental fixes and compatibility improvements in each release since, and we have v2.5.3 almost ready for sometime in the next couple of weeks or so.
People still having problems could try running https://en-au.wordpress.org/plugins/bp-email-to-wp-mail-from-bridge/ to see if it helps, but we have other fixes in place for v2.5.3 that aren’t provided by this plugin.
April 22, 2016 at 10:46 am #252763In reply to: WP Notices after installation
Paul Wong-Gibbs
KeymasterThanks. This isn’t actually a bug in BuddyPress, but we flag it to reveal code in other plugins running at the wrong time because quite often this can cause very subtle problems in BuddyPress and other plugins.
We’ve very recently adjusted the messaging to make it clearer which plugin is causing us to trigger this notice: https://buddypress.trac.wordpress.org/changeset/10709/
April 22, 2016 at 7:35 am #252758Topic: How to Remove Buddypress Registration
in forum How-to & TroubleshootingRapforthemoment
ParticipantHey Buddypress users. I have current version of WordPress and Buddypress (4/22/2016).
I am trying to completely remove the need for Buddypress registration. Reason being, I have a theme that has its own registration process. With Buddypress registration, that makes it two completely different registration processes.
I want to remove the need to have a Buddypress registration process completely. I have searched throughout your entire forum and I have tried everything. Nothing works. I continue to get the message “Missing buddpress register page. Repair.”
-
AuthorSearch Results