Forum Replies Created
-
It seems that disabling “Extended Profiles”, which is an acceptable option for now, has resolved the issue. But this was the problem apparently for us.
Think I just figured it out. If anyone runs into this mini-heart attack situation as well– the following function I had deployed to prevent users getting to back-end was causing it for me somehow. Removing it until I can determine issue:
function wpse66093_no_admin_access() { $redirect = home_url( '/' ); if ( ! ( current_user_can( 'manage_options' ) || current_user_can( 'edit_lp_courses' ) ) ) exit( wp_redirect( $redirect ) ); } add_action( 'admin_init', 'wpse66093_no_admin_access', 100 );
I am now having the exact same issue.
Does anyone have an answer to this?
I just implemented this approach.
I’m still reviewing the impact but so far so good I guess. Took out the part referencing buddyblog since I’m not using that plugin.
My community now asking for this exact thing. Instant embedding of giphy (and any direct link to an animated gif I guess) in activity what’s new posts.
We have a plugin that actually allows it apparently in comments and forum posts… so of course now they want to know why they can’t do it in activity posts. 😛
Have to do a little more testing but this looks like it did the trick! Thanks for the quick reply. 🙂
Just found a near-hit for my needs in this post by @modemlooper:
https://buddypress.org/support/topic/disable-group-posts-from-main-activity-stream/
However, the code below is stripping group posts from both the “Activities” page and a member’s page activity. I tried to limit to user pages only by altering if ( bp_is_current_component( ‘activity’ ) to if ( bp_is_current_component( ‘profile’ ) but didn’t work. Anyone see what I need to change so that this snippet only fires if it is on a member’s activity page?
function bp_filter_groups_from_activity( $a, $activities ) { if ( bp_is_current_component( 'activity' ) ) { foreach ( $activities->activities as $key => $activity ) { if ( $activity->component =='groups') { unset( $activities->activities[$key] ); $activities->activity_count = $activities->activity_count-1; $activities->total_activity_count = $activities->total_activity_count-1; $activities->pag_num = $activities->pag_num -1; } } $activities_new = array_values( $activities->activities ); $activities->activities = $activities_new; } return $activities; } add_action('bp_has_activities','bp_filter_groups_from_activity', 10, 2 );
Well… interesting. Not sure if I’m going crazy but after inserting that record and then one last try at Tools > Buddypress > Reinstall Emails– activation emails seems to be working now.
Not exactly sure why it works now but just happy it’s working.
Same issue. Driving me nuts. I started with 3.0.9 and had issue. I deleted plugin and re-installed 3.1.0 and tried Tools > Buddypress > Reinstall Emails. Still no registration email in list.
I installed Buddypress 3.1.0 fresh to a new install and I see it.
I’ve even gone so far as to take the record from wp_post from that instance and installed on broken site but php is expecting something different (getting some errors on admin page for BP emails) But the record looks legit compared to other bp email records.
I think this is still a bug for anyone who started with 3.0.9. Any Ideas so that I don’t lose all my groups / comments/ etc.?
Does this fix still work for you? My buddypress registration emails still don’t go out but the Post SMTP test emails do.
Just a follow up. I got the method from this link to work and it hides the “whats new” form from non-admins on the group page.
However, now I notice that users still get the group in their “Post in:” list on their personal activity page and can circumvent. So, trying to figure this part out next.
Anyone know how to restrict that dropdown?
I have similar need. I have one group that only the admins should be able to post activity. However, any member can like and comment on that activity.
Is there a plugin now or tweak someone can share to achieve this? Hiding the post textbox if not an admin sounds great but not savvy enough to make change w/o some direction where to do it and some pseudocode.
Thanks in advance for any help.
Thanks for the reply. Will start from a core and try to narrow something more specific down… I hope it’s not the theme If I need more help I’ll be sure to post back