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 
Advanced Poll in poll.php inluded in index.shtml and popup  XML
Forum Index » Support Forum
Author Message
eightn
Newbie

Joined: 04/09/2007 17:22:31
Messages: 1
Offline

At first, sorry for my bad english.

I have installed "advanced poll" in my website. At now, with default db and data (mysql mode).

I am try to use polls, included into my .shtml pages like:






Advanced Poll successfully installed, but after I hit any poll point or "view result", my browser do not to site (http://www2.war3ft.ru/index.shtml), it go to http://www2.war3ft.ru/poll.php
I.e. it loading only poll code page. Not index.shtml page.

Can I use Advanced Poll in my site configuration (.shtml pages with SSI support only and some .php scripts at .php files, included from .shtml pages)?
oshiro
Newbie

Joined: 16/04/2008 01:48:02
Messages: 1
Offline

I'm having the same issue and one more. I am also calling the poll from a shtml page. 2 things are failing:

1. Once a user votes it redirects them to http://site/poll.php with the tally instead of occupying the space I have on the shtml page. I want the user to stay on the shtml page they started on with the vote panel becoming the tally panel.

2. The cookie is not working. The user can vote over and over again. I have tried it 2 ways:
2a: <?php
// Important! You have to include it before your html code
include_once "/hsphere/local/home/oshiro/judl.org/pollphp/poll_cookie.php";
?>
2b:<!--#include virtual="/pollcookie.php"-->

Both fail.

Thanks for your help.
[WWW]
 
Forum Index » Support Forum
Go to:   
Based on the open source JForum