By ETS-Consulting on Monday, 07 September 2015
Posted in Technical Issues
Replies 16
Likes 0
Views 1.5K
Votes 0
Dear Support,

I would like to ask you following questions I can not solve

1.) Komento to easy social notification. I would like to achieve:

1A.) user is notified on his own dashboard in EasySocial when he writes any comment in Komento. Ideally would be that each comment submitted in Komento is duplicted on the user dashboard. I have tried to set all options in Komento configuration under: “Enable EasySocial Notification” but no effect.
1B.) similar to above - I would like that user can see on his EasySocial dashboard all comments written by all his friends in Komento. Is it possible?

2.) pictures submitted as attachment to the comment is displayed in front end in the list of comment as thumbnail of size 100px. How can I change the displayed thumbnail. I have found setting Layout/GeneralLayout/Appearance/Image width and height - but this seems not to work. Both are set by default to 300 but the thumbnail is displayed as 100px

Some suggestions for improvement:

3.) If the user does not check the field “Agree to terms and condition.” he gets a message “Please fill in all the required fields”. I would propose to adjust a message for this special case (agreement checkbox not set) to more specific like “please agree term & conditions”, otherwise the user is a bit confused and looking trough all input fields where is the empty input field.

4.) This suggestion I have already requested - it would be really great if this component would provide an option to resize down all uploaded (attached) images to some dimensions defined by the administrator in the backend configuration and delete the original file immediately.

5.) The email to the moderator should include links to all attachments of this comment. Otherwise the moderator does not really see the entire comment and can not really decide if the attached file / picture is a spam, does not match the rules etc ...

thanks in advance and best regards

Martin
Hey there,

I am really sorry that delay of this reply,


1A.) user is notified on his own dashboard in EasySocial when he writes any comment in Komento. Ideally would be that each comment submitted in Komento is duplicted on the user dashboard. I have tried to set all options in Komento configuration under: “Enable EasySocial Notification” but no effect.
1B.) similar to above - I would like that user can see on his EasySocial dashboard all comments written by all his friends in Komento. Is it possible?

May i know do you have install Komento app yet?
If no, can you try download the app from http://stackideas.com/apps/item/9-comments and then install from backend > Easysocial > application > install , after installed, make sure you have enabled the Komento app and set to default from the Komento app configuration page (take a look of my attached screenshot below).

Then you need to open backend > Easysocial > alert > discover > scan (then you will notice Komento alert rule come out)

Regarding with your second question, after you installed the app, it will appear a Komento app filter on user profile page.

2.) pictures submitted as attachment to the comment is displayed in front end in the list of comment as thumbnail of size 100px. How can I change the displayed thumbnail. I have found setting Layout/GeneralLayout/Appearance/Image width and height - but this seems not to work. Both are set by default to 300 but the thumbnail is displayed as 100px

Actually that width/height settings is set for when you insert image/video link. (screenshot : http://screencast.com/t/gOjQhmqGvWL )
Unfortunately we do not have width/height settings for the attachment size.
But you can try apply this following css code in your current template css file and see how it goes?

/* increase max-width/height */
#section-kmt .attachment-image-link > img {
max-width: 300px !important;
max-height: 300px !important;
}

/* if you would like to force the image width/height */
#section-kmt .kmt-attachments.attachmentWrap.kmt-view-list img {
width: 300px !important;
height: 300px !important;
}



Some suggestions for improvement:


3.) If the user does not check the field “Agree to terms and condition.” he gets a message “Please fill in all the required fields”. I would propose to adjust a message for this special case (agreement checkbox not set) to more specific like “please agree term & conditions”, otherwise the user is a bit confused and looking trough all input fields where is the empty input field.

Thanks for your suggestion, I already updated in our server, this changes will included in next release.
If you really want to update now, you can modify on this file -> JoomlaFolder\language\en-GB\en-GB.com_komento.ini

//LINE 165
COM_KOMENTO_FORM_NOTIFICATION_FIELD_REQUIRED="Please fill in all the required fields"

//Replace with
COM_KOMENTO_FORM_NOTIFICATION_FIELD_REQUIRED="Please agree term & conditions"



4.) This suggestion I have already requested - it would be really great if this component would provide an option to resize down all uploaded (attached) images to some dimensions defined by the administrator in the backend configuration and delete the original file immediately.

5.) The email to the moderator should include links to all attachments of this comment. Otherwise the moderator does not really see the entire comment and can not really decide if the attached file / picture is a spam, does not match the rules etc ...

