Search Results for 'buddypress'
-
AuthorSearch Results
-
January 4, 2014 at 12:42 pm #176397
In reply to: How to cut inside bp_current_action switch ?
Shmoo
ParticipantI think I’ve got it..
<div class="three columns"> <?php bp_get_template_part( 'members/single/messages/messages-loop' ); ?> </div> <div class="five columns"> <div class="msg-content-wrap"> <?php switch ( bp_current_action() ) : // Single Message View case 'view' : bp_get_template_part( 'members/single/messages/single' ); break; // Compose case 'compose' : bp_get_template_part( 'members/single/messages/compose' ); break; // Sitewide Notices case 'notices' : do_action( 'bp_before_member_messages_content' ); ?> <?php bp_get_template_part( 'members/single/messages/notices-loop' ); ?> <?php do_action( 'bp_after_member_messages_content' ); break; // Any other default : bp_get_template_part( 'members/single/plugins' ); break; endswitch; ?> </div>The only thing I still have to do is protect the column 3 – messages-loop.php from showing to the public or all logged_in users.
!Please do not use this code on Live BuddyPress sites!
January 4, 2014 at 10:38 am #176394In reply to: bp-default parent theme missing
modemlooper
ModeratorI created a version without BuddyPress that you can try
https://github.com/modemlooper/Buddy-DefaultJanuary 4, 2014 at 5:50 am #176392In reply to: Make BuddyPress | bbpress like Make.WordPress.org
julianprice
ParticipantThanks for sharing @modernlooper — I will check it out on how to contribute.
I think there could be room made at Make.Wordpress.org to encourage BuddyPress Community Engagement & Exposure because I see discussion merely on metadata group or other adhoc groups.January 4, 2014 at 5:46 am #176391In reply to: bp-default parent theme missing
blastblast
ParticipantPretty gutted by this decision to not support bp-default as it seems to support bbpress and for my site personally, like the emphasis on forums, members activity stream.
https://wordpress.org/themes/tags/buddypress
Looking through the handful of buddypress/bbpress focused theme, there doesnt seem to be one thats quite barebones-functional like the Bp-default. Blog-post on the left-center and members/log-in widgets on the right.Does buddypress have any plans to release a new “bp-default”?
thanks
January 4, 2014 at 5:14 am #176389In reply to: bp-default parent theme missing
modemlooper
ModeratorIf you have bp-default active it will still show when upgrading. If you deactivate bp-default it will not show.
Please consider moving your site to a new theme. There may not be fixes for any new features in the future.
The define listed above is for sites that do not want to upgrade theme right away. It was created as a fix to give sites time to move away from bp-default. Contact the theme developer and have them remove BuddyPress from your theme so it can use theme compatibility.
January 4, 2014 at 5:07 am #176387In reply to: bp-default parent theme missing
blastblast
Participanthi all
@mdpane The BP-Default theme is critical to my site. I am running wordpress and bbpress along with buddypress 1.9A couple questions:
1- Does this mean if I update to buddypress 1.9.1, my bp-default theme will disappear?
2- Regarding the solution you posted, of adding the code, what exactly does that do? Does it activate the BP-Default theme should you install BP 1.9 or latter?
3- Will/Is my current installed BP-Default theme in risk of not working in the future?
Thanks
January 4, 2014 at 5:02 am #176386In 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…
-
AuthorSearch Results