Author |
Topic  |
|
mkervin
Junior Member
 
100 Posts |
Posted - 27 August 2012 : 13:05:34
|
My poll mod now allows users to vote every time they log into the site, it didn't work like this in the past. I would like it to allow the user to vote once and then only show them the graphs from then on. I am running the latest mod I can find, and I have all the setting set correctly. This poll started acting up about three weeks ago.
Our forum runs on MySql. Any ideas?
Anyone? I have used this mod for years and never had a problem. We didn't change any code on our pages, and we did'nt we mess with our database files. Therefore I don't know where to look to correct this behavior. Maybe it is IE 9 preventing it from working correctly. We use the poll mod weekly and that is why I want it to work correctly. If I can't get it to function as it once did I will have to remove it from our site, and that would be a shame.
Again, I want to allow our members to vote only once on the poll, and hide the featured poll from the default page once they vote. And that was how it used to work. Now it doesn't, it will allow the user to vote over, and over and over. And the featured poll keeps appearing on the default page. Where or what do I need to look at to correct this problem? Thanks! |
Edited by - mkervin on 28 August 2012 20:26:15 |
|
Davio
Development Team Member
    
Jamaica
12217 Posts |
Posted - 28 August 2012 : 22:04:54
|
You have a link I can take a look at? I'll take a look later. But double check your poll mod settings, both in the admin poll options and the options for the poll mod. Also, try creating a new test poll and see if the same problem occurs.
You mentioned IE 9. Does the same problem occurs if you try another browser?
You also mentioned the featured poll. Does it only happen with the featured poll or all polls? |
Support Snitz Forums
|
 |
|
mkervin
Junior Member
 
100 Posts |
Posted - 30 August 2012 : 21:09:32
|
Hello Davio, here is the link http://www.jsssoftware.com/forum/default.asp
I checked and double checked my settings. I changed the settings with no difference in how it functions. I am leaning towards an IE 9 update which caused the issue. I personally haven't tested it in a different browser since I have been receiving complaints from a lot of visitors I assume it is across them all. But I will check into it tonight.
And since it has been occurring every week for the last three weeks it doesn't seem to be an issue with just this poll. Now I have checked it on multiple machines but they all were running IE9 and they all acted the same.
OK I just checked it on XP SP3 running IE 8 with the same results. |
Edited by - mkervin on 31 August 2012 11:35:58 |
 |
|
mkervin
Junior Member
 
100 Posts |
Posted - 03 September 2012 : 12:52:11
|
Davio a New featured poll went up with the same results. Is there anyway at all to fix this or do I need to lose the poll? |
 |
|
Davio
Development Team Member
    
Jamaica
12217 Posts |
Posted - 03 September 2012 : 13:44:10
|
Possible you could give me an admin account I can access for your forum? I don't have the poll mod files present on my system to run you through the options. |
Support Snitz Forums
|
 |
|
mkervin
Junior Member
 
100 Posts |
Posted - 03 September 2012 : 14:05:42
|
I'll set one up for you where may I send it to you? |
 |
|
mkervin
Junior Member
 
100 Posts |
Posted - 03 September 2012 : 14:22:59
|
Davio, I sent you an email via this site with your username and password in it. Please let me know when you're done. |
 |
|
Davio
Development Team Member
    
Jamaica
12217 Posts |
Posted - 03 September 2012 : 15:41:20
|
Got your email. If you could send me a copy of your topic.asp and inc_func_common.asp file, I'll take a look at your code. |
Support Snitz Forums
|
 |
|
Davio
Development Team Member
    
Jamaica
12217 Posts |
Posted - 04 September 2012 : 14:35:14
|
Sent you another email with inc_func_common.asp. |
Support Snitz Forums
|
 |
|
Davio
Development Team Member
    
Jamaica
12217 Posts |
Posted - 06 September 2012 : 12:11:36
|
Problem was on line 57, in the GetVote() poll mod function. Topic ID's exceeded the range of the CINT() function. Changed it to CLNG().
Change this:
if cint(pTopic_ID) = cint(rsPoll2("TOPIC_ID")) then
to this
if clng(pTopic_ID) = clng(rsPoll2("TOPIC_ID")) then |
Support Snitz Forums
|
 |
|
mkervin
Junior Member
 
100 Posts |
Posted - 06 September 2012 : 20:17:30
|
I can't thank Davio enough for all the time he put into fixing our problem, the poll mod once again works flawlessly. We change the poll on our site every Monday morning, it is one of the star attractions of our site, and I am glad to have it working correctly again. Davio, you are my idol... thank you from the bottom of my heart; you truly are a special person, I really appreciate all you did for me. |
Edited by - mkervin on 06 September 2012 21:35:41 |
 |
|
Davio
Development Team Member
    
Jamaica
12217 Posts |
|
|
Topic  |
|