It would be best if you can submit a feature request regarding this in our voice page -> http://stackideas.com/voices/komento, we will see if we can implement this in the future.
·
Monday, 07 September 2015 12:55
·
0 Likes
·
0 Votes
·
0 Comments
·
Hi StackIdeas,

I have finally finished integration of Komento on my Website. I have found a couple of small issues to be fixed and also implemented the one of the feature requested by many of Komento users. This is my summary:

ISSUES PRIORITY 0:
1. subscribers do not get notifications email. I see in “Mail Queue” those are not generated at all. All other kinds of notification seem to work. Any configuration issue I have forgot?

2. downsizing all uploaded images - to max width, height and compression - those feature is really a must and those parameters should be configurable in backend - I have implementing this feature in my installation in the latest Komento version in the file: components/com_komento/helpers/file.php file. I would like you to add this feature into your product. Without this feature I can not use Komento productive (extremely high storage usage!) and I not want my fix to be overwritten during next update of Komento.

ISSUES PRIORITY 1:
3. external images included in the comments (link to external image) are not clickable and no popup with full view is displayed. It would be nice to have the same behaviour as for the uploaded images.

4. components/com_komento/themes/kuro/comment/form/cancelbutton.php - hardcoded “Cancel” text must be replaced by COM_KOMENTO_FORM_CANCEL

5. If the user does not check the Terms&Condition checkbox when submitting the comment you should display the error COM_KOMENTO_FORM_NOTIFICATION_TNC_REQUIRED and not the COM_KOMENTO_FORM_NOTIFICATION_FIELD_REQUIRED

6. the setting Layout/GeneralLayout/Appearance/Image and video width and height is used to set the size of images when displaying but only images embedded in the comments as links to external images. The same setting could be used when displaying images uploaded as attachments. For now I have used the css and overwritten the #section-kmt .attachment-image-link property to achieve this - but it is maintenance overhead to have two places to configured almost the same visual feature

7. subscription confirmation link send in confirmation email are easy to misuse because the subscription id is just a simple sequence value: “?option=com_komento&task=confirmSubscription&id=2” . It should be like kind of hash or token value.

8. in the subscription confirmation email the title of the article is empty.

ISSUES PRIORITY 2:
9. In all notification emails sent there is nowhere the website title. The user does not really know where is the email coming from.

10. MailQueue table is growing quite fast. Should be any feature implemented to automatically purge of all sent emails from this table (e.g. older then X days)

11. comments posted in Komento appear in EasySocial but the attached pictures are not displayed

12. the email to the moderator should include links to all attachments of this comment. Otherwise the moderator does not really see the entire comment and can not really decide if the attached file / picture is a spam, does not match the rules etc …

NICE TO HAVE:
13. configuration option to hide the original file name of uploaded attachments

If possible I would like to support you implementing those features. Especially the issue no.2 - I can provide my solution.

thanks in advance

Martin
·
Wednesday, 03 February 2016 05:26
·
0 Likes
·
0 Votes
·
0 Comments
·
Hello Martin,

I've tried to access your backend and I got this: Username and password do not match or you do not have an account yet. By the way, can you also provide us your FTP access so we can continue troubleshooting your issues here.
·
Wednesday, 10 February 2016 15:48
·
0 Likes
·
0 Votes
·
0 Comments
·
hi Nick,

sorry in meantime I have reconfigured the site. I have updated the ticket and updated the Joomla and FTP access to the website.

thanks in advance
Martin
·
Thursday, 11 February 2016 07:15
·
0 Likes
·
0 Votes
·
0 Comments
·
Hello Martin,

1. subscribers do not get notifications email. I see in “Mail Queue” those are not generated at all. All other kinds of notification seem to work. Any configuration issue I have forgot?
- I've fixed it for you. Seems like the subscription id is not published.

2. downsizing all uploaded images - to max width, height and compression - those feature is really a must and those parameters should be configurable in backend - I have implementing this feature in my installation in the latest Komento version in the file: components/com_komento/helpers/file.php file. I would like you to add this feature into your product. Without this feature I can not use Komento productive (extremely high storage usage!) and I not want my fix to be overwritten during next update of Komento.
- Thanks, I will add this config in the next release.

3. external images included in the comments (link to external image) are not clickable and no popup with full view is displayed. It would be nice to have the same behaviour as for the uploaded images.
- I'm sorry but this is not possible with a simple hack. As the way we display attachments and in-line images is different.

4. components/com_komento/themes/kuro/comment/form/cancelbutton.php - hardcoded “Cancel” text must be replaced by COM_KOMENTO_FORM_CANCEL
- We have already fixed this internally. Will be included in the next release.

