A few of bugs in commenting system

  • Posts: 117
  • Thank you received: 6
5 years 8 months ago #295356

-- HikaShop version -- : 3.5.0
-- Joomla version -- : 3.8.10
-- PHP version -- : 7.2.0
-- Browser(s) name and version -- : Firefox 61.0.1

Hi,

I've checked the commenting system and found a few of bugs (I use settings as in a screenshot):

1. After sending the comment, the styles of the Chosen dropdown lists disappear - they become normal lists, not Chosen. This is very similar to the problem on the checkout page, which I once described and you were able to fix it .

2а. Near the comment, you can not see the thumbs up and thumbs down buttons (I deleted the cookies and site data after posting a comment) - I see the code that is responsible for sending the data, but it is not associated with either the button or the picture. As a consequence, td has a zero width.

2b. If I set the width for the thumbs up code, if I click the mouse in the required area, everything works. By the way, after sending thumbs up or down the bug 1 appears. Also the tooltips show the following regardless of language: "HIKA_USEFUL" for thumbs up and "Useless" for thumbs down.

3. A drop-down list for sorting comments is displayed even when there are no comments.


Sorry for my English, it's not my native language.
Last edit: 5 years 8 months ago by alin.

Please Log in or Create an account to join the conversation.

  • Posts: 4491
  • Thank you received: 609
  • MODERATOR
5 years 8 months ago #295454

Hello,

In order to move forward in this subject can you provide an Url with the issue in order to process some tests ?
If required, provide some user references via our Contact us form (add an url link to this topic).

Awaiting news from you.
Regards

Last edit: 5 years 8 months ago by Philip.

Please Log in or Create an account to join the conversation.

  • Posts: 117
  • Thank you received: 6
5 years 8 months ago #295467

Hello,

I've sent all the info via Contact us form.


Sorry for my English, it's not my native language.

Please Log in or Create an account to join the conversation.

  • Posts: 81378
  • Thank you received: 13037
  • MODERATOR
5 years 8 months ago #295480

Hi,

Thanks for all your feedback.

1. Add the code:

if(hkjQuery().chosen)
					hkjQuery('#' + section.id + ' select').chosen();
after the code:
section.innerHTML = xhr.response;
in the file media/com_hikashop/js/vote.js and clear your browser and website caches and it should fix that.
Please let us know how it goes.

2. Change the "styles for the frontend" setting to "default" in the HikaShop configuration and you'll get the CSS to display the votes system properly.
The translation is indeed missing. We'll add it for the next version. You can add it to your translation override in the mean time:
www.hikashop.com/download/languages.html#modify

3. We'll add a check to not display the sorting when there is no need for it with the next version.
You can just change the line:
if($row->vote_comment_sort_frontend) {
to:
if($row->vote_comment_sort_frontend && count($this->elts)) {
in the file "listing" of the view "vote" for your frontend template via the menu Display>Views.

The following user(s) said Thank You: alin

Please Log in or Create an account to join the conversation.

  • Posts: 117
  • Thank you received: 6
5 years 8 months ago #295546

Hi,

1. Now it works as it should.

2. Ok, I've taken some code from your default css.

3. It also works.

Thank you!


Sorry for my English, it's not my native language.

Please Log in or Create an account to join the conversation.

Time to create page: 0.066 seconds
Powered by Kunena Forum