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 
Messages posted by: Anonymous
Forum Index » Profile for Anonymous » Messages posted by Anonymous
Author Message
I have made a shtml file with the next code. The poll works, but not properly. After one vote there comes not a new picture with the results and the text "You have already voted". It looked if you can vote again but when you try the vote is not counted again.
Who can help me to make the code better?

<?php
// Important! You have to include it before your html code
include_once "/home/www/myname/html/poll/textfile/poll_cookie.php";
?>
<html>
<head>
<title></title>
</head>
<body>
<!--#include virtual="poll/textfile/poll_ssi.php?poll_id=newest" -->
</body>
</html>
I want to have help to resize the field for the e-mail adress (it´s to short now)

As you know there is no ability to change the extension of the outgoing email to .php or other, so what should i do to be able to display the Poll and process votes, when connected to the net?

thank you in advance,

Pasha
you have to edit the js-link

"<a href=\"javascript:void(window.open('$pollvars[base_url]/comments.php?action=send&id=$poll_id&template_set=$this->template_set','$poll_id','width=230,height=320,toolbar=no,statusbar=no'))\">".$this->pollvars['send_com']."</a>" : '';


it's on line 187 in class_poll.php
enable "Check -> IP table" from the general settings menu
Mine revotes each time I refresh the page. And I get this at the top of the page after a refresh:

Warning: Cannot modify header information - headers already sent by (output started at /home/jackship/public_html/marchsplash2.php:2) in /home/jackship/public_html/poll/poll_cookie.php on line 21
I have cookies enabled and when I use the poll on the proxy2 site, the demo, it works perfectly with cookies etc... so the problem must be somewhere else.... Please help me
Hi!
I installed the text file version of Advanced Poll
I love it. And everything works but one thing...
When someone clicks Vote, it votes but you can vote again and again.
When in Windows I go to theC cookie directory:
C:\Documents and Settings\SeBsZ\Cookies
No cookie is added.
I know you will think now that I have to include:

And I did...
Now you will think I have to put it above the tag...but... I did that too...
I tried everything I just can't get the cookie function to work. I am sorry
if it was somewhere else in this forum but I looked for it but
I couldnt find it....
Please help me!!!! Thank you so much....

SeBsZ
Hi!
I installed the text file version of Advanced Poll
I love it. And everything works but one thing...
When someone clicks Vote, it votes but you can vote again and again.
When in Windows I go to theC cookie directory:
C:\Documents and Settings\SeBsZ\Cookies
No cookie is added.
I know you will think now that I have to include:

And I did...
Now you will think I have to put it above the tag...but... I did that too...
I tried everything I just can't get the cookie function to work. I am sorry
if it was somewhere else in this forum but I looked for it but
I couldnt find it....
Please help me!!!! Thank you so much....

SeBsZ
I have the same problem...
Anyone knows what could be wrong??
Try saving the file as .php
So not .htm or .html. Save it as index.php and try again
SeBsZ
In order for the images to displayt properly, log in and click general settings. Then change the paths at the top. One you have to change to the image directory and the other one to the poll directory. If you click apply now the image problem should be fixed. I had the exact same problem.
SeBsZ
I found out about the two mentioned things required, but can
someone explain how to make image Magick work?
Ot GD extenision
even though the settings in the config.inc.php were correct, i didnt see any images.

solution for me was do make the base url relative, so instead of
htpp://www.mydomain.com/guestbook
i put in
/guestbook
and all was solved
the url of all your images is wrong
http://www.home.sannicolasdgo.net/modules/guestbook/img/modules/guestbook/img/
 
Forum Index » Profile for Anonymous » Messages posted by Anonymous
Go to:   
Based on the open source JForum