Author |
Message |
|
How do you go about in hiding the results? I want to be able to do the following:
* after the guest has voted, to replace the poll with a some message that says that they have voted without showing the results of the poll
* prevent dial-up accounts with dynamic IPs from voting again? I was thinking of perhaps looking for the cookie, if it's in the users computer, then just display the message mentioned above (without the VOTE button) so they can't vote again.... any ideas on what needs to be done to do this?
Any help, hints, suggestions would be greatly appreciated.
Thank you in advanace
-A
|
 |
|
You try to remove meta tag in addentry.html, guestbook.html and template.html
You can found in line 4:
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
Or you can change the iso-8859-1 code with your country code.
|
 |
|
Did you try clearing your cookies?
|
 |
|
Actually you can use an .html extention in an include. The center section of the pages on this site are all html. The php file contains the navigation poll and all the include files for the other sections of the page. For example the footer at the bottom is an html file. Notice: <?php include 'dfwsfooter.html'; ?>
<TABLE border=0 cellPadding=0 cellSpacing=0 width=769>
<TBODY>
<TR>
<TD bgColor=#000000 height=29 width=754>
<div align="right">
<table border="0" cellpadding="2" cellspacing="0" width="104%">
<tr>
<td width="100%" class=footer align="center">
<center>
----> <?php include 'dfwsfooter.html'; ?> </center>
</td>
</tr>
</table>
</div>
</TD>
</TR></TBODY></TABLE></TD></TR></TBODY></TABLE>
Thanks for the suggestion.
|
 |
|
Hi,
I'm using the Adavanced poll 2.0.2.
I've installed evrything correctly, every thing works. I've created a poll and when I run it, I can only vote once!
In the General settings of the admin area i've set te check option to no checking.
Can someone help me? I want my visitors to vote once a day, I've got my poll running for two days now and I still can't vote.
Thanks,
PS, here's the link to my poll: http://www.systemofadown.nl/songs.php
|
 |
|
Don't use .Html files for including.
When you include a file it must be a .PHP file
|
 |
|
You need to put the PHP script, that is generated when your poll is created in an empty file that you call *.php
That'll probably be the answer
|
 |
|
3600 seconds = one hour
|
 |
|
There needs to be more instructions
<?php
/* database or textfile */
$COUNT_CFG["use_db"] = false; SHOULD THAT BE TRUE ?
/* config */
$COUNT_CFG["block_time"] = 3600; /* sec */ WHAT DOES THAT MEAN?
$COUNT_CFG["offset"] = 0;
/* textfile settings */
$COUNT_CFG["logfile"] = "./ip.txt";
$COUNT_CFG["counter"] = "./total_visits.txt";
$COUNT_CFG["daylog"] = "./daily.txt";
/* database settings */
$COUNT_DB["dbName"] = "DBNAME";
$COUNT_DB["host"] = "localhost";
$COUNT_DB["user"] = "USER";
$COUNT_DB["pass"] = "DB PASSWORD";
$COUNT_TBL["visitors"] = "count_visitors";
$COUNT_TBL["daily"] = "count_daily";
$COUNT_TBL["total"] = "count_total";
?>
|
 |
|
If I just CHMOD every dir. 777
shouldin't it work?
my script sorta works, but no actual data is getting created.. ;(
HELP!!!
|
 |
|
Use the left code from demo_2.php.
|
 |
|
I´m also interessted.
Nobody here who registered advanced poll?
Garf
|
 |
|
It's a proxy problem. Your users are using the same proxy.
|
 |
|
lol
Of course text are also parts of header informationens.
------------------------------
<?php require "./poll_cookie.php"; ?>
<html>
<head>
<title>Lol</title>
</head>
<body bgcolor="#FFFFFF" text="#000000">
<?php
include_once "/home/virtual/siteXXX/fst/var/www/html/polls/booth.php";
echo $php_poll->poll_process("newest");
?>
</body>
</html>
|
 |
|
Im admin gibt einige ientellungsmöglichkeiten, ansonsten muss du die templates anpassen
|
 |
|