solved Refining what's shown in the Home Page activity timeline

Strumelia
Strumelia
@strumelia
9 years ago
3,603 posts
Can someone help me with what code and where to change for this please?:

On my site's Index/Home page, in the main Timeline/Activity feed module, I'd like to-

NOT SHOW when members comment on each other's profile page comment walls. (comments on Group comments walls are good though)

NOT SHOW when someone 'follows' someone else.

Any help appreciated. :)



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

updated by @strumelia: 04/01/15 08:59:07AM
Strumelia
Strumelia
@strumelia
9 years ago
3,603 posts
Hoping there's a simple template tweak I can apply for this, or maybe I'm missing a setting for these options somewhere?


--
...just another satisfied Jamroom customer.
Migrated from Ning to Jamroom June 2015
douglas
@douglas
9 years ago
2,790 posts
So you just want the front page activity to show Group comments only?


--

Douglas Hackney
Jamroom Team - Designer/Developer/Support
FAQ-Docs-Help Videos
Strumelia
Strumelia
@strumelia
9 years ago
3,603 posts
No no(!)... I want the front page activity to show everything EXCEPT when members 'follow' each other, or leave comments on other people's profile page comment walls.
-> The idea is to have the meaty stuff show up, instead of having the whole home page full of "so and so is now following so and so, who is now following so and so... and "Hi, welcome!", "Hi, welcome to the site!", "Hi, welcome!".

So I want THOSE TWO activities to NOT show on the Home page main Activity Timeline. Because they would dominate everything once my site goes live, and it would be excruciatingly boring and deadly. lol

-----------------------
Here are activities that I DO want to keep showing in the activity feed, and that ARE showing now (which is good!):
Members adding videos, adding photos, adding music clips.
Members commenting on videos, photos, and music clips.
Members creating new forum discussions or group discussions.
Members POSTING in either of those forum or group discussions.
Members Commenting in Group comment walls.
New Events created

And finally, I'd love to ADD two other things to the main page activity feed....things that Ning has and are stimulating to site activity, but that are not included in the JR Timeline (yet):
--> 1) New members joining the site (mention their member NAME and small avatar if it's possible) -note this encourages my site's Welcoming Committee to go to the new member's pages and leave a greeting on their comment wall...one of those "Hi, Welcome, friend!" comments we get all day on my site. ;) It just plainlooks good to see those several new members a day popping up there in the timeline, and people actually see acquaintances or known musicians sometimes....stimulating more interaction.
--> 2) When a member joins a GROUP ("Poindexter joined Jazz Dulcimers Group", "Rhonda joined GigTalk Group")
--------------

So basically,...am asking to REMOVE two activities, and ADD two other activites.
Sorry to be so wordy, but wanted to make it clearer. :)




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

updated by @strumelia: 02/06/15 03:19:51PM
Strumelia
Strumelia
@strumelia
9 years ago
3,603 posts
Any help on this is appreciated, thanks.


--
...just another satisfied Jamroom customer.
Migrated from Ning to Jamroom June 2015
douglas
@douglas
9 years ago
2,790 posts
I'm not sure there is a way to exclude specific actions, we'll have to wait on one of the other guys to see if its possible.


--

Douglas Hackney
Jamroom Team - Designer/Developer/Support
FAQ-Docs-Help Videos
Strumelia
Strumelia
@strumelia
9 years ago
3,603 posts
Still hoping I can do this... :)


--
...just another satisfied Jamroom customer.
Migrated from Ning to Jamroom June 2015
Ken Rich
Ken Rich
@ken-rich
9 years ago
926 posts
Yes this is something I miss from Ning. Not having control of what items make it to the timeline.

They had a simple checklist which did the job.


--

Ken Rich
indiegospel.net
Strumelia
Strumelia
@strumelia
9 years ago
3,603 posts
Yes it is extremely useful in tailoring what people see when they come to the Main site home page. Otherwise, on my site anyway, half of what shows at any given time will be over and over: "Hi,welcome to the site!"...and "So-and-so is following so-and-so". Far better to have those valuable slots showing members discussing music and showing new photos and new group members, people talking and sharing fun stuff...real ACTIVITY! :)

Screenshot of the options we get in ning for this...
activity_settings.jpg




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

updated by @strumelia: 02/16/15 07:10:06PM
paul
@paul
9 years ago
4,326 posts
You could add a search parameter to the actions jrCore_list in the template

{jrCore_list module="jrAction" search="action_module NOT IN jrComment,jrFollow" . . . }


--
Paul Asher - JR Developer and System Import Specialist
Strumelia
Strumelia
@strumelia
9 years ago
3,603 posts
Can you please spell it out for me a little clearer Paul?

Are you talking about in a template in my Ningja skin?- or in my Core module? which template?
I add the code above?- including the elipsis at the end, and including the quotes?
and...Where exactly do I place this code line?
:-(



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

updated by @strumelia: 02/18/15 11:03:03AM
paul
@paul
9 years ago
4,326 posts
In the Ningja index.tpl template, about line 312 -

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


--
Paul Asher - JR Developer and System Import Specialist
Strumelia
Strumelia
@strumelia
9 years ago
3,603 posts
Are you saying I should DELETE (not add) that whole line of code you just posted?- or delete part of it?
...and that would eliminate in the Index page activity timeline:
Comments people make on each other's profile comment walls
and
notices of members now 'following' each other?

Sorry, it's just hard for a non-coder to follow this when it's not exactly specific. (tearing my hair out, want to get this straightened out and done with)


--
...just another satisfied Jamroom customer.
Migrated from Ning to Jamroom June 2015
paul
@paul
9 years ago
4,326 posts
Yes. The original line of code is this -

{jrCore_list module="jrAction" order_by="_item_id numerical_desc" template="index_activity.tpl" pagebreak=7 page=$_post.p}

which lists all actions. By adding in the search parameters -

search1="action_module != jrFollower" search2="action_module != jrComment"

that is effectively saying " give me all actions except comment and follower actions"


--
Paul Asher - JR Developer and System Import Specialist
Strumelia
Strumelia
@strumelia
9 years ago
3,603 posts
OK, I think i get that now- will try it and report back! :)


--
...just another satisfied Jamroom customer.
Migrated from Ning to Jamroom June 2015
michael
@michael
9 years ago
7,715 posts
paul:
Yes. The original line of code is this -

{jrCore_list module="jrAction" order_by="_item_id numerical_desc" template="index_activity.tpl" pagebreak=7 page=$_post.p}

which lists all actions. By adding in the search parameters -

search1="action_module != jrFollower" search2="action_module != jrComment"

that is effectively saying " give me all actions except comment and follower actions"

and if that doesnt work, coz its always play around til you get it, you can try

search1="action_module != jrFollower || action_module != jrComment"

Because I think the one paul has reads "action_module is not jrFollower AND action module is not jrComment" where mine reads "action_module is not jrFollower OR action_module is not jrComment"
Strumelia
Strumelia
@strumelia
9 years ago
3,603 posts
Thanks Michael-
I tried both versions, and tested it using my own profile and a regular member profile.
Paul's code is working well for me, then I tried yours which did not work for me, so I went back to Paul's code.
I think this particular issue is solved now for me.

Thank you!! :)


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

updated by @strumelia: 02/18/15 04:53:09PM