Forum Replies Created
-
Blah, they are just making the problem even worse.
Thats what I’m saying though, it doesn’t seem to be possible to create a “BP-ready” theme unless you install the rest of Buddypress (BP Template).
I don’t think it is possible without the plugin. I’ve copied all the BP Template template folders over to my theme folder, but it doesn’t work unless I active the plugin.
I don’t think I follow. Unless you are using the default BP theme you have to use the other plugin also. Unless you are assuming 99% of users are using the default theme, why not just make one plugin instead of two?
.
haha, what I wrote was the pre tag cuts it off, and the code tag cuts it off and shows the extra code awkwardly outside of the input box
That is how I set it up. The
tag cuts it off, using the
tag cuts it off but also shows the closing /> outside of the input box.
Thanks man, that kind of works, it cuts off the code and only shows
<iframe src=
@boonebgorges @modemlooper Maybe a better way to look at what I was suggesting is instead of “like facebook,” look at it more like giving users “mini blogs.” An idea might be to create a new tab isolating this specific type of activity so you can leave the existing activity tab as it is listing every single thing a user does with links to said activity. Then if site admins don’t want this facebook/mini blog style feature they can just remove the tab and focus on group/forum activity. Pulling in the WordPress WYSIWYG editor for the mini blogs would also be a nice feature to top it off. All just day dream ideas.
Yeah I don’t understand why they do that, bury everything in the function code so you can’t design anything without hacking it up or writing a plugin just to change a word or remove a button.
Is there not a simpler way of just doing it directly? Is bp_group_header_actions the only way to add these links?
Never mind, you guys are already a step ahead of me.
I could still imagine some people wanting the opposite of my personal preferences though, wanting an option to integrate comments from all sections.
Ahhhh, that is working now, thank you very much @boonebgorges
The only other big thing I think is a problem and could be very confusing to people as I mentioned before, if User A posts on a group activity wall it then appears on their profile activity wall and User B can comment on it there and it will also appear on the group’s activity wall. People might not like that and thinking they were only commenting on their buddy’s wall. However, if User A comments on a blog or forum post, it also appears on their profile activity wall and people can still comment on it, but it then doesn’t appear on the original blog.
I’m sure some people would like it one way or the other, I personally think blog, group, and forum posts should only then appear as notifications on a user’s activity wall without the option for others to comment on so that users are certain where their comments are appearing and avoid confusion and possible embarrassment.
Either way it is just an inconsistency that has confused me at least and might be confusing others as well.
Doesn’t seem to have any effect. I wasn’t sure where you meant to add this new line, so I put it here
function bbg_dont_remove_self_replies_on_ajax() {
remove_filter( ‘bp_has_activities’, ‘bbg_remove_self_replies’ );
var_dump( $activities_template );
}
add_action( ‘wp_ajax_new_activity_comment’, ‘bbg_dont_remove_self_replies_on_ajax’, 1 );@modemlooper I completely agree with you, I’m just saying iphones can still be used as telephones because that is a proven useful means of communicating.
Thanks @boonebgorges that seems to have fixed the reply button, but it is still producing the lines at the bottom of the activity stream. Here is a screen shot.
@modemlooper not to discredit anybody’s hard work, but what does BP currently do that is so innovative that justifies not taking advantage of the option to let people have their own little fb sites in addition to whatever ground breaking Steve Jobs options you are talking about?
@boonebgorges I’m also using BP 1.5 (fresh out of the box installation) and it does work to an extend, it removes the notifications from the top, but adds them to the bottom of the activity stream like I described on the trac page, and it breaks the reply button until your refresh the page. I’ve tried both pasting your code in my functions.php file and creating a bp-custom.php plugin file. Both have the same results.
This fix, and a comment form on friends pages, would be the only two little tweaks it would take to reproduce a fb experience, right now it is reproducing the twitter experience so it is already copying something anyways, giving both options to BP users would be great. And with what you just suggested Boone people could say “oh they’re just trying to copy digg” which I understand would be frustrating, but it honestly isn’t that big of a deal, you would be copying the system but people would be implementing it to their own little situations and needs which would be completely authentic and new. Like comparing tv stations to youtube, it is copying the idea but at the same time it is completely unique because you are bringing the tv station to the users to create more diverse content.
Being able to launch your own website that uses a conversations system similar to fb would be awesome though and Buddypress kind of does that if it weren’t for a few little problems like what I mentioned. Like you mentioned, it would be great if there were different ways to use the software, so intentionally preventing one usage just because you may be afraid of being labeled as copying fb doesn’t make sense. Would we be talking right now if the second person to ever launch a messageboard was afraid of copying the first ever messageboard?
Thanks @mercime
You wouldn’t happen to have any ideas on how to get Boone’s suggested code working do you?
function bbg_remove_self_replies( $has_activities ) {
global $activities_template;foreach( $activities_template->activities as $activity_key => $activity ) {
if ( ‘activity_comment’ == $activity->type ) {
// Get the parent item
$parent_id = $activity->item_id;if ( empty( $activities_template->activity_parents[$parent_id] ) ) {
return $has_activities;
} else {
$parent = $activities_template->activity_parents[$parent_id];
}// Is the activity author the same as the parent author? If so, remove
if ( $parent->user_id == $activity->user_id ) {
unset( $activities_template->activities[$activity_key] );
}
}
}// Reset indexes
$activities_template->activities = array_values( $activities_template->activities );return $has_activities;
}
add_filter( ‘bp_has_activities’, ‘bbg_remove_self_replies’ );If you want to turn the activity page purely into a list, the commenting option should probably be removed other wise people are obviously going to use it.
Isn’t that the whole point of Buddypress though, to create a fb like system? Other wise it is just a messageboard.
What is this BP Wire?
Yeah I noticed that not long ago too.
Is there any kind of if_user_is_admin tag?
Is there any way of doing this without the redirect? I would rather the forum just work directly out of the groups home page you know?
/groups/group-title/topic-title
Thanks Ray, I’ll check that out.