Monday, 22 December 2014 11:21
beggarly

-1 vote count when trying to vote again

Provides the ajax five-star rating feature to your articles

-1 vote count when trying to vote again

Postby rufuz » Mon May 25, 2009 3:05 am

accessing a page with mainvote there are 2 possible situations:

1) I have already voted.

2) I haven't voted yet.

in situation 1) all works as expected

in situation 2) When I vote the counter adds +1 vote, then If I try to vote again the ajax message says I've already voted, as expected.
But at this point the counter take out 1 vote to the total.

for instance if there are 25 votes, on the first hit it changes to 26, on the second hit it roll back to 25.
When the page is refreshed the counter gives the right count, 26. Then works fine as we are already in the situation 1).

It gives the sensations to the user to have lost its vote, even it has been counted.

The issue is easily reproducible is your demo site, too.

Any idea how to fix it?

thanks!

ricc.
rufuz
Fresh Boarder
Fresh Boarder
 
Posts: 6
Joined: Tue May 13, 2008 6:13 pm

Re: -1 vote count when trying to vote again

Postby rufuz » Thu May 28, 2009 1:11 am

Is there any change to get an answer?
no matter what kind, it would be ok also a negative one. Better than nothing, since a support forum has been setup here.
I posted 3 questions here since may 2008. And I got silence.

bye

ricc.
rufuz
Fresh Boarder
Fresh Boarder
 
Posts: 6
Joined: Tue May 13, 2008 6:13 pm

Re: -1 vote count when trying to vote again

Postby chus » Thu May 28, 2009 4:22 am

Hi!

Please try installing the attached patch for the issue you have described!

Thank you!
Attachments
plg_extravote.zip
(14.05 KiB) Downloaded 574 times
User avatar
chus
Administrator
Administrator
 
Posts: 455
Joined: Thu Sep 13, 2007 2:21 am
Location: Costa Rica

Re: -1 vote count when trying to vote again

Postby rufuz » Thu May 28, 2009 4:43 am

This fix the problem and makes the plugin perfect.

In my specific case that counter is indeed important...

sorry for the previous post, I was recently frustrated by many "absent" developers in the joomla area.

I will review in the JEd as deserved :)

bye

ricc.
rufuz
Fresh Boarder
Fresh Boarder
 
Posts: 6
Joined: Tue May 13, 2008 6:13 pm

Re: -1 vote count when trying to vote again

Postby rufuz » Thu May 28, 2009 3:08 pm

there are 2 new issues:

1) While it now works with ie7, it doesn't work with ie6. Not a big deal, since percentage of ie6 users is dropping quickly.

2) "hide from blog view" doesn't hide. I also tried to disable rating from the menu, but nothing changed. I guess this can be overridden by using the replace tag {}, though.

I hope it can be useful to you,

Thanks again,

bye
ricc.
rufuz
Fresh Boarder
Fresh Boarder
 
Posts: 6
Joined: Tue May 13, 2008 6:13 pm


Return to Extra Vote



Who is online

Users browsing this forum: No registered users and 1 guest