Search Results for 'buddypress'
-
Search Results
-
Hi @ all!
I’m going to get very frustrated soon, thats why I’m searching for some help here!
I do have a Buddypress installation on WP Multisite basis. This a community for young Germans, who do a social year abroad. Now we’re going to plan a new “Alumni-Community” for our former volunteers. For that we want to use another WP-Single installation – of cause – with Buddypress. What we want is that the useres are able to login into both sites with just one username and password. So I found this solution:
define(‘CUSTOM_USER_TABLE’, ‘wp_users’);
define(‘CUSTOM_USER_META_TABLE’, ‘wp_usermeta’);I put this into the wp-config.php of the new installation and it works perfectly. Now I’m able to login into both sites, because it shares the user tables of WordPress. But we have to go further: It should also use the same XPROFILE table, because the user registers for his social service e.g. with “In which country: Albania; How long: 12 Months; …” – and the Alumni-Community should use the same information from the same table. E.g. “Was in: Albania; For: 12 Moths;” …
So is there a way to tell Buddypress to use a table with another prefix in the same database?! Something like:
define(‘CUSTOM_BP_XPROFILE_DATA_TABLE’, ‘wp_bp_xprofile_data’);
If this is possible, the two communities could be synchron in users, user xprofile data, messages,… Right?!
I really, really hope that someone is able to help me. I’m going to get crazy with that!

