Forum Replies Created
-
In reply to: Groups vs Roles vs Custom Profile Fields
I know this is a little back from the dead, but I would go about this in a totally different way myself.
I would use good old WordPress usermeta, and have three different registration screens. Giving users the ability to choose something will more often than not confuse them. If you give them a dedicated registration with only the options they need, that will yield better results.
I have a post around here somewhere on how to assign usermeta values directly from registration. Then rather than trying to group users together, rather than wasting a profile field that you eventually have to hide or prevent users from changing, and rather than creating custom user role types, you can just check the meta and go. And if they upgrade their account, you just update the usermeta value.
Custom user roles is a good idea too, but it comes with a little more work to make things cooperate the way you want to use them.
In reply to: Group Admin, title change.Have a look at this topic about changing built in vergiage. Probably would have saved you some time.
In reply to: Photo Albums…. omfg!!@swaymedia, sorry you feel that way, but I hope you at least come back once and see that you’ve made a mistake.
In reply to: buddypress-mu possible yet?Check out “/wp-admin/users.php” and snag the code from there. It should give you more than enough examples on ways to filter the users on that specific site. I think it should include pagination, user type, etc…
The key for you will be making sure that the right members are subscribers of the correct site. If you have multiple domains or multiple registration pages (for each site) that should be pretty straight forward.
In reply to: BuddyPress Geo pluginIn my opinion, the downfall of this plugin is that it uses JS to hide xprofile fields that store the lat and lon instead of just using user-meta. That and it just works a little strangely, and I couldn’t really figure out why I wasn’t comfortable with it.
I’ve got a re-engineered version of this plugin I’m using for a client at the moment, and will probably give that code back to the devs of this plugin to be reused for later.
In reply to: buddypress-mu possible yet?@anointed, if you wanted to just make it so you’re grabbing the user list of a blog instead of the members list, that’s very possible to do. But you will still probably want your root blog to be the center of all members.
Like andrea_r said, I imagine that MU is in a feature freeze at the moment until 3.0. All the devs are going to have their hands full rearranging the code to make it fit into normal WordPress so it’s a smooth transition for everyone.
In reply to: Friends and Groups for BuddyPress 1.3Saying that friends would be “deprecated” maybe was a bad idea.

