Forum Replies Created
-
Any edits to the core of buddypress will be lost when you upgrade. Not a great idea.
This is a feature that I would really like to implement as well. It seems strange to me that you are not notified when someone replies to one of your activity statements…
I subscribe to wpmu dev and their anti-splog plugin is worthe the fee alone….http://premium.wpmudev.org/project/anti-splog. It reduces the spammers to a trickle…
@hackcafejapan there’s nothing stopping you from doing it. Perhaps you should stop using ALL CAPS, and contribute to the open source project before you criticise it?
HI – I was wanting to do the same thing , and made my own functions from the two mentioned here:
https://buddypress.org/community/groups/how-to-and-troubleshooting/forum/topic/how-to-edit-user-and-options-navThen edited my template files to create my own sidebar and call my function:
/* / Create nested navigation items / <hr class="bbcode_rule" /> */ function my_bp_get_nav_nested() { global $bp, $current_blog; /* Loop through each navigation item */ foreach( (array) $bp->bp_nav as $nav_item ) { /* If the current component matches the nav item id, then add a highlight CSS class. */ if ( !bp_is_directory() && $bp->active_components[$bp->current_component] == $nav_item ) { $selected = ' class="current selected"'; //Get the sub-navigation items if currently selected $subnav_item = my_bp_get_options_nav() ; } else { $selected = ''; $subnav_item = '' ; } /* If we are viewing another person (current_userid does not equal loggedin_user->id) then check to see if the two users are friends. if they are, add a highlight CSS class to the friends nav item if it exists. */ if ( !bp_is_my_profile() && $bp->displayed_user->id ) { $selected = ''; if ( function_exists('friends_install') ) { if ( $nav_item == $bp->friends->id ) { if ( friends_check_friendship( $bp->loggedin_user->id, $bp->displayed_user->id ) ) $selected = ' class="current selected"'; } } } /* echo out the final list item */ echo apply_filters( 'bp_get_loggedin_user_nav_' . $nav_item, '<li id="li-nav-' . $nav_item . '"><a id="my-' . $nav_item . '" href="' . $nav_item . '">' . $nav_item . '</a></li>', &$nav_item ) . $subnav_item ; } /* Always add a log out list item to the end of the navigation */ if ( function_exists( 'wp_logout_url' ) ) { $logout_link = '<li><a id="wp-logout">root_domain ) . '">' . __( 'Log Out', 'buddypress' ) . '</a></li>'; } else { $logout_link = '<li><a id="wp-logout">root_domain . '">' . __( 'Log Out', 'buddypress' ) . '</a></li>'; } echo apply_filters( 'bp_logout_nav_link', $logout_link ); } /* / Edited bp_get_options_nav() to return a string / rather than printing directly to screen / <hr class="bbcode_rule" /> */ function my_bp_get_options_nav() { global $bp; if ( count( $bp->bp_options_nav[$bp->current_component] ) < 1 ) return false; /* Loop through each navigation item */ foreach ( (array)$bp->bp_options_nav[$bp->current_component] as $subnav_item ) { if ( !$subnav_item ) continue; /* If the current action or an action variable matches the nav item id, then add a highlight CSS class. */ if ( $subnav_item == $bp->current_action ) { $selected = ' class="current selected"'; } else { $selected = ''; } /* echo out the final list item */ $subnav_item_render = $subnav_item_render . apply_filters( 'bp_get_options_nav_' . $subnav_item, '<li id="' . $subnav_item . '-personal-li"><a id="' . $subnav_item . '" href="' . $subnav_item . '">' . $subnav_item . '</a></li>', $subnav_item ); } return '<ul class="subnav">' . $subnav_item_render . '</ul>' ; }
I’ve had a similar forum problem on one of my installs of BuddyPress – and I’ve not been able to solve it. But I haven’t tried very hard. I too am interested in any troubleshooting adice for this issue
I’ve been having trouble with my forums for a long time – and tried reenabling them to try this process of turning them on and off again – no luck
Actually – I think I might have done the same thing with the wp-cache plugin. turned it on and then turned it off. That must have been what happened.
I’d like to know more about querying groups through the BP API. I put together my own SQL query to get the last 5 activity updates from a group. I was unsure how to pass the required variables into which function to achieve this through a BP call.
Absolutely. An iPhone app for buddypress would be very cool.
I have found a solution to my problem – but don’t know exactly why these issues arose. I shall elaborate in case anyone else has similar problems:
I have also been experiencing problems with the themes for blogs being all messed up. Regardless of how they were activated – either globally or on a blog-by-blog basis, they never displayed properly. Possible an obscure redirect issue. At the same time I was experiencing the messaging issues for which I started this thread.
I think that these problems cropped up sometime between:
– upgrading from WP MU 2.9.1 > 2.9.2
– upgrading Buddypress 1.2.x > 1.2.3
which were both done manually AND
– trying out a whole buch of plugins that had not been tested (or verified) to work with my versions of BP and WPMU.So I rolled the whole site back – files and mysql to about a month ago – before I upgraded and fucked up my database. Then copied any posts, files, members, activities etc from one database to the other…
So the lessons I learned from the sorry mess is:
– Backup regularly (this goes without saying)
– don’t try out spurious plugins that may damage your install (and lead to days of head-beating-on-wall WTF? moments)Also – running the whole site on Amazon Web Services which gives you cheap access to ubiquitous storage (S3) at insanely low cost. So I run a script that backs up all files and mysql from the site daily and hang the GB that will accrue – because each GB cost something like $0.01 – or something….And this just saved my sanity.
Regards
Ajax
I just swapped my site back to the default buddypress theme and am still experiencing the same problem. So switched back to the bp-widget theme that I had tweaked for the look and feel that I wanted.
Might be something weird going on with a database query or something cached?
Hi – I’ve got a child theme – it’s based on modemlooper’s bp-widget theme. bp-widget is a child theme of the default. I hadn’t thought of switching themes to try and sort it out.
I’ll give that a go and post back if I have any success.
I did try deleting the user who all messages were going to and that did not solve the problem.
I just made an account on our.windowfarms.org and see the same problem. a user adamrd is the recipient of all messages. What them are you using neufuture?
BTW: I love the windowfarming idea. Looks great.
cheers