keeping one forum category off the index timeline?

Strumelia
Strumelia
@strumelia
9 years ago
3,605 posts
I have a profile forum for my site- the site forums all being owned by a profile I created called "Forums".
That profile's forum has various categories, including a For Sale category. I'd like to 'somehow' prevent that particular forsale category from appearing in my site's Main page Activity feed.
In my custom skin's index_activity.tpl, I have this code to prevent profile page comment wall comments from appearing in the activity timeline on the main page:
    {if !(isset($item['action_item']['comment_module']) && $item['action_item']['comment_module'] == 'jrProfile')}

I'm wondering if I can add a specific forum category to that using a similar code in that template?
If not, then is there perhaps a way to create another profile and have that profile 'own' only a For Sale forum (with maybe 'no' categories)...and somehow prevent that profile's forum posts (or maybe ALL their content) from appearing in the main index page Timeline? And to be clear- I'd want any reply posts to the forsale forum to also NOT appear on the main page.
Somehow, I want to have a particular forum that all members can freely access and post in, but not have any of it appear in the site's main page activity feed.


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

updated by @strumelia: 02/17/17 07:57:38AM
michael
@michael
9 years ago
7,806 posts
Don't think that code is related.
    {if !(isset($item['action_item']['comment_module']) && $item['action_item']['comment_module'] == 'jrProfile')}
The way I read that code is: "If this variable is not set, AND that same variable's value is jrProfile....."

Seams to me thats never going to evaluate to TRUE so the inside will never fire. It cant be 'not set at all' and have a value of 'jrProfile'.


--
On to the question: The place to look is for the {jrCore} list thats bringing in the site's Main page Activity feed..

Whats the code thats in there, might be able to add a search="????? ?? ????" to filter out the unwanted activities right at the root.
Strumelia
Strumelia
@strumelia
9 years ago
3,605 posts
michael:
On to the question: The place to look is for the {jrCore} list thats bringing in the site's Main page Activity feed..
Whats the code thats in there, might be able to add a search="????? ?? ????" to filter out the unwanted activities right at the root.

Would I look for this code in my active skin templates, in one of its 'index' templates?
(thinking it would be in my active skin's index_activity.tpl ?)


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

updated by @strumelia: 11/18/16 01:12:20PM
Strumelia
Strumelia
@strumelia
9 years ago
3,605 posts
Another way to approach this would be to create a new profile with their own profile# and their own forum which will function only as the site's separate For Sale forum...and then code in a way to prevent that profile's content from appearing in the site index page timeline.
So, either ID'ing the current forum category by number, or a new profile by number- and preventing that from appearing. Is either one more viable to accomplish than the other?


--
...just another satisfied Jamroom customer.
Migrated from Ning to Jamroom June 2015
michael
@michael
9 years ago
7,806 posts
Strumelia:....Would I look for this code in my active skin templates, in one of its 'index' templates?
(thinking it would be in my active skin's index_activity.tpl ?)....
It would be in index.tpl of your active skin.

/skins/(your skin)/index.tpl
controlls the entire page found at:
your-site.com/

So its the starting point for what is shown on the very first page. It will probably have a link in there somewhere to the index_activity.tpl file judging by the name of the file. There will also be other things in there.

The index.tpl file for the skin will look something like this structure:
(bring in the header file)
(some <div>'s wrapping stuff)
(some {jrCore_list}'s listing stuff)
(bring in the footer file)

Somewhere in there you're going to see a line like:
{jrCore_list module="jrActivity" ............... }