5. If the user does not check the Terms&Condition checkbox when submitting the comment you should display the error COM_KOMENTO_FORM_NOTIFICATION_TNC_REQUIRED and not the COM_KOMENTO_FORM_NOTIFICATION_FIELD_REQUIRED
- Thanks. We will take a look on this.

6. the setting Layout/GeneralLayout/Appearance/Image and video width and height is used to set the size of images when displaying but only images embedded in the comments as links to external images. The same setting could be used when displaying images uploaded as attachments. For now I have used the css and overwritten the #section-kmt .attachment-image-link property to achieve this - but it is maintenance overhead to have two places to configured almost the same visual feature
- I've modified your file here: ../components/com_komento/themes/kuro/comment/item/attachment.php to follow the config. I will discuss with our designer whether it should be included or not in the next release.

7. subscription confirmation link send in confirmation email are easy to misuse because the subscription id is just a simple sequence value: “?option=com_komento&task=confirmSubscription&id=2” . It should be like kind of hash or token value.
- Thanks. I will add this in our tracker.

8. in the subscription confirmation email the title of the article is empty.
- I've fixed it for you and also will be included in the next release.

9. In all notification emails sent there is nowhere the website title. The user does not really know where is the email coming from.
- You can write it in our Voices page here: http://www.stackideas.com/voices/komento so that we can keep track on this.

10. MailQueue table is growing quite fast. Should be any feature implemented to automatically purge of all sent emails from this table (e.g. older then X days)
- You can write it in our Voices page here: http://www.stackideas.com/voices/komento so that we can keep track on this.

11. comments posted in Komento appear in EasySocial but the attached pictures are not displayed
- We have already fixed this internally. I've apllied the fix in your site. Please give it a try.

12. the email to the moderator should include links to all attachments of this comment. Otherwise the moderator does not really see the entire comment and can not really decide if the attached file / picture is a spam, does not match the rules etc
- I'll add this in our tracker.

13. configuration option to hide the original file name of uploaded attachments
- You can write it in our Voices page here: http://www.stackideas.com/voices/komento so that we can keep track on this.

Hope these help.
·
Thursday, 11 February 2016 17:31
·
0 Likes
·
0 Votes
·
0 Comments
·
hi NIK,

first thanks a lot for reading my very long post and your support. I want to say I love your products and I am really happy when I can help you with verification and some suggestions related to your products.

Below my answers.



1. subscribers do not get notifications email. I see in “Mail Queue” those are not generated at all. All other kinds of notification seem to work. Any configuration issue I have forgot?
I've fixed it for you. Seems like the subscription id is not published.
SOLVED. Thanks. I see the problem was not activated setting Notification/Events/New Comment

2. downsizing all uploaded images - to max width, height and compression - those feature is really a must and those parameters should be configurable in backend - I have implemented this feature in my installation in the latest Komento version in the file: components/com_komento/helpers/file.php file. I would like you to add this feature into your product. Without this feature I can not use Komento productive (extremely high storage usage!) and I not want my fix to be overwritten during next update of Komento.
- Thanks, I will add this config in the next release.
Should I send you the source modifications I made? I did a change in the file.php file and additionally implemented a small independent image manipulation library which is installed separately and imported and used in the file.php. This library makes thumbnails for horizontal and vertical images and additionally reads EXIF meta data from the original jpg and rotate the image if necessary. Let me know I will send you what I did. I am going to do the same for EasySocial to automatically reduce all uploaded images "originals".

3. external images included in the comments (link to external image) are not clickable and no popup with full view is displayed. It would be nice to have the same behaviour as for the uploaded images.
I'm sorry but this is not possible with a simple hack. As the way we display attachments and in-line images is different.
OK. I will try to investigate and maybe find a nice solution for this

4. components/com_komento/themes/kuro/comment/form/cancelbutton.php - hardcoded “Cancel” text must be replaced by COM_KOMENTO_FORM_CANCEL
We have already fixed this internally. Will be included in the next release.
OK. Thanks.

5. If the user does not check the Terms&Condition checkbox when submitting the comment you should display the error COM_KOMENTO_FORM_NOTIFICATION_TNC_REQUIRED and not the COM_KOMENTO_FORM_NOTIFICATION_FIELD_REQUIRED
- Thanks. We will take a look on this.
OK. Thanks.

