Forum Replies Created
-
Your menu bar seems fine to me without login.
For displaying a shortcut to the logged in members profile in this bar
Create your own function like bp_adminbar_authors_menu for logged in members profile and add an action to bp_adminbar_menus
e.g.
function bp_adminbar_logged_members(){
....
....
}
add_action( 'bp_adminbar_menus', 'bp_adminbar_logged_members', 100 );Uncomment the following line in at wp-content/themes/bphome/style.css
@import url(css/custom.css);
Plugin has been updated, please download it from http://manojkumar.org/wp-content/uploads/bp-bulk-import.zip location
I don’t want to encourage you to do hard-coded changes, but if you want to, here are the instructions
1. Open wp-content->plugins->buddypress->bp-core->bp-core-classes.php
2. replace line 247 and 248 by following code
$total_users_sql = apply_filters( 'bp_core_search_users_count_sql', "SELECT DISTINCT count(u.ID) as user_id FROM " . CUSTOM_USER_TABLE . " u LEFT JOIN {$bp->profile->table_name_data} pd ON u.ID = pd.user_id WHERE pd.field_id=1 AND pd.value LIKE '%%$search_terms%%' ORDER BY pd.value ASC", $search_terms );
$paged_users_sql = apply_filters( 'bp_core_search_users_sql', "SELECT DISTINCT u.ID as user_id FROM " . CUSTOM_USER_TABLE . " u LEFT JOIN {$bp->profile->table_name_data} pd ON u.ID = pd.user_id WHERE pd.field_id=1 AND pd.value LIKE '%%$search_terms%%' ORDER BY pd.value ASC{$pag_sql}", $search_terms, $pag_sql );in above code “pd.field_id=1” should be the id of Full Name field ( I think its 1 )
Add a filter on bp_core_search_users_count_sql and bp_core_search_users_sql with an extra parameter
pd.field_id=1 and pd.value LIKEHi ougian,
Have you followed instructions given on following link?
https://trac.buddypress.org/browser/trunk/bp-forums/installation-readme.txt
I think you have missed following line at the end of bb-config.php file
$bb->bb_xmlrpc_allow_user_switching = true;May I know versions of BuddyPress and WPMU?
Could you rephrase it with page URL?
I am not able to visualize, which page you are referring to.
If you are referring to theme changes, you can control it from following files
bp-themes/bpmember/directories/blogs/index.php
bp-themes/bpmember/directories/blogs/blogs-loop.php
bp-themes/bpmember/directories/groups/index.php
bp-themes/bpmember/directories/groups/groups-loop.php
bp-themes/bpmember/directories/members/index.php
bp-themes/bpmember/directories/members/members-loop.php
Its a customized theme
Deanes02, Please turn on the Green light
jgadbois – You can’t install WordPressMu with www. it automatically remove www. from your domain.
I have written a post on How to install WordPressMU with www. you can refer to that.
Please check wp_bp_xprofile_groups table in your database, it seems that there is a group exists with blank name field.
Can you please provide us your site URL to check?
When I add tag in Group its says
string 'http://domain.com/groups/admin-group-name/edit' (length=49)Thanks for the quick answer. Yes, I want to use it in my own component.
Hi Burt,
This seems amazing! looking forward to use the same.
Can we use this along with our custom developed component?
Thanks
I know that by hardcoding this to something like this might work but can we do this without hardcoding and by hiding menu?
if ( $bp->current_component == $bp->wire->slug || $bp->current_component == $bp->profile->slug ) {
return apply_filters( 'bp_get_wire_get_action', $bp->displayed_user->domain . $bp->wire->slug . '/post/' );
} else if ($bp->current_component == $bp->custom_component->slug) {
return apply_filters( 'bp_get_wire_get_action', $bp->displayed_user->domain.'/' . $bp->custom_component->slug . '/wire/' );
} else {
return apply_filters( 'bp_get_wire_get_action', site_url() . '/' . $bp->{$bp->current_component}->slug . '/' . $uri . '/' . $bp->wire->slug . '/post/' );
}1. Delete all tables created by bbPress from your database
2. Install bbPress without integration with wordpress
3. Login with Key Master
4. Go to admin tab
5. Do wordpress integration
Your code should look like this
Its very simple
1. Login with admin id
2. Paste following in your address bar and press enter
Note: Replace “http://youdomainname.com” with your domain name in above url
3. Do editing as you want and save for changes.
For displaying admin post only use following steps
1. Use \”Recent Blog Posts\” widget
2. Open bp-blogs-widgets.php under mu-plugins/bp-blogs
3. Paste following code at line no. 36 i.e. just after
<?php foreach ( $posts as $post ) : ?><?php if ($post->post_author==1) {?>4. Close } at line no. 50 i.e. just after end of li
5. Done!
You can upload it on your site and provide a link here.
Check your Daylight setting in options
Time may be incorrect because you have not adjusted the offset in the WP admin panel for daylight savings.
Any Suggestions?