The friends component is basically done, and doesn’t need much more development, because it’s a means to an end, and a dead one in my opinion. You add someone as a friend, they accept, now you’re friends. But that doesn’t actually mean you’re really friends, nor does it make BuddyPress function differently when viewing other users. Not to say you can’t build custom functions around the “if we’re friends do this, if not do this” way of doing things, but that involves template switches and chopping up code for 1 specific type of relationship with no depth or scope or ability to reuse or repurpose.
It will come to a point where we either build out the friends component with an API that lets “friends” tag each other, categorize each other, and plugin to it (like groups already has, think “friends calendar” functionality,) or we use what’s already here, eliminate duplicate code and functionality, and add a few extra brain cells to the groups component.
The best way to explain why I think this is a good idea (from all perspectives) is that it gives the group component more or less flexibility, by giving it a range that it can reach based on what the site admin allows, and what the user allows, from within an API that already exists.
Real world example: Go to testbp.org and create a group. A group about what? Well, BuddyPress obviously, since that’s what the website is about. What if I don’t want the people in that group to talk to each other, but I just want to group users together that I’ve met in real life? Or at WordCamps? I can’t… They’re not my friends, they’re not colleagues or really even acquaintances, but I met them and want to stay connected somehow. I make a group called “Met at WordCamp”, I check the “User Group” option, I don’t create a forum because they don’t need to talk to each other through me, I add the people I met, and I made a group of people. Now, if I want to talk to all of them at once, I use the activity stream and since they’re all in that group, they get it on their feed and they can all reply to that stream item.
It’s a way to isolate people you already know, and put them in a box for later. BuddyPress already does a wonderful job of making sure you have access to all sorts of information, from people, blogs, groups, and friends. What about when I want to start narrowing down all that information and isolating it into what I think I want to see, and who I want to talk to? That’s what this would/could/should do.
And if your site needs the friends functionality exactly the way it is, it would still be available in exactly the same way it is now, with the same database structure and code and filters and everything else. Only you would need to install it as a separate BuddyPress “add in” like what will happen with the wire component for 1.2.
Maz, I get that “friends” is a very simple 1 to 1 relationship that makes data management easy, but it’s also severely limited in the functionality that it provides. If we grow out the friends component, it would only be to include more group like functionality anyway, right?
At the end of the day my feelings won’t be hurt if the idea gets voted down, so keep pouring on the feedback and brainstorming. It’s been a really great discussion so far and I’m pumped that everyone’s this interested and passionate about the idea.
In reply to: Favorite button available on single.php?I’ll have a plugin for BuddyPress post favorites soon. It’s mostly finished but needs some cleaning up for other peoples eyes.
I suspect it’s similar to a Windows environment in the way that Eclipse, Netbeans, or any other IDE works. Basically it’s up to the OS and MAMP/WAMP/XAMPP/IIS to shake hands first and agree on how Localhost works. Once that’s done, the IDE is basically just a wrapper for your SVN repository that does the fun stuff like syntax hi-lighting, FTP, debugging, etc..
In reply to: Should I still use bp_custom.php in BP 1.1.x?bp-custom.php loads up before any BuddyPress components do, and functions.php loads after all plugins and WordPress core code does.
So it isn’t a matter of “if,” it’s a matter of “why.”
Basically…
Use bp-custom.php to override core BuddyPress settings like slugs or constant values, or to load specific code BEFORE BuddyPress loads for whatever reason you might need to.
Use functions.php if you need to add actions or filters to BuddyPress things. It’s good practice to make sure that actions and filters exist before attaching code to them. If you add a filter to a function that doesn’t exist yet, or you add it before/after the code is loaded/executed, then you’re ahead/behind the action/filter curve, so to speak.
Different files for different purposes.
@neverhurry, best place will probably be the functions.php in your active theme directory, but you could make a custom plugin for it too.
In reply to: buddypress-mu possible yet?@anointed, not in the way I think you want it to work, no… With different users on different sites/blogs having their own BP userbase.
You still could bend the groups functionality around this though, it would just take some creative theme work.
Try…
function bp_custom_activity_content_length( $content ) {
return bp_create_excerpt( $content, 200 );
}
add_filter( 'bp_get_activity_content', 'bp_custom_activity_content_length' );In reply to: Help – all activity streams brokenThe database structure for the activity component changes quite a bit from 1.1.3 to 1.2/trunk.
That’s a tough lesson to learn, but we all have gone through it at least once.
In reply to: Friends and Groups for BuddyPress 1.3If this was the direction we’d go, it would probably be something like:
1. Deprecate “Friends” component code into a separate downloadable plugin that can still be used exactly like it is now, just not part of the core anymore.
2. Merge friends functionality into private “user” groups so that developers can choose to ditch the “friends” model if they want, rename it to “homies” or “classmates” or whatever, or keep it if they’d like to. (Boone is right on this one; the skin on top of this additional group functionality would make “friends” look and work pretty much identical to how it does now.)
3. “Friends” would replaced with the core ability to “follow” peoples activity, and for your activity to be followed by others. (Andy and I have also tossed around the idea of when people follow each other, that an automatic friendship is assumed.)
Thanks again everyone for joining in on this with your opinions. Our goal is to keep each component as flexible and adaptable as possible, while avoiding code bloat and also trying to avoid duplicating similar features that could just be one flexible component.
You’re all awesome.
In reply to: Friends and Groups for BuddyPress 1.3@erich73, this idea actually helps your issue along, as it would allow you to rename “friends” to be anything you want it to be. In theory, your users could group people together that they’ve gone on dates with, if not for any other reason but grouping them together for their own sake. In some cases the term “friends” isn’t accurate, and all that friends are is a group of users that have a specific scope of access.
This idea could even be used to group people together that you don’t want to access your profile. Or you could group people together that you work with, family, etc… Or you could use groups in the same old traditional manner to create little micro communities within a website.
Again, this is all just theory and talk at this point. The point of this topic (and the trac) is to open up the idea for community discussion to get opinions and ideas before I/we decide to pull the trigger(s) and make it so.
In reply to: Forum topic delete doesn’t delete “activity” feedsWhich version of BP? This will be fixed in 1.2 as I think it’s just a missing or incorrectly named action.
In reply to: Performance problem 100% CPUAny server admin types want to chime in on this one?
I want to respond with the typical “Does it happen when BP is not active? Check your access logs/Check your PHP config” answers, but that doesn’t solve the problem.
In reply to: Follow BuddyPress development on TwitterHuh… Thought I fixed that. Looks like it crept back in. I’ll check it out.
In reply to: Unwanted profile/register page redirectsTrunk changes daily and often times a few times per day, so you’ve probably got an incomplete revision.
https://trac.buddypress.org/log/trunk for the log.
In reply to: BuddyPress Editable Group Slugs@erich73, yes it’s possible to do, but I’m not sold that it’s a good idea to auto change slugs. Right now it works the same as WordPress does. Since slugs are important for SEO, automatically changing them can do more damage than good.
I’ll probably make it an option via a constant because I can see value in this for some setups.
In reply to: Activity DB Design DiscussionCheck trac ticket #1479 for continued discussion on having a base component.
In reply to: Activity DB Design DiscussionI’d ultimately love to see things go in that direction, and have been sifting through code the past few days thinking of how to get more red in the trac than green.
However, if this was the case, and activity had a component scope and a serialized array of return values, then you could replace private messaging with a threaded activity stream that only the users involved in that thread can view. You could send activity to multiple groups at a time, or only 1, or all of your groups, or the entire site, or any other registered components serialized set of values that mean whatever they mean.
You can almost replace the notifications class all together too, because if you take a count of the number of activities a user has directed at them and store it in usermeta, when the user returns if that number is higher, there’s your total notifications. Filter those new activities and now you can see how many of each. Actually, the code already exists within both WP and BP to do this.
In that regard, the activity stream does start to replace core communication components like forums, private messages, status updates, notifications, and the wire. At that same time, BuddyPress becomes less about separate components with their own API’s and classes and subsets of functions, but more about creating new methods for users to interact with each other in specific scopes of communication.
You could take things like twitter lists and make them work both ways, where you could send a message/comment/update/picture to only specific users instead of only viewing tweets from users. You could create an endless array of ways and names for collaborative tools to develop the platform from within the platform. It’s basically the blog post_types concept attached to people’s activity instead of re-categorizing blog posts.
The way to further develop groups would need a whole new topic, but I’ve got some ideas for that too.