6. the setting Layout/GeneralLayout/Appearance/Image and video width and height is used to set the size of images when displaying but only images embedded in the comments as links to external images. The same setting could be used when displaying images uploaded as attachments. For now I have used the css and overwritten the #section-kmt .attachment-image-link property to achieve this - but it is maintenance overhead to have two places to configured almost the same visual feature
I've modified your file here: ../components/com_komento/themes/kuro/comment/item/attachment.php to follow the config. I will discuss with our designer whether it should be included or not in the next release.
OK. Thanks a lot. Now it looks great. Would be nice to include into next release

7. subscription confirmation link send in confirmation email are easy to misuse because the subscription id is just a simple sequence value: “?option=com_komento&task=confirmSubscription&id=2” . It should be like kind of hash or token value.
- Thanks. I will add this in our tracker.
OK. Thanks. The same for unsubscribe. At the current state anyone can just simple remove all subscriptions just by calling this link and increasing the id (

8. in the subscription confirmation email the title of the article is empty.
- I've fixed it for you and also will be included in the next release.
Did you do any modification in my installation? I see still empty placeholders in the email title and email body, see example
Email title: "Pending subscribe confirmation ()"
Email body: "Good day ..., Please click on the confirmation button to confirm your subscription to comment updates in the article: "
This problem is related only to subscription confirmation. Other emails seem to be ok.

9. In all notification emails sent there is nowhere the website title. The user does not really know where is the email coming from.
- You can write it in our Voices page here: http://www.stackideas.com/voices/komento so that we can keep track on this.
OK.

10. MailQueue table is growing quite fast. Should be any feature implemented to automatically purge of all sent emails from this table (e.g. older then X days)
- You can write it in our Voices page here: http://www.stackideas.com/voices/komento so that we can keep track on this.
OK

11. comments posted in Komento appear in EasySocial but the attached pictures are not displayed
- We have already fixed this internally. I've applied the fix in your site. Please give it a try.
Thanks. I see a difference. But I would have two suggestions 1) the label "attachments" should not appear if there is no attachments in the Komento comment, 2) if the attachment is an image it could be displayed as thumbnail and not only as link to download the file. Thanks )


12. the email to the moderator should include links to all attachments of this comment. Otherwise the moderator does not really see the entire comment and can not really decide if the attached file / picture is a spam, does not match the rules etc
- I'll add this in our tracker.
OK.Thanks.

13. configuration option to hide the original file name of uploaded attachments
- You can write it in our Voices page here: http://www.stackideas.com/voices/komento so that we can keep track on this.

Hope these help.
·
Friday, 12 February 2016 06:32
·
0 Likes
·
0 Votes
·
0 Comments
·
Hello Martin,

Thanks for all these issue/improvement reports. Really appreciate that.

Should I send you the source modifications I made?
- I've already made a backup of your modified file.php

Did you do any modification in my installation? I see still empty placeholders in the email title and email body
- Have you tried create a new subscription? I've made a test subscribe and the email is correct: http://screencast.com/t/BxWqPyyaaXC

Thanks. I see a difference. But I would have two suggestions
1) the label "attachments" should not appear if there is no attachments in the Komento comment,
2) if the attachment is an image it could be displayed as thumbnail and not only as link to download the file. Thanks )

- I can see in your site that these suggestion has been applied. Did you do it?
·
Friday, 12 February 2016 11:35
·
0 Likes
·
0 Votes
·
0 Comments
·
Hello Nick,

Should I send you the source modifications I made?
- I've already made a backup of your modified file.php
In attachment you can find a library for thumbnails creation I have created and used (lib_stackideasutils.zip)

Did you do any modification in my installation? I see still empty placeholders in the email title and email body
Have you tried create a new subscription? I've made a test subscribe and the email is correct: http://screencast.com/t/BxWqPyyaaXC
I have tested and the result:
- when the user subscribe directly to article without writing comment (using the small "letter" icon) then the email generated is corrupted (missing title, article name) see "subscription-to-article.png"
- when the user send a comment with selecting checkbox subscription - he gets a correctly generated email. See "comment-with-subscription.png"

Thanks. I see a difference. But I would have two suggestions
1) the label "attachments" should not appear if there is no attachments in the Komento comment,
2) if the attachment is an image it could be displayed as thumbnail and not only as link to download the file. Thanks )

- I can see in your site that these suggestion has been applied. Did you do it?
No, I did not do anything. And "the problems" are still there. See my attachments:
Comment-without-attachment.png - the label "ATTACHMENTS" should not be displayed
Comment-with-image-link.png - the same - no direct attachment, so the label should not be displayed
Comment-with-image-attachment.png - would be nice to see the thumbnail instead of the file name + link
·
Saturday, 13 February 2016 06:48
·
0 Likes
·
0 Votes
·
0 Comments
·
Hello,

