solved Replies to Group Discussions don't show in My main page Activity Timeline

Strumelia
Strumelia
@strumelia
9 years ago
3,605 posts
I'm not sure if this happens for others or just to my site, but-

On my site's Main home page Activity Timeline, it DOES show up fine when someone CREATE a NEW discussion in a GROUP.
However, when members post REPLIES to the Group Discussion, it does not show in the main page Timeline.

Is there a way to make the Group discussion REPLIES show up in the mainpage Timeline?
(I believe that Group discussion reply posts are actually 'comments'- which makes them different from Forum discussion replies)

Thanks!


--
...just another satisfied Jamroom customer.
Migrated from Ning to Jamroom June 2015

updated by @strumelia: 07/05/16 08:50:02AM
paul
@paul
9 years ago
4,335 posts
Have just taken a look at your index page template and you have Comment actions excluded from the timeline -

{jrCore_list module="jrAction" search1="action_module != jrFollower" search2="action_module != jrComment" order_by="_item_id numerical_desc" template="index_activity.tpl" pagebreak=50 page=$_post.p}



--
Paul Asher - JR Developer and System Import Specialist
Strumelia
Strumelia
@strumelia
9 years ago
3,605 posts
Paul- Ah yes,- I see now- that's there because i didn't want it to appear every time in the timeline when my many Greeters welcome new members by saying "Hi welcome to Fotmd!" on new members' profile pages. It also feels a bit like too much info to be broadcasting everyone's every profile page comment.

Is there a way to distinguish between profile page comment wall comments and Group discussion replies somehow?- to do what I need here without adding all profile page comment wall comments to the main page Timeline?


--
...just another satisfied Jamroom customer.
Migrated from Ning to Jamroom June 2015
paul
@paul
9 years ago
4,335 posts
Try changing the search2 parameter to this -

search="action_data NOT_LIKE %\"comment_module\":\"jrProfile\"%"

That should exclude comments on profiles but let all other comments through.


--
Paul Asher - JR Developer and System Import Specialist
Strumelia
Strumelia
@strumelia
9 years ago
3,605 posts
You mean change this:
{jrCore_list module="jrAction" search1="action_module != jrFollower" search2="action_module != jrComment" order_by="_item_id numerical_desc" template="index_activity.tpl" pagebreak=50 page=$_post.p}
to this?:
{jrCore_list module="jrAction" search1="action_module != jrFollower" search2="action_data NOT_LIKE %\"comment_module\":\"jrProfile\"%" order_by="_item_id numerical_desc" template="index_activity.tpl" pagebreak=50 page=$_post.p}

(I'm going to eliminate the reference to jrComment module altogether there?) ?

and... are we talking about the index.tpl in my custom skin, or in a module?


--
...just another satisfied Jamroom customer.
Migrated from Ning to Jamroom June 2015

updated by @strumelia: 03/21/16 01:50:30PM
michael
@michael
9 years ago
7,821 posts
Yes paul is talking about your index.tpl file. It currently reads:

{jrCore_list module="jrAction" search1="action_module != jrFollower" search2="action_module != jrComment" order_by="_item_id numerical_desc" template="index_activity.tpl" pagebreak=50 page=$_post.p}

Paul is saying to change that to:
{jrCore_list module="jrAction" search1="action_module != jrFollower" search2="action_data NOT_LIKE %\"comment_module\":\"jrProfile\"%" order_by="_item_id numerical_desc" template="index_activity.tpl" pagebreak=50 page=$_post.p}

We are talking about the index.tpl file for your skin.
Strumelia
Strumelia
@strumelia
9 years ago
3,605 posts
Ok that's very clear- thanks...I'll try this! :)


--
...just another satisfied Jamroom customer.
Migrated from Ning to Jamroom June 2015
Strumelia
Strumelia
@strumelia
9 years ago
3,605 posts
This works PERFECTLY!!! Thank you SOOOO much, it's so great to get this accomplished...had it on my To Do list like forEVER. :D xoxox


--
...just another satisfied Jamroom customer.
Migrated from Ning to Jamroom June 2015
michael
@michael
9 years ago
7,821 posts
:) nice one!