Best and thanks!
Philipp
Topic: Moving Links around
Hello Everyone,
I am trying to move some links around from the main Nav to the sub nav ie:
sub of Profile
Privacy
SettingsSub of MyGroups
CreateI have added the following code to my themes function.php and it moves the links as I want, but the first part bp_core_remove_nav_item seems to disable the page load.
`function boone_remove_blogs_nav() {
bp_core_remove_nav_item( ‘privacy’ );
bp_core_remove_nav_item( ‘settings’ );
bp_core_remove_nav_item( ‘invite-anyone’ );
}
add_action( ‘bp_setup_nav’, ‘boone_remove_blogs_nav’, 15 );function bp_add_create_group_subnav() {
global $bp;
$groups_link = ‘/groups-2/’;
$settings_link = $bp->loggedin_user->domain ;/* Add the subnav items to the groups nav item */
if (function_exists(‘bp_core_new_subnav_item’)) {
bp_core_new_subnav_item( array(
‘name’ => __( ‘Create Clan’, ‘buddypress’ ),
‘slug’ => ‘create’,
‘parent_url’ => $groups_link,
‘parent_slug’ => $bp->groups->slug,
‘screen_function’ => ‘groups_screen_group_home’,
‘position’ => 40,
‘item_css_id’ => ‘home’ ) );bp_core_new_subnav_item( array(
‘name’ => __( ‘Settings’, ‘buddypress’ ),
‘slug’ => ‘settings’,
‘parent_url’ => $settings_link,
‘parent_slug’ => $bp->profile->slug,
‘screen_function’ => ‘xprofile_screen_edit_profile_mmc’,
‘position’ => 30,
‘item_css_id’ => ‘home’ ) );bp_core_new_subnav_item( array(
‘name’ => __( ‘Privacy’, ‘buddypress’ ),
‘slug’ => ‘privacy’,
‘parent_url’ => $settings_link,
‘parent_slug’ => $bp->profile->slug,
‘screen_function’ => ‘xprofile_screen_edit_profile_mmc’,
‘position’ => 30,
‘item_css_id’ => ‘home’ ) );}
}
add_action(‘groups_setup_nav’, ‘bp_add_create_group_subnav’);
`
I was wondering what I am doing wrong?thanks in advance.
On my multiuser site Streams etc. are there but I’m getting all sorts of errors due to links pointing to incorrect pages.
My site is at retrofitdiairies.org
For instance a buddypress profile points to http://user.retrofitdiaries.org/members/user/
Instead of as it should be: http://retrofitdiaries.org/members/user/
What can explain this? Was all working fine prior to upgrade to 1.5
Thanks
Topic: Moving Links around
Hello all,
This question is strange but how do I move links from the main nav to the sub nav under a specific parent_slug. i have tried this and it works kinda, except when i remove the links the function stops. In my themes functions.php i added:`function boone_remove_blogs_nav() {
bp_core_remove_nav_item( ‘privacy’ );
bp_core_remove_nav_item( ‘settings’ );
bp_core_remove_nav_item( ‘invite-anyone’ );
}
add_action( ‘bp_setup_nav’, ‘boone_remove_blogs_nav’, 15 );function bp_add_create_group_subnav() {
global $bp;
$groups_link = ‘/groups-2/’;
$settings_link = $bp->loggedin_user->domain ;/* Add the subnav items to the groups nav item */
if (function_exists(‘bp_core_new_subnav_item’)) {
bp_core_new_subnav_item( array(
‘name’ => __( ‘Create Clan’, ‘buddypress’ ),
‘slug’ => ‘create’,
‘parent_url’ => $groups_link,
‘parent_slug’ => $bp->groups->slug,
‘screen_function’ => ‘groups_screen_group_home’,
‘position’ => 40,
‘item_css_id’ => ‘home’ ) );bp_core_new_subnav_item( array(
‘name’ => __( ‘Settings’, ‘buddypress’ ),
‘slug’ => ‘settings’,
‘parent_url’ => $settings_link,
‘parent_slug’ => $bp->profile->slug,
‘screen_function’ => ‘xprofile_screen_edit_profile_mmc’,
‘position’ => 30,
‘item_css_id’ => ‘home’ ) );bp_core_new_subnav_item( array(
‘name’ => __( ‘Privacy’, ‘buddypress’ ),
‘slug’ => ‘privacy’,
‘parent_url’ => $settings_link,
‘parent_slug’ => $bp->profile->slug,
‘screen_function’ => ‘xprofile_screen_edit_profile_mmc’,
‘position’ => 30,
‘item_css_id’ => ‘home’ ) );}
}
add_action(‘groups_setup_nav’, ‘bp_add_create_group_subnav’);
`I would like to create my links like this:
Main
Send Invitessub of Profile
Privacy
SettingsSub of MyGroups
Create a groupMy client “accidentally” upgraded a buddypress pack about a month ago. I posted it on the forums here and someone responded telling me to delete that file. Unfortunately, when I try to look up that post here I can’t find it. When I click the link to see my activity/posts it takes me to a page not found error.
Sooo. That did the trick. Before I deleted that folder the entire site was broken and deleting it fixed it. However, something that we missed is that NOW when you go to the activity section of the community on the site we get this error:
Fatal error: Call to undefined function bp_is_single_activity() in /home/kerilyn/marriedtoachef.com/wp-content/plugins/bp-moderation/classes/bpModFrontend.php on line 65
Here’s a link: http://www.marriedtoachef.com/activity/ though I’m not sure you can see it if you’re not logged in as a user.
Can someone please help me with this issue? Thank you so much!
1. Which version of WordPress are you running? 3.1.3
2. Did you install WordPress as a directory or subdomain install? In root directory
3. If a directory install, is it in root or in a subdirectory? “
4. Did you upgrade from a previous version of WordPress? If so, from which version? No
5. Was WordPress functioning properly before installing/upgrading BuddyPress (BP)? e.g. permalinks, creating a new post, commenting. Yes
6. Which version of BP are you running? How do I find this info??
7. Did you upgraded from a previous version of BP? If so, from which version? No
8. Do you have any plugins other than BuddyPress installed and activated? If so, which ones? Yes, many: AddToAny: Share/Bookmark/Email Buttons, Advanced Most Recent Posts Mod, AVH First Defense Against Spam, Block Bad Queries (BBQ), Buddypress Humanity, BuddyPress Moderation, BuddyPress Private Community, Buddypress Sidebar, CommentLuv, CommentLuv, Erocks Dashboard Lockdown, FD Feedburner Plugin, Feedburner Email Widget, FeedBurner FeedSmith, Feed Stats for WordPress, Google Analytics for WordPress *these were already installed when the site was working fine before the accidentally update and subsequent folder deletion
9. Are you using the standard BuddyPress themes or customized themes? Customized
10. Have you modified the core files in any way?
11. Do you have any custom functions in bp-custom.php?
12. If running bbPress, which version? Or did your BuddyPress install come with a copy of bbPress built-in?
13. Please provide a list of any errors in your server’s log files.
14. Which company provides your hosting? Dreamhost
15. Is your server running Windows, or if Linux; Apache, nginx or something else? Not positive but I think Linux
