Forum Replies Created
-
In reply to: Forum Categories
Tags, however, would require that a user knows to tag his topic so that it shows up under the correct category. It would be much more handy to have categories that a forum administrator can organize.
In reply to: How to Exclude a Group From the Groups LoopThanks @nahummadrid ! This works:
while ( bp_groups() ) : bp_the_group(); if(bp_get_group_name() != ‘MyGroup’ ) :
I think I’ll post something about this on wpmu.org because it seems like a pretty common request. I wish there was some kind of exclude parameter instead.
In reply to: w3 total cache – what folders and files to exclude?Pedro – what rewrite rules were you missing? I’m curious because I am trying to get cdn working with WPMU and having an issue with it rewriting the URLs to the files folder the way wpmu normally does.
Would love to see a quick example

@Boone Gorges – thanks for putting me on the right track. I’m still not getting it right. Forgive me if this is really wonky:
So I’m in the edit.php file and after this part:
if ( bp_has_profile( ‘profile_group_id=’ . bp_get_current_profile_group_id() ) ) : while ( bp_profile_groups() ) : bp_the_profile_group();I have added the following:
if ( bp_the_profile_group_name() == ‘personal’ && get_usermeta( $bp->loggedin_user->id, ‘114’ ) ) {
( bp_has_profile( ‘profile_group_id=1,3,4’ ) ) : while ( bp_profile_groups() ) : bp_the_profile_group();
}The 114 is the meta_value for personal selection in the profile field wherein I ask them to select Personal, Business, or Artist. The profile group name ‘personal’ is one of the field groups that applies only to ‘personal’ accounts. (<- definitely not sure if I'm doing that right)
I’m thinking I have a few things out of order…Thanks for the recommendation @BOW. Paul – I’m trying to hide particular field groups on the edit page. I set the user type in a field group called “Accounts” (radio select Personal, Business, or Artist) which I have appended to the registration process. Then, based on their answer there I want to show or hide different field groups in the profile edit page and profile display page. I also want to hide the “Accounts” field group from everyone so that they can’t change that after registration.
In reply to: Different profiles for different user typesAlso interested in doing this….
In reply to: Integrating BP search into custom componentsWhat else would it take beyond adding it in here at the core?
function bp_core_action_search_site( $slug = false ) {
global $bp;if ( $bp->current_component == BP_SEARCH_SLUG ) {
$search_terms = $_POST;
$search_which = $_POST;if ( !$slug || empty( $slug ) ) {
switch ( $search_which ) {
case ‘classifieds’ : default:
$slug = ”;
$var = ‘/?s=’;
break;
case ‘members’:
$slug = BP_MEMBERS_SLUG;
$var = ‘/?s=’;
break;I’m trying to do this too but not having any luck…
In reply to: How to DIsplay Only Required Fields on SignupYes it works great! Thanks Brajesh!!! I don’t know why I was spending so long busting my brain to find parameters that would modify the loop
Should have posted here a couple hours ago. hahaIn reply to: How to DIsplay Only Required Fields on SignupDoes this part of the profile loop accept any parameters?
while ( bp_profile_fields( ) ) : bp_the_profile_field( );For example I’d like to only include the name field, which is the core field that is required, and not all the other extra fields. So I tried this but it does nothing:
while ( bp_profile_fields( ‘field_id=1’ ) ) : bp_the_profile_field( );Since that’s the only required field I have, it would work if I can customize the loop to show only required fields, only that one field, or a max=1 but none of those seem to work. This is on the signup page, by the way. Is there an easy way to do this that I’m missing? Could anybody point me in the right direction? Thanks!
In reply to: How to DIsplay Only Required Fields on SignupWhoops , it stripped the code… lemme try again:
Does this part of the profile loop accept any parameters?
”
For example I’d like to only include the name field, which is the core field that is required, and not all the other extra fields. So I tried this but it does nothing:
”
Since that’s the only required field I have, it would work if I can customize the loop to show only required fields, only that one field, or a max=1 but none of those seem to work. This is on the signup page, by the way. Is there an easy way to do this that I’m missing? Could anybody point me in the right direction? Thanks!
In reply to: New Facebook LikeHere’s the tutorial about how to do that:
How to Add the Global Facebook Like Button to BuddyPress Profiles and Activity Stream Items –
In reply to: New Facebook LikeYou can also use XFBML. It is more flexible than iframes, but requires you use the JavaScript SDK. So that’s another option if you don’t like the iframe.
In reply to: New Facebook LikeI’d love to hear another way to do this
I’m no expert, just trying things based on the facebook dev documentation.
In reply to: New Facebook LikeYes, here’s how you do it for items in the activity stream. Open entry.php and then paste this in there kind of around where you see the favorite buttons – probably you want it only available if a user is logged in:
<iframe src="http://www.facebook.com/plugins/like.php?href=<?php bp_activity_thread_permalink() ?>&layout=standard&show-faces=true&width=450&action=like&font=arial&colorscheme=light" scrolling="no" frameborder="0" allowTransparency="true" style="border:none; overflow:hidden; width:450px; height:px"></iframe>This will work for you but you should then style it so it doesn’t take up weird amounts of space. I’m writing up a whole tutorial on how to use this with BuddyPress. It will publish tomorrow at 10AM eastern time. I’ll post a link here.
Super cute. Love this idea
In reply to: Ning.com Migration Tool (NMT)I believe in solutions – paid or free, it doesn’t matter. People have different needs. Those involved in the BuddyPress community have varying amounts of time that they can spend in the forums or writing plugins, etc. Permitting each other that kind of freedom is where true creativity flourishes, not under some kind of unspoken mandate of the collective. It’s time for the premium theme market and premium plugin market to be treated equally. If you purchase a beautiful WordPress theme that took weeks of design, creativity, and theming, nobody bats an eye. Code is poetry in this same sense. When someone writes a new plugin, his freedom to choose whether or not to sell it or give it away for free is really far more important than the plugin itself.
Even though we sell premium plugins, we also have loads of free resources and tutorials on our sites and promote all kinds of solutions, both paid and free. If I personally write a plugin, I like to give it away for free. That’s because I’m not a real programmer and I don’t have the ability to provide decent support. However, I fully support the right of extraordinarily talented people like Aaron or Andy or Boone to be paid for writing for BuddyPress or to give it away for free. All that to say that I’m grateful to many people in the BuddyPress community for their hard work, and it is none of my business how they are compensated or not compensated for it. I simply enjoy learning and building together.
I’m sure that if we could all meet up and have a beer somewhere, we’d have far more mutual respect for the talents and liberties of others.
In reply to: I would like to disable Email activationDoes this also work with the BP Compatibility plugin or would there be an extra step? I have no problems getting this hack to work with single user WP + BP. However, when I try it with WPMU, it doesn’t work. I thought perhaps it was due to the fact that I’m using the Compatibility plugin in conjunction, but even when that is deactivated the hack isn’t working. Thoughts?
In reply to: Cannot modify header informationTry the same with your functions.php file (deleting extra spaces at top and bottom) and then if that doesn’t fix it, I’d check on your wp-config.php file and see if there’s a space in there. I wrote about this error the other day as many people seem to have it:
This might seem silly – you’ve probably already tried this… but make sure you login as the admin to the group you’re trying to post to and enable forums for that specific group.
In reply to: New Plugin: Friends-Only Activity Stream@gregfielding Yes, you can do that. I’m not sure if this is the best way (definitely open to more input!) but where you see this:
function my_is_friend_check( $friend_id = false) {
global $bp;
if ( is_site_admin() )
return true;
if ( !is_user_logged_in() )
return false;Change that last part to:
if ( !is_user_logged_in() )
return true;In reply to: New Plugin: Friends-Only Activity StreamThat’s what it’s supposed to do.
In reply to: New Plugin: Friends-Only Activity StreamIt works with WP single user for me… What errors are you getting?
In reply to: New plugin: BP Group ManagementThanks. Love this plugin! Am writing a review of it tonight
Actually, it only shows friends but you could modify it to show the friends who are online.
Or I can do it when I get a free minute.