Shared Posts Not Appearing on Profile Page Timeline

PatriaCo
PatriaCo
@the-patria-company
8 years ago
349 posts
Hey @michael :)

I took your advice for customizing the timeline list:

"
Its the item_list.tpl file.

Then once you know that you put markers in that code like "THIS POSITION (1)" "THIS POSITION (2)" "ANOTHER POSITION (3)"

and save the page, then view the page to make sure that marker comes out. That way you know that where you are making the edits is where you are trying to effect.

From there, you can make changes to get the text out to the formatting you are after."

I added Section 1, Section 2 and Section 3; of which 2 and 3 work fine, but Section 1 (the shared section) does not show up on the timeline of the profile that shared the item posting.

In my screenshot you can see that it is working on the site-wide activity feed, as my right-sidebar is using the Annika Live Wall. However it does not show up on the profile that did the sharing.

Any thoughts?


--
The Patria Company - patriaco.com / quality-trades.com / a-t.life - doing Jamroom since v3

updated by @the-patria-company: 05/01/16 11:20:22PM
michael
@michael
8 years ago
7,715 posts
Yeah, it looks like the item_list.tpl file for the jrAciton module is setup for some different scenarios

The {foreach} loop on $_items is catering for 3 scenarios,
* if the variable $item.action_original_profile_url is set
* if the variable $item.action_text is set
* if the variable $item.action_data is set

So to understand why each section is used, you'd need to understand what each of those variables are and why they may or may not be set. The notes help:

* {* Shared Action *}
* {* Activity Updates *}
* {* Registered Module Action templates *}

So from those explanations I would assume, the first block fires if the action is one that has been on someone elses timeline, then shared to the current location. The second block fires if the action is one that was created when some module item was updated and the third fires when 'registered module action templates', not sure, would need some investigating.
PatriaCo
PatriaCo
@the-patria-company
8 years ago
349 posts
Has anyone had a chance to look into this a little further?

Thanks :)


--
The Patria Company - patriaco.com / quality-trades.com / a-t.life - doing Jamroom since v3
brian
@brian
8 years ago
10,148 posts
PatriaCo:
Has anyone had a chance to look into this a little further?

Thanks :)

Yep - we're looking into it. Both Michael and Paul are traveling, so our discussion about the solution is going a bit slow, but it's ongoing.


--
Brian Johnson
Founder and Lead Developer - Jamroom
https://www.jamroom.net
michael
@michael
8 years ago
7,715 posts
PatriaCo:....However it does not show up on the profile that did the sharing....

It does show up on the profile that did the sharing, just not to the owner of the profile. Everyone else sees it.

There is a note in the code that reads:
        // If we are viewing our OWN time line, we don't want to see items we have shared
        // with our followers, otherwise we get double entries in the time line
so it was designed this way, need to have a talk to see if this is still the desired format.
PatriaCo
PatriaCo
@the-patria-company
8 years ago
349 posts
I can see that this would be an issue without the truncating. The twitter style activity feed (truncated, with a read more link) makes a big difference in the quick and mobile style readability. Also, the shares are important for folks with poor memory (like myself, lol) so you don't forget whether or not you shared something.

It is kind of funny that we just had a new member sign up and she said "You will need to speak to me in Facebook terms while I am learning to use this site."

Thanks for taking a closer look at this. :)


--
The Patria Company - patriaco.com / quality-trades.com / a-t.life - doing Jamroom since v3

Tags