Search Results for 'buddypress'
-
AuthorSearch Results
-
January 4, 2014 at 5:02 am #176386
In reply to: Make BuddyPress | bbpress like Make.WordPress.org
modemlooper
ModeratorThere are not enough contributors to BuddyPress to do something as extensive as the make.wordpress
Here is the current options to get involved https://codex.buddypress.org/participate-and-contribute/
January 4, 2014 at 3:49 am #176383In reply to: Notifications tab still break site
TPdaking#7782
Participantit was a bp default line that was to be taking out…here is the thread https://buddypress.org/support/topic/notifications-tab-seems-to-break-site/
January 4, 2014 at 1:08 am #176376In reply to: bp-default parent theme missing
mdpane
ParticipantAs of BuddyPress 1.9, bp-default has been retired, so it won’t show up in your themes. However, you can create a file called “bp-custom.php” in your plugins folder which will force WP to load it. Add these lines to it:
<?php add_filter( 'bp_do_register_theme_directory', '__return_true' ); ?>That should fix it for you.
January 3, 2014 at 9:07 pm #176363In reply to: Can’t get Buddypress to register a single user
Tully5150
Participant@johnjamesjacoby – thanks for your reply.
Mate, I have no other Plugins active only Buddypress and am using theme twenty fourteen. I have re-installed wordpress, buddypress (twice now) – enabled the ‘anyone can register’ in the settings. I’m just dumbfounded.
It must be something ridiculously obvious that I’m missing – or something to do with my local development environment with MAMP. But hey, I’m guessing.
January 3, 2014 at 7:13 pm #176357In reply to: Adding Dynamic Profile Link to Main Menu Item
Ben Hansen
Participantit’s in the menu screen there should be a buddypress section with the links.
January 3, 2014 at 6:36 pm #176356In reply to: Adding Dynamic Profile Link to Main Menu Item
brucedongcai@gmail.com
ParticipantHello Hugo, I am using BuddyPress1.9 and I can not find “BP account screen link” in BP setting? could Hugo/anyone tell me where to find the link? I would like add dynamic profile Link to my main menu item. please help!!!
January 3, 2014 at 3:44 pm #176351In reply to: Update Broke the Site – Please Help
Birdseye
ParticipantOkay now. The fix I used.
FTP and renamed the offending plugin.
Dashboard came back. Deleted the offending plugin and files, which worked surprisingly
Activated new BuddyPress version.
Members, Grouyps, Activity back…Whew!
Now to re back up the site..
wp 3.8January 3, 2014 at 8:46 am #176340In reply to: DO NOT FORCE SIGN UP
John James Jacoby
KeymasterRight. This doesn’t seem directly related to BuddyPress, but rather some privacy setting on the page itself.
January 3, 2014 at 5:12 am #176336In reply to: Cannot Register New Users (only manually)
Tully5150
ParticipantPLEASE HELP!!!!! I’ve been at this for 2 days now and I still can’t get Buddypress to register a single User…I have re-installed WordPress, Re-installed Buddypress – all I need to do to get going is just create 1 User!!!!!
January 2, 2014 at 9:48 pm #176326In reply to: Sorting by xprofile field
lz430
ParticipantStill kind of confused. Sorry for the delay between responses. I’ll be more responsive now.
Where should I use the type=alphabetical now?
Here’s my code again:<?php /* Template Name: Buddypress Leadership Template */ ?> <?php get_header(); ?> <?php if ( bp_has_members() ) : ?> <h4 id="executive-header">Executive Board</h4> <div class="leadership-list"> <ul class="members-list executives leadership item-list" role="main"> <?php while ( bp_members() ) : bp_the_member(); ?> <?php global $current_site; $user_id = bp_get_member_user_id(); $memberOf = xprofile_get_field_data( 'Member of' ,bp_get_member_user_id(), $multi_format = 'array'); $jobTitle = xprofile_get_field_data( 'Job Title' ,bp_get_member_user_id()); $companyName = xprofile_get_field_data( 'Company' ,bp_get_member_user_id()); $lastName = xprofile_get_field_data( 'Last Name' ,bp_get_member_user_id()); if ($memberOf != '') { foreach($memberOf as $key => $value){ ?> <?php if($value == "Executive Board") {?> <li class="member-dir-member"> <div class="column-first"> <div class="item-avatar"> <a href="<?php bp_member_permalink(); ?>"><?php bp_member_avatar(); ?></a> </div> </div> <!-- end column-first --> <div class="column"> <div class="item"> <div class="item-title"> <a href="<?php bp_member_permalink(); ?>" class="member-name"><?php bp_member_name(); ?> <?php echo $lastName ?></a> <div class="job-title"> <?php echo $jobTitle; ?> of </div> <div class="company-name"> <?php echo $companyName ?></div> </div> </div> </div> <!-- end column --> <div class="clear"></div> </li> <?php } ?> <?php } } endwhile; ?> </ul> </div> <h4 id="steering-header">Steering Committee</h4> <div class="leadership-list"> <ul class="members-list executives leadership item-list" role="main"> <?php while ( bp_members() ) : bp_the_member(); ?> <?php global $current_site; $user_id = bp_get_member_user_id(); $memberOf = xprofile_get_field_data( 'Member of' ,bp_get_member_user_id(), $multi_format = 'array'); $jobTitle = xprofile_get_field_data( 'Job Title' ,bp_get_member_user_id()); $companyName = xprofile_get_field_data( 'Company' ,bp_get_member_user_id()); $lastName = xprofile_get_field_data( 'Last Name' ,bp_get_member_user_id()); if ($memberOf != '') { foreach($memberOf as $key => $value){ ?> <?php if($value == "Steering Committee") {?> <li class="member-dir-member"> <div class="column-first"> <div class="item-avatar"> <a href="<?php bp_member_permalink(); ?>"><?php bp_member_avatar(); ?></a> </div> </div> <!-- end column-first --> <div class="column"> <div class="item"> <div class="item-title"> <a href="<?php bp_member_permalink(); ?>" class="member-name"><?php bp_member_name(); ?> <?php echo $lastName ?></a> <div class="job-title"> <?php echo $jobTitle; ?> of </div> <div class="company-name"> <?php echo $companyName ?></div> </div> </div> </div> <!-- end column --> <div class="clear"></div> </li> <?php } ?> <?php } } endwhile; ?> </ul> </div> <?php do_action( 'bp_after_directory_members_list' ); ?> <?php else: ?> <div id="message" class="info"> <p><?php _e( "Sorry, no members were found.", 'buddypress' ); ?></p> </div> <?php endif; ?> <?php get_footer(); ?>January 2, 2014 at 6:55 pm #176301In reply to: BP Single Activity Item View Breaks Page Layout.
modemlooper
ModeratorIf you have a properly coded WordPress theme you do not need to copy the BuddyPress folder unless you want to customize a template.
January 2, 2014 at 6:33 pm #176296In reply to: Profile Avatar does not crop properly please help
Matt McFarland
ParticipantI am having the same issue. intuition tells me this is a JS issue. Currently tested on Chrome.
Have left this issue (forgot about it) until I read this.
Here’s a few troubleshooting things you could try:
First the mundane things that should always be done when something isnt working right (lol):
0. Try in all browsers – see if this is a browser issue or not, clear cache etc
1. Try using buddypress default theme, see if it stops there then you know its something to do with your theme. (then we go from there)
2. If still having the problem, try without all other plugins disabled – if it works now then you know it has something to do with a plugin.Haven’t really dug into this (too many other irons in the fire!!) but am curious about it, hope you get it resolved and will follow this thread.
January 2, 2014 at 6:28 pm #176295In reply to: BP Single Activity Item View Breaks Page Layout.
Matt McFarland
ParticipantHi there,
I created my own theme and had to manually bp into it to get everything functioning properly.
What you do is make a subfolder called buddypress in your theme directory.
THen you want to copy /template/bp-legacy/* over to buddypress recursively.
To change the CSS, you’ll want to copy or create a buddypress.css file and put it in the buddypress folder you made.
hth
January 2, 2014 at 5:19 pm #176286In reply to: BP Single Activity Item View Breaks Page Layout.
modemlooper
ModeratorYou do not need to “integrate” BuddyPress with a theme in the current version. What theme are you using?
January 2, 2014 at 5:12 pm #176284In reply to: New great plugin, buddypress-wall by @megainfo
modemlooper
ModeratorWhat an exhaustive way to get “post to someone’s profile functionality”. This could have easily been done using the core activity stream without the need to remove and then replace with almost identical code.
You can add customized activity items with a custom post form. As for changing Activity text to Wall that is simple to edit as well. Adding custom template files for the activity isn’t a good idea as they can be altered in a theme.
Create custom activity using this function https://codex.buddypress.org/developer/function-examples/bp_activity_add.
January 2, 2014 at 3:39 pm #176279In reply to: Excluding Roles from the Member's Directory.
rianhall
ParticipantI am still having this problem and REALLY need a solution. I’m not a developer so ca anyone walk me through what I need to do?
so far I have added this to my functions.php
// to exclude only defined roles in the Buddypress Members LOOP function exclude_by_role($exclude_roles) { $memberArray = array(); if (bp_has_members()) : while (bp_members()) : bp_the_member(); $user = new WP_User( bp_get_member_user_id() ); $user_role = $user->roles[0]; foreach ($exclude_roles as $exclude_role) { if ($exclude_role==$user_role) { array_push($memberArray, $user->ID); break; } } endwhile; endif; $theExcludeString=implode(",",$memberArray); return $theExcludeString; }Then added this to my member-loop.php
$excluded_roles = array ('administrator', 'author', 'subscriber'); // this can be any roles you have set up if (bp_has_members( 'exclude=' . exclude_by_role($excluded_roles) . '&' . bp_ajax_querystring( 'members' ) ) ) :Unfortunately, no luck. It is not excluding any of the three roles noted above.
January 2, 2014 at 3:32 pm #176278In reply to: BP Single Activity Item View Breaks Page Layout.
davidassange
ParticipantOh, and am using the latest WordPress and BuddyPress.
January 2, 2014 at 1:31 pm #176276In reply to: change 'their' to 'his' or 'her' in activity stream
sundev
Participanthappy new year everybody.
Congratulations to us @mfmsw2youth. to get this solved.
@hnla. thanks for your contribution.
@buddypress newbies: Please ensure to put the code in your theme-child to keep the changes in the feature update.And of cause finally the BOSS himself 🙂 @henrywright-1. Thank you very, very much for the great code. It worked greatly.
January 2, 2014 at 11:48 am #176273In reply to: New great plugin, buddypress-wall by @megainfo
johnnymestizo
ParticipantI couldn’t get it working with the latest buddypress – just whitescreened my buddypress pages. (header still loaded.) will get back to you with some debug info…
January 2, 2014 at 12:51 am #176261In reply to: "Search" function in Forum
e-regular
ParticipantHi BuddyPress,
I am in the same boat as ProfC also – search functionality for BBPress forums is no longer functioning since I installed buddypress 1.9 with WordPress 3.8 – the URL does not change to http://domainname/search/blahblah when I hit submit.
Kind regards,
HenryJanuary 2, 2014 at 12:50 am #176260In reply to: Double message button
e-regular
ParticipantHi BuddyPress support,
I am having exactly the same problem. My website is http://plantswap.com.au – buddypress 1.9 with WordPress 3.8 install.
All Private Messages sent twice.
I am not using any other chat or PM plugins.
Cheers,
HenryJanuary 1, 2014 at 11:14 pm #176258In reply to: Changing slugs with bp-custom.php: No change!
January 1, 2014 at 10:43 pm #176255In reply to: Changing slugs with bp-custom.php: No change!
hughshields
ParticipantWith 1.8.1 I created a new page called “Clubs” and pointed the Buddypress Groups page to it so that the URL and breadcrumb now appear as “Clubs”. So this problem is now solved.
I would like to know the best way to change the word “Group” to “Clubs” on the rest of my site (Member Profile Tab etc). I see some very old threads that suggest using a language translation file but wanted to ask for the latest recommendations.January 1, 2014 at 8:34 pm #176248In reply to: change 'their' to 'his' or 'her' in activity stream
sunnyj
Participant@Henry
hope it will be okay writing it like this for clearity in case of anything happen? Also do I need to put the php tag as shown below:<?php
// filter gender field
function custom_activity_text_change_avatar( $entry, $user_id ) {
$gender = bp_get_profile_field_data( ‘field=Gender&user_id=’ . $user_id );if ( $gender == ‘Male’ ) {
$entry = sprintf( __( ‘%s changed his profile picture’, ‘buddypress’ ), $userlink );
} else if ( $gender == ‘Female’ ) {
$entry = sprintf( __( ‘%s changed her profile picture’, ‘buddypress’ ), $userlink );
} else {
// the user hasn’t told us if they are male or female so do nothing
}
return $entry;
}
add_filter( ‘bp_xprofile_new_avatar_action’, ‘custom_activity_text_change_avatar’, 10, 2 );?>
January 1, 2014 at 7:31 pm #176242In reply to: change 'their' to 'his' or 'her' in activity stream
Henry
MemberTry adding this to your theme’s functions.php file:
function custom_activity_text_change_avatar( $entry, $user_id ) { $gender = bp_get_profile_field_data( 'field=Gender&user_id=' . $user_id ); if ( $gender == 'Male' ) { $entry = sprintf( __( '%s changed his profile picture', 'buddypress' ), $userlink ); } else if ( $gender == 'Female' ) { $entry = sprintf( __( '%s changed her profile picture', 'buddypress' ), $userlink ); } else { // the user hasn't told us if they are male or female so do nothing } return $entry } add_filter( 'bp_xprofile_new_avatar_action', 'custom_activity_text_change_avatar', 10, 2 );Notes:
1. Your profile field should be called Gender and it should be a radio button. Options should be Male or Female
-
AuthorSearch Results