News:

Wondering if this will always be free?  See why free is better.

Main Menu

Poll problem

Started by willemjan, June 06, 2011, 08:14:50 AM

Previous topic - Next topic

willemjan

The total doesn't match with the ammount of votes. Is this because I allowed guest voting? Look at pic

Kratty256

Try running forum maintenance.

Admin -> Forum Maintenance -> Find and repair any errors
Also while you're there, Recount all forum totals and statistics.

willemjan

Tried it allready. Didn't work.

willemjan


Aleksi "Lex" Kilpinen

That's strange.... It could be because of guest voting - I'm not sure how it tracks the number of votes though...
Slava
Ukraini!
"Before you allow people access to your forum, especially in an administrative position, you must be aware that that person can seriously damage your forum. Therefore, you should only allow people that you trust, implicitly, to have such access." -Douglas

How you can help SMF

willemjan

I see you are now support lead! Congratz!

Any idea what we can do about it?

Aleksi "Lex" Kilpinen

For now the best thing I can come up with, is to test this ( I will ) and try to find out how that happened in the first place, and then work from there ( make a bug report etc. if it seems to be an apparent bug ).

What to do to fix your poll count - I'm unsure really, as I don't know exactly how it keeps count...
Will have to look in to that as well.

Quote from: willemjan on June 28, 2011, 06:33:25 AM
I see you are now support lead! Congratz!
Thanks :)
Slava
Ukraini!
"Before you allow people access to your forum, especially in an administrative position, you must be aware that that person can seriously damage your forum. Therefore, you should only allow people that you trust, implicitly, to have such access." -Douglas

How you can help SMF

willemjan

Ok, thanks! Looking foreward to see what you come up with :)

Aleksi "Lex" Kilpinen

As I'm not sure I can find the time to dig in to this right now, I also made a post about this to the beta testers and team to see if someone else has time to do this faster.
If not, I'll try and look in to this in the next couple of days with some thought ;)
Slava
Ukraini!
"Before you allow people access to your forum, especially in an administrative position, you must be aware that that person can seriously damage your forum. Therefore, you should only allow people that you trust, implicitly, to have such access." -Douglas

How you can help SMF

willemjan

No problem! No need to rush things ;)

Oldiesmann

Just tried this on my test board and couldn't reproduce the issue. Try it yourself at http://smf.oldiesmann.us/index.php/topic,8423.0.html. I voted for one option while logged in and voted for the other option as a guest.
Michael Eshom
Christian Metal Fans

Aleksi "Lex" Kilpinen

I did a fast test just now myself (on my existing forum) and even though it's easy for one guest to make multiple votes from the same computer, it doesn't allow multiple votes in a row still, and I was unable to fool the counter for now... I made a few votes from one computer, and a few from another - and then I voted as a registered user - all in all, I have now 8 individual votes, and the total shows 8 as well.

I will be looking in to this more, hopefully tomorrow, to see if I can figure out that might happen.
Slava
Ukraini!
"Before you allow people access to your forum, especially in an administrative position, you must be aware that that person can seriously damage your forum. Therefore, you should only allow people that you trust, implicitly, to have such access." -Douglas

How you can help SMF

willemjan

I should notice that I am still on RC5. Have there been bugs fixed related to the poll function in the final version?

Aleksi "Lex" Kilpinen

Looking at the changelog, I see nothing that would obviously be related - but that doesn't automatically mean something couldn't have changed...
Slava
Ukraini!
"Before you allow people access to your forum, especially in an administrative position, you must be aware that that person can seriously damage your forum. Therefore, you should only allow people that you trust, implicitly, to have such access." -Douglas

How you can help SMF

willemjan

Also, I have Simple Portal installed. I let people vote using the poll block. Could that be related?

Aleksi "Lex" Kilpinen

Quote from: willemjan on June 29, 2011, 03:47:27 AM
Also, I have Simple Portal installed. I let people vote using the poll block. Could that be related?
Now - That certainly could have something to do with it, good to know, I'll test that too when I get around to testing this further.
Slava
Ukraini!
"Before you allow people access to your forum, especially in an administrative position, you must be aware that that person can seriously damage your forum. Therefore, you should only allow people that you trust, implicitly, to have such access." -Douglas

