By User on Sunday, 17 March 2019
Posted in General Issues
Likes 0
Views 566
Votes 0
Hello. I use "Content - EasySocial" and "Article" application, but it doesn't create any activity in stream when user comment article. Did I miss something? I attached plugin and app settings screenshots. Thanks.
Hey there,

I am really sorry for the delay of this reply as it is a weekend for us here.

You have to enable this these setting from the article app https://take.ms/oN6zK so that when someone published a new article on the site, the system will generate a stream item on the Easysocial user dashboard.

So when someone comment on the article or this stream item, the comment will associated together.

If there do not have any stream item generated before, then that is not possible to show the comment on the Easysocial.
·
Sunday, 17 March 2019 09:47
·
0 Likes
·
0 Votes
·
0 Comments
·
Hello. Can you please give me some advice.

I already have few articles created with backend before migrating to EasySocial.

What should I do?
I need to create article only in frontend to make stream item created?

Or I can dublicate existed article in backend and it will be appear in stream?

Or It will work only if I’ll create article in frontend?

Editing (updating) existed article in frontend will not help? It will create stream item about updating, but if user will comment article, system will need “stream item: article created” to display comment in stream and it will not help me to goal?

Thanks.
·
Wednesday, 20 March 2019 12:44
·
0 Likes
·
0 Votes
·
0 Comments
·
Let me brief you some explanation why it not work for your existing articles :

1. Those Joomla article created it before install Easysocial on your site.

2. It will not auto generate stream item for your existing Joomla article when you install Easysocial on your site.

3. In order to automatically generate these article stream item, either you create article from backend or frontend, it will generate it because both also go to the same function to store the article content in database.

4. But now the issue is those article already created it before you install Easysocial, so that is no way to re-generate again for this 'create' article context type stream item on Easysocial.

5. When you re-save the article from backend, it will only generate 'update' article context type stream item on Easysocial, so this 'update' article context type will not associate your article page comment to this 'update' article stream item.

The only way I can think of is manual work convert 'update' to 'create' context type from database.

You can give it a try this following instruction how to manual done this : (Remember do the backup first before you do this)

1. Enable this 2 setting from article app (backend > Easysocial > application > search 'article' > https://take.ms/uKB8x).

2. Edit one of your existing article from backend which got some comment added, then click save/update.

3. Once save already, open your PHPMYADMIN > select your current database > click on the SQL (open 2 browser tab for this same page) then execute these following each SQL to each browser tab.

Remember replace #__ to your current table prefix

select * from `#__social_stream` where `context_type` = 'article' order by id desc limit 10;



select * from `#__social_stream_item` where `context_type` = 'article' order by id desc limit 10;


You will probably see this similar data.
https://take.ms/Q20W1a
https://take.ms/kaC4J

4. Edit that 2 table line of row data, replace context_type value from 'update' to 'create';
Final result is : https://take.ms/zRCSY

5. Once you updated this, you can check your site Easysocial user dashboard page, it should show a create item for this and associated with the comment as what user comment on that article page.
·
Wednesday, 20 March 2019 16:47
·
0 Likes
·
0 Votes
·
0 Comments
·
Hello. Thanks - it helped a lot.
But I got another related problem: when user post comment at article page, stream item is not bumping (doesn't move to top). But in ES settings bumping is turned ON. Should I start another topic? Thanks.
·
Friday, 22 March 2019 05:11
·
0 Likes
·
0 Votes
·
0 Comments
·
You're most welcome.

Yes, you should start a new thread on our forums regarding this different question.

Just for your information, I have locked and marked this thread as resolved to avoid confusions in the future. Please start a new thread if you have any other issue in the future so it will be easier for us to manage your inquiries.

Thanks for understanding.
·
Friday, 22 March 2019 09:51
·
0 Likes
·
0 Votes
·
0 Comments
·
View Full Post