I am sorry for the late reply. We have missed your post.

In attachment you can find a library for thumbnails creation I have created and used (lib_stackideasutils.zip)
- Thanks. I'll take a look on it.

I have tested and the result:
- when the user subscribe directly to article without writing comment (using the small "letter" icon) then the email generated is corrupted (missing title, article name) see "subscription-to-article.png"
- when the user send a comment with selecting checkbox subscription - he gets a correctly generated email. See "comment-with-subscription.png"

- I see. Hm, seems like this required a lot of code changes. I'll log this in our tracker and will be include in the next release.

No, I did not do anything. And "the problems" are still there. See my attachments:
- Can you provide me the link to that article so that I can replicate it and directly fix on your site?
·
Tuesday, 16 February 2016 12:52
·
0 Likes
·
0 Votes
·
0 Comments
·
hi Nick !

1. thanks for including the issue with the subscription notification email into your tracker.
2. issue with Komento comment in EasySocial dashboard.

you can see multiple comments in this article (with image attachment, with image embedded, without any attachments):
http://kuchnia-domowa.pl/przepisy/alfabetycznie/402-przepis-na-barszcz-wigilijny-na-zakwasie.html

and how those are displayed in the EasySocial dasboard you can see in my previous post (attached screenshots).

in case you are going to modify any file in my installation, please tell which file so I would make a backup.
thanks a lot in advance.
·
Wednesday, 17 February 2016 15:44
·
0 Likes
·
0 Votes
·
0 Comments
·
Hello,

I've fixed it for you in this file: ../media/com_easysocial/apps/user/komento/themes/default/streams/content.php and also have fixed it internally and will be included in the next release.
·
Thursday, 18 February 2016 12:05
·
0 Likes
·
0 Votes
·
0 Comments
·
hello Nik,

thanks for your support. I see the "attachment" word does not appear anymore if no attachments in the comment

Would be possible to implement my second suggestion to display image-attachments as thumbnails instead of link to download? This would really round the integration between Komento and EasySocial

thanks a lot in advance !
·
Friday, 19 February 2016 06:12
·
0 Likes
·
0 Votes
·
0 Comments
·
Hey there,

Glad that your issue is resolved now . You can submit your suggestion here : http://stackideas.com/voices

By the way, please remember to assign your domain to your license to obtain for support in the future. You can do so by accessing your license area at http://stackideas.com/dashboard
·
Friday, 19 February 2016 12:58
·
0 Likes
·
0 Votes
·
0 Comments
·
hi Fadhi,

thanks for all your support and taking over many of my issues to your tracker for the next release. I have submitted some feature request for the issues you have suggested me to do.

I will summarize what I think we have still open:

1.) security whole related to subscribe and unsubscribe link. At this moment any user on the www can unsubscribe all subscriptions existing on every installation of Komento on every server just by calling a simple url and only increasing the id parameter. Please fix it as quick as possible. I would suggest to add to unsubscribe link sent to users any additional parameter (any generated hash value or timestamp of subscription) and the component should verify if both values match before executing unsubscribe action.

2.) Displaying image attachments from Komento on the EasySocial user dashboard. I have done more "quick improvements" in the file: media/com_easysocial/apps/user/komento/themes/default/streams/content.php . Now this file at least distinguishes between images and other attachments. Images are displayed as <img> other files as list of attachments to download. See attached php file. The only issue I do not know how to solve is to display a nice popup when user click on the image (like it behaves in Komento). Now the click triggers a original image download. Could you please help to implement this "last missing element"


thanks a lot and waiting for any update from your side

best reagrds
Martin
·
Monday, 07 March 2016 06:21
·
0 Likes
·
0 Votes
·
0 Comments
·
Hello Martin,

Thanks for the summary.

1. I've add this in our tracker.
2. I'm sorry, to have the popup box, it is not possible since the page is Easysocial. Meaning, the Komento JS files is not loaded here.
·
Tuesday, 08 March 2016 18:16
·
0 Likes
·
0 Votes
·
0 Comments
·
Hello Martin,

Just for a heads up, we are about to release an update for Komento. This update is for the php7 compatibility. some of the issues reported here might not be included yet in this release. This php7 compatibility is for user that using new Joomla 3.5.
·
Wednesday, 23 March 2016 18:41
·
0 Likes
·
0 Votes
·
0 Comments
·
View Full Post