Page 1 of 1

Site Survey problem

PostPosted: Mon May 08, 2006 10:22 pm
Author: bbalegere
I had enabled site survey in my IntegraMOD test site.
The poll is being displayed correctly but when a registered user clicks on submit vote,the user is taken to the page where the Poll is posted.
The user's vote is counted only when he clicks on Submit Vote again in the forum where the Poll is posted.

I do not want this to happen.I want the vote to be counted right at the beginning when the user clicks on Submit Vote from the portal itself.
I do not want to show the users where the poll is posted and I do not want them to Click on Submit vote twice

Can anybody help me?
here is the test site
http://www.bbalegere.ahbhost.com/forum/portal.php

Re: Site Survey problem

PostPosted: Mon May 08, 2006 10:30 pm
Author: Threat009
"bbalegere";p="5099" wrote:I had enabled site survey in my IntegraMOD test site.
The poll is being displayed correctly but when a registered user clicks on submit vote,the user is taken to the page where the Poll is posted.
The user's vote is counted only when he clicks on Submit Vote again in the forum where the Poll is posted.

I do not want this to happen.I want the vote to be counted right at the beginning when the user clicks on Submit Vote from the portal itself.
I do not want to show the users where the poll is posted and I do not want them to Click on Submit vote twice

Can anybody help me?
here is the test site
http://www.bbalegere.ahbhost.com/forum/portal.php

Wow! this is like the third poll problem I've read today. I'm thinking the poll needs a sticky somewhere or something b/c alot of users are having problems w/it. Self included <img>

PostPosted: Tue May 09, 2006 5:28 am
Author: tmotley
I used to have that problem too. A fix was posted on im.com but that's not available now.

I found where I had a folder on my computer with edits to only two files to fix the polls. However, it didn't have a step-by-step to follow, just updated files.

I applied the fixes back in March. I don't have the poll issues anymore.

I've made available my two files that were edited. They are straight off my site that is functional. Backup things and use at own risk.

http://motleyville.com/home/dload.php?a ... file_id=13

PostPosted: Tue May 09, 2006 6:01 am
Author: Eon
Yes I used to have this problem as well. And don't remember if or waht I did, but I do not have it anymore.

PostPosted: Tue May 09, 2006 6:39 am
Author: bbalegere
It has not helped.
The issue still remains.
Check it out here
http://www.bbalegere.ahbhost.com/forum/portal.php

Re: Site Survey problem

PostPosted: Tue May 09, 2006 8:17 am
Author: JenniferD
It seems that the poll block itself has options like so:
<input> </td>

and the poll forum post has them like so:
<input> </td>



This could be the cause, and I will post again when I rectify this if it fixes the poll issues

Re: Site Survey problem

PostPosted: Tue May 09, 2006 8:28 am
Author: JenniferD
inside ./templates/fi_subice/portal_poll_ballot.tpl

find (on or about line 11)
<td><input> </td>

replace with
<td><input> </td>

end

fixed

Remember to do this for all template files. One file, one edit, and it works perfectly for me now.

PostPosted: Wed May 10, 2006 4:45 am
Author: bbalegere
Thanks a lot
It works properly now

PostPosted: Wed May 10, 2006 6:11 am
Author: Eon
Nice job JennD. :mrgreen:

Re: Site Survey problem

PostPosted: Wed May 10, 2006 9:55 am
Author: JenniferD
I am just glad it was an easy fix. I had literally just implemented the poll block on the portal page, saw that happening, came here.

about 3 hours start to finish... and my site is becoming more heavily modified daily.

PostPosted: Wed May 10, 2006 1:46 pm
Author: Eon
Most of these mods are more than likely fixes, which are applied in 141.

Re: Site Survey problem

PostPosted: Sat Jul 08, 2006 5:30 am
Author: febern
Hello! :x There isn't display vote button :o

Re: Site Survey problem

PostPosted: Sat Jul 08, 2006 8:12 am
Author: evolver
"febern";p="11251" wrote:Hello! :x There isn't display vote button :o

When you let guests vote, it won't recognize if they have already voted in the past...
Meaning: They can vote endless times...making the votebox completely unreliable.
Even if it could recognize an IP...
With my ISP, I have a different IP after every boot...
So I don't think that making votes possible for guests is a good idea...

Alternative: Put all your registered users in groups with all the extra options/permissions that you want them to have...
And give visiters an easy way to register...
By not putting registered visitors in groups like the others, you can make them not have the extra options/permissions...then you can also make votes possible to them...

To make guest-votes reliable,
it would need a much more sophisticated MOD...
One that combines the recognition of IP's and writing cookies...
But even then...(cookies can always be deleted)

Re: Site Survey problem

PostPosted: Sat Jul 08, 2006 9:44 am
Author: febern
Yeah okay, thank you! <img>