By Altitudes on Friday, 11 March 2016
Posted in Technical Issues
Likes 0
Views 819
Votes 0
Hello

I have set EB preferences (in Settings > Integrations > EasySocial) so that a new blog post generates a stream item in ES. But it does not work, no stream is created.

I tested this on you demo site and it's working fine. So I guess there is an issue on my site but I can't find out where.

Whether the user is allowed to publish his post or not (in that case an administrator approves the post), it's not working.

Thanks for your help.

.Fixed in ES Blog app v1.0.24
Hey there,

I am really sorry for the delay of this reply as it is a weekend for us here. Just by curiosity, did you install the blog app yet?

You need to:

1. Download the blog app from http://stackideas.com/apps/item/5-blog

2. Install it via the Apps section of EasySocial

3. Publish the app

Let me know how this goes
·
Sunday, 13 March 2016 15:31
·
0 Likes
·
0 Votes
·
0 Comments
·
Thank you, I missed that

There is something unclear with the language strings...

For example, string APP_BLOG_STREAM_UPDATED_BLOG_POST is present in both:
/language/en-GB/en-GB.com_easysocial.ini and
/administrator/language/en-GB/en-GB.plg_app_user_blog.ini

The app uses the latter, which is not present in Transifex... So strings are not translated (into French as far as I am concerned) in frontend.
·
Sunday, 13 March 2016 19:13
·
0 Likes
·
0 Votes
·
0 Comments
·
I have another question regarding settings:

- EB preferences under Settings > Integrations > EasySocial > Stream define what are the stream item that will be created (in database), correct?
- ES preferences under Applications > Blog > Stream Settings define what are the stream items that are going to be displayed in frontend (provided they were created in database), correct?

Because it does not seem to work properly... I will do some more tests after your confirmation
·
Sunday, 13 March 2016 19:56
·
0 Likes
·
0 Votes
·
0 Comments
·
Hey Altitudes,

There is some issues with the way Joomla renders the translation file and it seems to consume quite fair bit of loading time when we have lots of language files (for instance, if each app uses it's own language file). We then decided to move all internal app's language file into EasySocial's language file instead of separating them.

There is actually 2 settings here. The one within EasyBlog settings, controls if items should be generated for EasySocial. On the other hand, the one in EasySocial app determines if they should be displayed or not.

Consider this scenario:

1. You enabled the stream items to be generated in EasySocial.
2. You decided later to switch this off.
3. The stream items that was generated prior to you changing the settings are still in EasySocial. The only way to control whether the stream items should be displayed / rendered or not would depend on the blog app settings

Cheers!
·
Sunday, 13 March 2016 21:52
·
0 Likes
·
0 Votes
·
0 Comments
·
Regarding the language file, from what you say, /administrator/language/en-GB/en-GB.plg_app_user_blog.ini file should not exist. So you should remove it from blog_1.0.23.zip (install package...).

I deleted the file manually and now blog stream items are in French in frontend

But some strings are missing in backend in app settings (see attached BlogAppSettings.PNG)

Regarding the stream settings in both EB and ES, I understand your scenario and agree with it. But there is some bug in the Blog app. In the app settings, the parameters "Show Blog Updates In Stream" and "Show Featured In Stream" have an HTML input with the same id/name:

<input type="hidden" id="params[stream_updates]" name="params[stream_updates]" value="0">

BTW, what is the "Show Blog Updates In Stream" for exactly? Is it when the author of a post modifies it?
·
Monday, 14 March 2016 01:35
·
0 Likes
·
0 Votes
·
0 Comments
·
Hi Altitudes,

I am really sorry for the delay of this reply. Please find my answers from your inquiries below.

In the app settings, the parameters "Show Blog Updates In Stream" and "Show Featured In Stream" have an HTML input with the same id/name:

Thank you for the information. It is indeed our bug and I have applied the fix internally. You can download my attachment below, rename it to admin.json (our forum attachment does not support .json file ) and place it inside your /media/com_easysocial/apps/user/blog/config/ folder for the fix.

But some strings are missing in backend in app settings (see attached BlogAppSettings.PNG)

Seems like the strings is not included inside main EasySocial language file. You can go to your /administrator/language/xx-XX/xx-XX.com_easysocial.ini and manually place the language string below.

APP_USER_BLOG_STREAM_UPDATES="Show Blog Updates In Stream"
APP_USER_BLOG_STREAM_UPDATES_DESC="When this option is enabled, blog updates would appear on the stream. If you do not want this to appear on the stream, turn this off."
APP_USER_BLOG_STREAM_CREATE="Show New Post Creation In Stream"
APP_USER_BLOG_STREAM_CREATE_DESC="When this option is enabled, blog creation would appear on the stream. If you do not want this to appear on the stream, turn this off."
APP_USER_BLOG_STREAM_COMMENTS="Show New Comments In Stream"
APP_USER_BLOG_STREAM_COMMENTS_DESC="When this option is enabled, new comment activities would appear on the stream. If you do not want this to appear on the stream, turn this off."
APP_USER_BLOG_STREAM_FEATURED="Show Featured In Stream"
APP_USER_BLOG_STREAM_FEATURED_DESC="When this option is enabled, featured posts activities would appear on the stream. If you do not want this to appear on the stream, turn this off."


what is the "Show Blog Updates In Stream" for exactly? Is it when the author of a post modifies it?

Yes that's correct.
·
Tuesday, 15 March 2016 15:38
·
0 Likes
·
0 Votes
·
0 Comments
·
Thank you, I tested your correction and it's working fine

So a v1.0.24 version for the Blog app is needed with:
- the new admin.json file
- en-GB.plg_app_user_blog.ini file removed (this is very important, otherwise Joomla will use these strings and as no translation exists for them, the strings won't be translated in frontend)

This Blog app version should be delivered when a new ES version is delivered since a new en-GB.com_easysocial.ini file is needed...

Do you agree with that?
·
Tuesday, 15 March 2016 17:48
·
0 Likes
·
0 Votes
·
0 Comments
·
Hi Altitudes,

Thanks for the heads up to this issue. We are indeed planning to release a new version of EasySocial soon to add the compatibility of joomla 3.5 and php 7 but we do not have the planning to release a newer version of blog apps yet currently. We will try to push this within this week and will keep you updated once it has been release.

Thanks a lot for your kind understanding.
·
Tuesday, 15 March 2016 18:43
·
0 Likes
·
0 Votes
·
0 Comments
·
Hello

Now that ES 1.4.8 has been released (with the new strings for Blog app), is it possible to have a Blog app v1.0.24 released, with admin.json fixed and en-GB.plg_app_user_blog.ini file removed?

Thank you
·
Thursday, 17 March 2016 20:09
·
0 Likes
·
0 Votes
·
0 Comments
·
We will be updating the app soon
·
Thursday, 17 March 2016 23:00
·
0 Likes
·
0 Votes
·
0 Comments
·
Thank you.

You also need to update the English language in Transifex (as new strings were introduced, that I can see in ES 1.4.8 language file...).
·
Friday, 18 March 2016 08:02
·
0 Likes
·
0 Votes
·
0 Comments
·
You are most welcome . Yes we will.

Have a nice day ahead.
·
Friday, 18 March 2016 16:39
·
0 Likes
·
0 Votes
·
0 Comments
·
View Full Post