If you are not registered or logged in, you may still use these forums but with limited features. Show recent topics
  [Search] Search   [Hottest Topics] Hottest Topics   [Members]  Member Listing   [FAQ]  FAQ 
[Register] Register / 
[Login] Login 
Advance Poll - vote without showing results?  XML
Forum Index » Support Forum
Author Message
Anonymous



Is there a way I can have an advance poll on a page so that after a person votes, they can't see the results until I post them at a later time?

If that's not possible, can I at least get rid of the "view results" link underneath the poll so that they can't see the results before they vote?

Thanks in advance to anyone who can help.
Anonymous



I need to modify Advanced Poll 2.03 so that it returns a "Thanks for Voting" message in place of the poll. This lets the responder know they have voted.

The poll is gathering marketing information, so we don't want to display the results to the public. I can make a separate page to view the results, that seems easy enough.

But I can't figure out where to patch the response to not include the post.

Any pointers would be appreciated.

Larry
Anonymous



I need this too! Anyone has a suggestion?
Anonymous



Ok, I found how to not show the Result after Voting!

But then the Vote won't be counted
But the message "You already have voted" is shown when I refresh the site!

ARGG!
Carbonize
Master
[Avatar]

Joined: 12/06/2003 19:26:08
Messages: 4291
Location: Bristol, UK
Offline

I will look into this on Thursday night if Auron has not answered.

Carbonize
I am not the maker of the Advanced Guestbook

get Lazarus
[Email] [WWW] [Yahoo!] aim icon [MSN] [ICQ]
Carbonize
Master
[Avatar]

Joined: 12/06/2003 19:26:08
Messages: 4291
Location: Bristol, UK
Offline


thats the part of the code in class_poll.php that tells it what to do once you have voted. Well part of it does. Some of the code makes no sense at all. I beleive the line that tells it to show the results after posting is

Carbonize
I am not the maker of the Advanced Guestbook

get Lazarus
[Email] [WWW] [Yahoo!] aim icon [MSN] [ICQ]
Anonymous



So taking this line away you won't be redirected to the results?
Carbonize
Master
[Avatar]

Joined: 12/06/2003 19:26:08
Messages: 4291
Location: Bristol, UK
Offline

I'd say thats the line you'd need to change to something else.

Carbonize
I am not the maker of the Advanced Guestbook

get Lazarus
[Email] [WWW] [Yahoo!] aim icon [MSN] [ICQ]
Anonymous



taking it away what will happen?
Carbonize
Master
[Avatar]

Joined: 12/06/2003 19:26:08
Messages: 4291
Location: Bristol, UK
Offline

Nothing. They would vote and then nothing. Could try replacing it with

Replacing YOURSITEHERE with your sites address.

Carbonize
I am not the maker of the Advanced Guestbook

get Lazarus
[Email] [WWW] [Yahoo!] aim icon [MSN] [ICQ]
Anonymous



Thanks a lot for all, this evening I'll try and I'll tell you ;D
Anonymous



it gives me a window error... how could i do?
Anonymous



Ok now it works!!!
rocho
Newbie

Joined: 27/12/2006 21:22:47
Messages: 2
Offline

my poll still showing all users the results

i need to hidde the results what can i do ??? thanks
marinasiena
Newbie

Joined: 20/02/2009 21:54:12
Messages: 1
Offline

I'm still not clear on how to stop displaying results when voting and return a "thanks for voting" message.

Would someone kindly post which files to edit to make the thank you appear?

Thank you so much!
 
Forum Index » Support Forum
Go to:   
Based on the open source JForum