double voting at products

  • Posts: 81
  • Thank you received: 2
12 years 4 weeks ago #45537

Hi, I activated the voting system, and in either configuration I get 2 groups of stars.
I t must be a small thing, but in the configuration i am not able to get rid of the second group of stars.
i attached a screenshot
Best regards,

Roy

Attachments:

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

  • Posts: 81563
  • Thank you received: 13071
  • MODERATOR
12 years 3 weeks ago #45655

Could you do a screenshot of the vote tab of the configuration so that we can try to reproduce the problem ?

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

  • Posts: 81
  • Thank you received: 2
12 years 3 weeks ago #45731

here is my screenshot:

Attachments:

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

  • Posts: 13201
  • Thank you received: 2322
12 years 1 week ago #47149

Hi rockoladeluxe,

This problem have been corrected recently, it come from the name and the id for the vote module which are the same.
So some explorer don't make the difference between the both, that's why the stars of the comment module are called at the same time than the stars of the vote module.

In the next release this bug is corrected, but you can correct it by yourself if you want.
It involves some modifications.

Edit the file: YourSite/component/com_hikashop/views/vote/tmpl/form.php
Change:

echo "<select name='hikashop_vote_rating' id='hikashop_vote_rating' style='display:none;'>";
TO
echo '<select name="hikashop_vote_rating" id="hikashop_vote_rating_id">';

And edit the file: YourSite/administrator/component/com_hikashop/classes/vote.php
Replace all the:
hikashop_vote_rating
TO
hikashop_vote_rating_id

Last edit: 12 years 1 week ago by Xavier.

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

  • Posts: 81
  • Thank you received: 2
12 years 1 week ago #47158

Hi Xavier,
thanks for the anwser, I'm working with Firefox11 and Chromium for Ubuntu 11.10.
I did the changes then cleared my cache but the double voting is still here.

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

  • Posts: 81
  • Thank you received: 2
12 years 1 week ago #47159

Hi Xavier,
thanks for the anwser, I'm working with Firefox11 and Chromium for Ubuntu 11.10.
I did the 2 changes you described and then cleared my cache but the double voting is still here...

Thanks,
Roy

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

  • Posts: 13201
  • Thank you received: 2322
12 years 1 week ago #47164

We are going to correct it.

If you only use the vote system and no the comments.
Try to comment the line:

echo hikashop_getLayout('vote', 'form', $params, $js);

In HikaShop > Display > Views, edit: product / show.php or (show_default.php) it depends of your version of hikashop.

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

Time to create page: 0.088 seconds
Powered by Kunena Forum