By n00bster on Wednesday, 11 June 2014
Posted in General Issues
Replies 7
Likes 0
Views 1.4K
Votes 0
right now i can enable the rating in each integration source what is installed (joomla, EB ...) in joomla.

i suggest that the rating feature should depend on the categories in the integrated sources.
on the joomla categories i do not want/need an all categories the rating stars. same is for the EB categories.

as example, i have jReviews installed and want to change from there comment system to komento and use the rating feature exactly for this. but i have also some normal joomla categories where i want a normal comment form without the rating stars. right now this is not possible or do i missed something here?
Hello n00bster,

If I understand you correctly, you want Komento rating star to have ability to enable/disable rating for some categories but still have the ability to comment isn't? I believe this feature is unavailable right now. Komento rating star is displayed for every category. But if you want to disable it for some categories, you need to tweak the code.
Can you try put this code in your site and see how it goes. But first please backup you site before override the files so that in the future, you can revert it back to the original. Please give it a try. Here I attached you 4 files:

1. \administrator\components\com_komento\views\integrations\tmpl\default_main_bootstrap.php
2. \administrator\components\com_komento\views\integrations\tmpl\default_main_joomla.php
3. \components\com_komento\themes\kuro\comment\form.php
4. \administrator\components\com_komento\configuration.json
5. \components\com_komento\helpers\helper.php

Looking forward to hear from you back.
Hope this will help.
Thanks.
·
Wednesday, 11 June 2014 17:26
·
0 Likes
·
0 Votes
·
0 Comments
·
hi mohd,

first thank you for your help.
i have tested your hack. it brings in the backend under RATINGS in the integration source view the option to select categories up. that is good, exactly what i am looking for
but in the frontend the settings are not taken into account. the rating stars are shown also an categories what i have excluded in the backend. i am working on the joomla integration source.

i added login details to my development site, should be easier to work on this.

by the way, i really would like to suggest to add this code in the next upcoming version. i would appreciate this very much.
·
Wednesday, 11 June 2014 18:27
·
0 Likes
·
0 Votes
·
0 Comments
·
Hello n00bster,

I am trying to access your backend site and it seems you didn't enable our access yet. Screenshot: http://screencast.com/t/Bczka2c2P .

Please be advise.
Thanks.
·
Wednesday, 11 June 2014 19:21
·
0 Likes
·
0 Votes
·
0 Comments
·
sorry my fault ... please try again
·
Wednesday, 11 June 2014 21:06
·
0 Likes
·
0 Votes
·
0 Comments
·
Hello n00bster,

I have check your site and it seems like it is working as it should be. Here my screenshot: http://screencast.com/t/fFsAxUIoe and http://screencast.com/t/kASnJ9q226z4 . Perhaps you can clear your site cache and see how it goes.

Looking forward to hear from you again.
·
Wednesday, 11 June 2014 23:47
·
0 Likes
·
0 Votes
·
0 Comments
·
hi mohd,

you right, the rating option are only visible on the comment form where i have set it too.
but on category articles what are excluded from the rating - the overall rating is still showing up, this should be also not visible on categories where the rating feature is disabled. i made a screenshot what i mean.
maybe you could have a look again, would be nice.
i am very happy right now, your hack does exactly what i need.

did you maybe thought about to integrate this hack in the normal version?
·
Friday, 13 June 2014 02:28
·
0 Likes
·
0 Votes
·
0 Comments
·
Hello n00bster,

I have helps you fix this issue. I have put some code in this file: components\com_komento\themes\kuro\comment\box.php Line: 37

<!-- START: Pro Version Only -->
<?php if ($system->config->get('enable_ratings') && $show_rating) { ?>
<?php echo $this->fetch( 'comment/ratings.php' ); ?>
<?php } ?>
<!-- END: Pro Version Only -->

I am sorry for the inconvenience caused. If you have anymore question, please don't hesitate to ask us.
Hope this will work.
Thanks.
·
Friday, 13 June 2014 11:02
·
0 Likes
·
0 Votes
·
0 Comments
·
View Full Post