Author |
Message |
![[Post New]](/forum/templates/html/images/icon_minipost_new.gif) 14/01/2011 15:08:39
|
z28soldierwife
Newbie
![[Avatar]](/forum/images/avatar/11069366144d3059bc3655c.jpg)
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 |
|
![[Post New]](/forum/templates/html/images/icon_minipost_new.gif) 14/01/2011 23:20:15
|
Webmaster
Site Admin
![[Avatar]](/forum/images/avatar/c81e728d9d4c2f636f067f89cc14862c.png)
Joined: 10/01/2002 23:32:17
Messages: 82
Offline
|
You can use iframes to embedded the poll into a html page
- <iframe src="http://www.yourdomain.com/poll.php" width="90%" height="400" name="poll"></iframe>
|
|
![[Post New]](/forum/templates/html/images/icon_minipost_new.gif) 14/01/2011 23:34:17
|
z28soldierwife
Newbie
![[Avatar]](/forum/images/avatar/11069366144d3059bc3655c.jpg)
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 |
|
![[Post New]](/forum/templates/html/images/icon_minipost_new.gif) 15/01/2011 00:12:50
|
Webmaster
Site Admin
![[Avatar]](/forum/images/avatar/c81e728d9d4c2f636f067f89cc14862c.png)
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">
|
|
![[Post New]](/forum/templates/html/images/icon_minipost_new.gif) 15/01/2011 02:13:25
|
z28soldierwife
Newbie
![[Avatar]](/forum/images/avatar/11069366144d3059bc3655c.jpg)
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 |
|
|