I am working on my group categories plugin and I don’t know how to organize users picking which category their new group belongs to. I don’t want it to be a whole step like the BP Group Extension makes it because the problem is the way buddypress is designed new groups are created and added to the database after the first group creation step.
If a user only does the first creation step and then goes to a new page then the group meta for my plugin is never set. In order for all the features in my plugin to work the meta must be set for each group. Is there anyway to add my creation step at the end of the first creation step… like right below where the user enters the description for the group? .. Anyone have any ideas?
@pjnu – I would use WPMU 2.9.2. You could already start developing and testing in WPMU 2.9.2./BP 1.2.4.1 where there are many versions-compatible BP plugins to play with. Furthermore, upgrading from WPMU to WP 3.0 is so much easier than setting up WP 3.0 and making it multisite (so many steps). Also, WP 3.0 rc2 with BP 1.2.4.1 is still quirky and many BP plugins do not work with the new set up as Pages will be used in rendering BP components. Just my 2cents to avoid frustration.
I solved this but only in a fashion. My solution is not update-proof. All I did was copy/paste/modify the relevant functions into my functions.php file.
Relevant functions (copy into child theme’s functions.php file):
– search_friends() in /plugins/buddypress/bp-friends/bp-friends-classes.php
– bp_dtheme_ajax_messages_autocomplete_results() from /plugins/buddypress/bp-themes/bp-default/_inc/ajax.php
Changes (in child theme’s functions.php file):
– renamed both functions (make sure to change all references within the code as well)
– changed $fids = implode( ‘,’, $friend_ids ); to $fids = implode( ‘,’, $wpdb->get_col( “SELECT $wpdb->users.ID FROM $wpdb->users”) );
– commented out the action hook from parent ajax.php file.
If someone knows a smarter way to do this… or at least a way to do it without having to hack the ajax.php parent file… let me know. Nothing I did in my child theme would remove that function. Nothing! Argh. At least the hack is simple. Just commenting out a single line at the bottom of the ajax.php file. I can deal with that.
wait for version 3.0 to be release
wpmu2.9.2 is basically a merge of standalone wordpress and wpmu.
you can enable multisite (wpmu) in 3.0 by a simple wp-config.php file edit
Mercime – I guess I neglected to mention – not using MU for this, its on plain ol WordPress (and on 3.0 RC2) – – – so I’m guessing what you mentioned can only be accomplished using WPMU?
Your second WP install in subdomain should be installed in the same database (with different prefix) with your first WP install. Btw, backup your database before trying this. So in wp-config.php of the second WP install, just before “That’s it, you can stop editing” you should also add:
define(‘CUSTOM_USER_TABLE’, ‘wp_users’);
define(‘CUSTOM_USER_META_TABLE’, ‘wp_usermeta’);
Having said that WP 3.0 is around the corner, when you upgrade you can make your install multisite and define BuddyPress in subsite in subdomain or subdirectory structure, and you have one log-in for members to access both areas.
1. A standard WP install, with the Password plugin (to make private) for the news side
2. A WP install with BuddyPress on a subdomain for the “community side”
Is there any way to “pass” along the login information when they login to the initial WordPress side? I don’t want my members to have to login twice – once to see the news, and then again to login to the community.
I’ve got the exact same problem. Its a bit frustrating needing to deactivate Flutter anytime I want to change a buddypress setting. Does anybody have any suggestions on what could be causing it?
When i create a new group/forum post i get this error:
Warning: Call-time pass-by-reference has been deprecated; If you would like to pass it by reference, modify the declaration of apply_filters(). If you would like to enable call-time pass-by-reference, you can set allow_call_time_pass_reference to true in your INI file in /wp-content/plugins/buddypress/bp-groups/bp-groups-notifications.php on line 33
Since the domain i’m currently under has a very important site on it i don’t want to edit my php.ini so I’d like to modify the declaration of “apply_filters()” but what do i modify??? Help!
I have recently installed wordpress (which is working fine) and I now want to add buddypress plugin. I go to add plugin and then I search for buddypress and i click on install. Then it requests username-password and host name, but when I click on continue, there is a message that “Cannot find the WordPress (wp-content) content folder”. I logged in with filezilla just to check that there *is* such folder, and as it should be there is. However, I cannot understand why it cannot find it. Is it because I have the “greek” version? However, folder names are still in english…
So this all worked perfectly (thanks @r-a-y) for me, except for one thing. When a person visits a group they would like to join, they are redirected to the home page. My guess is the home/activity page for each buddypress group contains a piece of code to check if the user is logged in or belongs to the group. If they aren’t they are presented with an error message saying they must join the group. With bp-custom in place, the new forum page, I’m assuming, doesn’t have that check and balance and just redirects them back to the root. Any thoughts on this?
@jamiewarren09 – ah, I just checked your profile and it seems I answered one thread before …
In any case, it has to do with your theme’s home.php and/or widgets you added in the home page’s widget areas. So you’re using the Church theme of studiopress. So open up home.php file and see if the member’s profile’s hardcoded into it, and if not, go to Appearance > Widgets and remove the possibly random member widget from home area.