Forum Replies Created
-
Just wanted to see if somebody could help me out with the code above – I put it in bp-custom.php and it throws this error:
`Fatal error: Cannot redeclare bp_has_forum_topic_posts() (previously declared in /home4/mysite/public_html/classroom/wp-content/plugins/bp-custom.php:60) in /home4/mysite/public_html/classroom/wp-content/plugins/buddypress/bp-forums/bp-forums-template.php on line 1131`
Thanks much
The code here works:
`/* Redirect BP group to forum tab rather than activity tab */
function redirect_group_home() {
global $bp;
$path = clean_url( $_SERVER );
$path = apply_filters( ‘bp_uri’, $path );
if (bp_is_group_home() && strpos( $path, $bp->bp_options_nav[$bp->groups->current_group->slug] ) === false ) {
if ($bp->groups->current_group->is_user_member || $bp->groups->current_group->status == ‘public’) {
bp_core_redirect( $path . ‘forum/’ );
}
}
}
function move_group_activity_tab() {
global $bp;
if (isset($bp->groups->current_group->slug) && $bp->groups->current_group->slug == $bp->current_item) {
unset($bp->bp_options_nav[$bp->groups->current_group->slug]);
}
}
//The following line redirects to a group forum page rather than a group activity page
add_action(‘bp_init’, ‘redirect_group_home’ );
//The following line removes the group activity tab entirely
//add_action(‘bp_init’, ‘move_group_activity_tab’);`However, it renders the activity update button useless (i.e. can’t post activity updates in a group!). Removing the code from bp-custom makes group activity updates work, putting it back in breaks activity updates Any hints?
Ha, I removed it at one point and now can’t remember how to add it BACK I did it in the theme’s CSS somehow…
Well, it seems that ONE plugin breaking it is BP Members Map
I turned on error reporting and got this:
Fatal error: Cannot access empty property in /home4/daisypee/public_html/classroom/wp-content/plugins/buddypress/bp-core/bp-core-template.php on line 693
In that file, on line 693, is this:
` if ( isset( $bp->{$component}->root_slug ) &&`
Which is part of:
` // Loop through active components and look for a match
foreach ( $bp->active_components as $component => $id )
if ( isset( $bp->{$component}->root_slug ) &&
!empty( $bp->{$component}->root_slug ) &&
$bp->{$component}->root_slug == $root_slug )
return $bp->{$component}->name;return false;`
Does that help solve my issue?
I’ve had this issue for some time now – they’ve told me they’re working on it, but my posts on the topic typically get deleted
I’m bumping this topic (it’s been more than 24 hours and no response from anybody who has a solution).
Thanks
Ok, so if nobody else is having this issue, where can I go to PAY somebody trustworthy to take a look? Please help….this is a core functionality of BP that is broken for me, even in the default theme, after upgrading to WP 3.3.1
Anybody else having this issue? I also went through and checked file sizes, my BP upgrade went fine, no corrupt files at least wrt size.
Searching in either the top buddybar search field, or the search field on each page, goes to: https://buddypress.org/?s
But that page always is just the blog page. Annoying. Very hard to use this site if I can’t search the forums for solutions to my issuesI am having a similar issue. Upgraded to latest BP and WP, and now although ALL of the other associated pages, Activity, Members, Forum, etc., are working, the page I’ve mapped for the groups to show up on does NOT. Flushing permalinks didn’t help. Trying to associate to a new page didn’t help.
I have redefined the groups slug in bp-custom.php, but removing that line didn’t change anything. Please advise. Urgent!
I would like this too. Currently using old BP Group Forums extras to show activity stream replies in forum topics, would like to update BP but can’t till I get threaded forum replies…
Can somebody please address this? I can’t post activity updates anywhere, or post privately to people on the site.
Have you renamed your group slug to something else? I have renamed groups to classes on my site and that’s keeping it from working at the moment, hoping for a fix from the plugin developer.
Have you changed the group slug to something other than groups? That’s currently keeping my install from working.
This was working great for me til today, for some reason it just stopped working – the button to attach a file is there but nothing happens on click. Didn’t see any script errors when I ran it in Google Chrome – help!
Thanks
Never mind, figured out the SQL statement, set all activity to hide_sitewide=1
PHEW! It’s not clear, btw, that setting groups to private doesn’t change this setting, I had to dig and dig and dig. Really, don’t you think it SHOULD? If you set a group from private to public, I can see it not being retroactive, but if it’s going from public to private, imo it should ALL go private.
I think I figured out my problem – the groups WERE set to public, and when I set them to private, the hide_sitewide value in the SQL database didn’t get changed.
So, now I need to change ALL those values from 0 to 1. What SQL statement do I run to do this?
And, is there a plugin or update to get it so that when the status of a group changes from public to private, all the posts ARE switched from 0 to 1?
Boone Gorges, or anybody else, is there an update on this? PLEASE let me know, this is a serious issue
Actually, it only kind of works. It shows administrator, and s2member_level1, and s2member_level3, but not s2member_level2, or anything else. Weird.
I’ve got this working, but I’d like to customize it further. I’m using S2Member, so the output from the echo statement looks like this: S2member_level1 or whatever.
How can I set it so that if the member is this level, different text appears? For example:
s2member_level1 = Auditor
s2member_level2 = WorkerI don’t really know anything about code, seems like there should be some sort of “if they’re this level, display this text” or something? And where to put that statement?
Thanks!
I’m still following this, any update?
In bp-default, the problem persists.
This is even WORSE…
-Hidden/private group activity DOES show for logged-out users
-Hidden/private group activity DOES show on the Friends activity tabI’m using Themekraft CCPro as well as S2member.
Also using BP Forums Extras: View activity comments on forum posts
Activity Bump.I’ve made no modifications to activity-loop.php.
For the moment, I can restrict activity for not logged in users by using s2member’s uri restrictions, but this is just a patch, there’s something funny going on here.
Daisy
PS as an aside, I can’t access any forum topics I’ve started or replied to through my profile page *on this site*. Also can’t post activity updates or private messages to anybody. Can’t access forum replies via the menu at the very top of the page either.
I am having this issue – Private Groups are showing up to logged in users, under the ‘my friends’ tab in the activity stream, even though they themselves are not a member of the group that is private!! I am using BP for a paid membership site, please help, this is a hole in the privacy….
I removed the ‘all members’ activity stream option/tab from my theme, so I don’t have to worry about that, but still…private group activity shouldn’t show up there?!