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 
Show Poll & Votes Together  XML
Forum Index » Support Forum
Author Message
z28soldierwife
Newbie
[Avatar]

Joined: 14/01/2011 14:38:17
Messages: 3
Offline

I made a Facebook application so I could allow my Facebook fans to vote in polls (only after they have "liked" my page). What I want to do is show the results and the poll on the same page. I am using the poll embedded into a html page.

If that is not possible. Then how do I create a poll results page (php is fine) to put elsewhere on my server that way voters cannot see the url where the polls are (so they don't find the url to the poll and just send people there to vote instead of through Facebook).

My Advanced Poll version is 2.0.3

HOUSEHOLD 6 DESIGNS | MILITARY LIFE NETWORK
[WWW]
Webmaster
Site Admin
[Avatar]

Joined: 10/01/2002 23:32:17
Messages: 82
Offline

You can use iframes to embedded the poll into a html page

[Email] [WWW]
z28soldierwife
Newbie
[Avatar]

Joined: 14/01/2011 14:38:17
Messages: 3
Offline

Thanks for the reply! I forgot to mention though I cannot use iframes on Facebook within an application tab. I was hoping to show the results using php since I cannot use an iframe.

Also any idea how to make the submit button return a different url such as a thank you page instead of the results?

HOUSEHOLD 6 DESIGNS | MILITARY LIFE NETWORK
[WWW]
Webmaster
Site Admin
[Avatar]

Joined: 10/01/2002 23:32:17
Messages: 82
Offline

The thank you page instead of the result is quite simple

Remove all html code from the "result_loop" and "result_foot" part.

<img src="http://proxy2.de/files/result.png">
[Email] [WWW]
z28soldierwife
Newbie
[Avatar]

Joined: 14/01/2011 14:38:17
Messages: 3
Offline

Still not what I am looking for. I need it to go to a different url (back to my facebook fan page's application). Because I still want to be able to show the poll results as well so I definitely don't want to replace that code. I just need it to go to a url I specify once it submits.

HOUSEHOLD 6 DESIGNS | MILITARY LIFE NETWORK
[WWW]
 
Forum Index » Support Forum
Go to:   
Based on the open source JForum