@mrmaz, what you propose is the fundamentals of how I’ve approached my development before finding WP; start with small basic classes and work my up in functionality. There very easily could be a basic “bp_component” class where every new component just extends off of that, and sets the needed vars and assigns the needed functions accordingly.
In reply to: Activity DB Design Discussion@ron/@maz@andy, I think that’s the way to go, and not unlike what already happens in terms of how activity gets in there.
I do like the idea of private messages going in there too… Huh.
Is it possible Andy that you just made one component to eliminate all the others? haha! I mean really if components can register themselves, then there’s no need for an activitymeta table, since the very act of interacting with an activity stream is in itself an activity. Think of the traditional facebook like/dislike setup. When I “dislike” a comment, that creates an activity that I disliked it, which is attached to the activity item I disliked.
It’s rather genius in a way. Huh again…
@trevorscottcarpenter, there’s three ways I can immediately think to do this…
1. Create a custom group component that isn’t a “forum.” Extend out the Group API to include a new sub component specifically that does what you want it to.
2. Create a plugin for BP forums to allow for “private” forum topics. Have it hook into the activity filters and actions and stop those processes from happening so they don’t appear in the site wide activity. This doesn’t prevent non-group members from interacting with the topic however.
3. If you’re okay with having the entire group forum be “private” but need the groups to be “public” then check if a user is a group member before displaying the forum. If not, create a message and redirect them to group root.