How you can help SMF

willemjan

I just opened an new poll on my site. Maybe it is nice to keep track of it a bit. It is in Dutch though...

http://www.hervormddamwald.nl

Aleksi "Lex" Kilpinen

I would love to test that out, and vote once through the topic and once through the portal - but I don't wish to mess the results.
But do keep an eye on it.
Slava
Ukraini!
"Before you allow people access to your forum, especially in an administrative position, you must be aware that that person can seriously damage your forum. Therefore, you should only allow people that you trust, implicitly, to have such access." -Douglas

How you can help SMF

willemjan

I'll add another option: "nooit". Vote for that, and I'll know thats you ;)

Aleksi "Lex" Kilpinen

Slava
Ukraini!
"Before you allow people access to your forum, especially in an administrative position, you must be aware that that person can seriously damage your forum. Therefore, you should only allow people that you trust, implicitly, to have such access." -Douglas

How you can help SMF

Aleksi "Lex" Kilpinen

Quite obvious now actually. Voting through the portal, it accepts the vote - and redirects you to the actual topic, to vote again.
The first vote is not counted in the total, the second is. You can now see there are 3 votes, with 2 total.

EDIT:
I still think I'll want to test this on a fresh 2.0 with and without the portal, and I will - to make sure that's the cause.
Slava
Ukraini!
"Before you allow people access to your forum, especially in an administrative position, you must be aware that that person can seriously damage your forum. Therefore, you should only allow people that you trust, implicitly, to have such access." -Douglas

How you can help SMF

willemjan

So its an portal bug, huh? Its odd that no-one else has had this problem... I guess I'll open up an topic @ simple portal.

Aleksi "Lex" Kilpinen

It probably is a portal bug - I still won't say for sure, no harm in asking them about it though. :)
Slava
Ukraini!
"Before you allow people access to your forum, especially in an administrative position, you must be aware that that person can seriously damage your forum. Therefore, you should only allow people that you trust, implicitly, to have such access." -Douglas

How you can help SMF

willemjan

Thanks for this fast support! I think your doing an great job as lead support team ;)

Aleksi "Lex" Kilpinen

You're welcome - And thank you :)

Do let us know if you or the SP people come up with something new relating to this,
and I will be testing this further tomorrow or the day after, and will let you know if I find out something new.
Slava
Ukraini!
"Before you allow people access to your forum, especially in an administrative position, you must be aware that that person can seriously damage your forum. Therefore, you should only allow people that you trust, implicitly, to have such access." -Douglas

How you can help SMF

willemjan

Yes, I'll give you guys an heads-up. Thanks!

willemjan

Got an reply from Sinan:
Quote from: [SiNaN]
SimplePortal uses the ssi_showPoll() and ssi_pollVote() functions in SSI.php which are default SMF functions. Someone probably fixed an issue with guest vote handling and forgot to update the functions in SSI.php. So it's a bug with SMF and not SimplePortal. I may consider fixing this in SP poll block though.

Aleksi "Lex" Kilpinen

Ok, then we probably should start hunting for the exact bug next...
Slava
Ukraini!
"Before you allow people access to your forum, especially in an administrative position, you must be aware that that person can seriously damage your forum. Therefore, you should only allow people that you trust, implicitly, to have such access." -Douglas

How you can help SMF

bobybc

any movements there?
i just found the same bug in my SMF2.0.1, which doesn't have portal
there are wrong votes count on almost all polls

i didn't find anything related to the bug in the forum and change notes too. do you consider fix this?

Illori

please open a separate thread for your issue, this thread belongs to someone else and please dont bump old threads.

willemjan

I actually don't mind that this thread was opened again. I am still waiting for an solution for this problem.

Illori

but the support team does care, we want each user to have a separate thread as there is no guarantee they have the same issue. and we cant determine if they get their issue solved if they post in someone elses thread.


Advertisement: