Support Forum

Advanced Search
Forum Scope


Match



Forum Options



Minimum search word length is 3 characters - maximum search word length is 84 characters
plugins-topic
Adding comments on buddypress activity as answers in simple press topics
Avatar
yann maitre-jean
Member
Free Members
sp_UserOfflineSmall Offline
Jul 2, 2015 - 4:16 pm

Hello all!

 

Sorry for my bad english.

In my configuration, new topics and new post are in buddypress activity feed.

Is there a possibility, when anyone comment a post in bp activity feed, to add this comment as a topics response in forum?

 

Thank you!

Avatar
Mr Papa
Simi Valley, CA
SP Master
Free Members
sp_UserOfflineSmall Offline
Jul 2, 2015 - 8:16 pm

no, not currently...  frankly, didnt even know you could comment on an activity stream... eek

and actually seems a bit odd - and would be difficult to add since bp comments on activity are threaded... they would end up being out of sequence within the forum topic (every comment would be added at the end and not with the original posting)...

Avatar
yann maitre-jean
Member
Free Members
sp_UserOfflineSmall Offline
Jul 3, 2015 - 1:20 am

Ok, thank you.

So, how to have, in bp activity stream, only "xxx created the topic... in forum..." and no the "description " with read more link?

Avatar
Mr Papa
Simi Valley, CA
SP Master
Free Members
sp_UserOfflineSmall Offline
Jul 3, 2015 - 1:35 am

not entirely sure what you are asking...  but will try...

if you only want new topics and not replies/posts, you can change that option in the forum - components - buddypress options panel...

if you want to change the content of the activity to be a link, I am not sure that is really feasible...  neither buddypress or our integration provide a filter for such an action...   buddypress does fire an action when the activity has been added (bp_activity_add) so you could hook in there, but then you would have to access the database and manually adjust the post content...

perhaps adding a filter on our integration plugin to allow changing of the activity data could be added in the future...

sorry...

Avatar
yann maitre-jean
Member
Free Members
sp_UserOfflineSmall Offline
Jul 3, 2015 - 3:10 pm

Ok, thank you.

I just found a solution.

Simply comment the line 23 in sp-buddypress-activity.php

 

//$activity_content = addslashes($newpost['postcontent_unescaped']);

Avatar
Mr Papa
Simi Valley, CA
SP Master
Free Members
sp_UserOfflineSmall Offline
Jul 3, 2015 - 3:12 pm

not really a "fix"...  you will lose those changes anytime we update the plugin (and some are planned)...   we dont advocate changing plugin core code anymore than you would change WordPress core code...  so just remember your change so you can remake it...

Forum Timezone: Europe/Stockholm
Most Users Ever Online: 1170
Currently Online:
Guest(s) 1
Currently Browsing this Page:
1 Guest(s)
Top Posters:
Mr Papa: 19448
Ike: 2086
Brandon: 864
kvr28: 804
jim: 650
FidoSysop: 577
Conrad_Farlow: 531
fiddlerman: 358
Stefano Prete: 325
Member Stats:
Guest Posters: 619
Members: 17362
Moderators: 0
Admins: 4
Forum Stats:
Groups: 7
Forums: 17
Topics: 10127
Posts: 79625