Chi Kien Uong
Geranienstraße 30
71034 Böblingen
Deutschland / Germany
|
If you are not registered or logged in, you may still use these forums but with limited features.
Show recent topics
|
|
|
Author |
Message |
|
I would like to insert some advanced polls on several pages on my site, however I'm using frontpage 2003 and don't know exactly how to go about it. I tried searching for a install guide, but didn't find one. Can someone please point me in the right direction. Thank you for your help, Grim
|
 |
|
It is not good that Advanced Poll show users ip and emails, when I put comment.
It should be change.
Look here, it is great rating script
http://www.hyipmonitor.com/program.php?pid=1954
you can see only part of ip and email address. And you need e-mail confirmation to vote.
Please update your script.
|
 |
|
Ok, I was having the same problem, and I found out how to fix it.
Open up this file:
Look for this function:
and change this line:
to this:
Then if you put the poll into "english mode" you can copy and paste any other language into the poll questions and options and they will display correctly.
That is the best I could do to get it to work.
|
 |
|
I have voted in http://www.rmcichlid.org/index_new.php. it works fine.
I think that you must to put the code below in the top of the page:
<?php
require "poll/poll_cookie.php";
?>
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"
"http://www.w3.org/TR/html4/loose.dtd">
|
 |
|
thanks
|
 |
|
i just installed advanced poll. i want it displayed on my main page how do i go about doing that?
|
 |
|
I went to the main c-f-h site and they directed me here. I couldn't find anything close to my problem except this post.
I instaled the 3.2.1 advance guestbook on my site. The install told me the default set admin login and password were 'test' and '123'. This is not true. I've not once been able to access the admin functions for my guestbook. I've tried re-installing several times and still the default user name/password aren't working. I need help here. If I can't access the admin functions, the whole thing itself becomes useless. WTF does tell me what the defaults are if the defaults won't open the admin functions!
Any help would be appriciated.
|
 |
|
yes I have phpadmin. What do I do
|
 |
|
Okay, I have set up my poll and entered it into my navigation menu on my site. I am using ssi includes, and everything works fine, except when I click vote, it refreshes the page, but only the right navigation appears, instead of the rest of the page, you can check it out here http://www.themaraudersmap.com/navs.shtml
|
 |
|
Hi,
I'm looking for a visitor counter just like the one on the upper right side of this webpage. I have seen some free script counters, but I don't know which counter have the ability to 1)count the total visits and 2)the visitors today with database support like on this website.
Can someone tell me where I can find the counter which is used on this website(upper right side)?
Where can I find the tutorial for this script?
Erwin
|
 |
|
This is was in the config file I lost the admin name and password?
How do I do?
$pollvars['poll_username'] = "admin";
$pollvars['poll_password'] = "7fca6a528d4978eb1a0cd454ec520efa";
Sincerely
Conny
|
 |
|
Hi,
I've set up my poll, integrated it into my webpage, done everything possible including reading this forum for about 3 hours, and it simply does not work. I can vote, and vote, and vote, but there are never any results. See for yourself:
http://www.rmcichlid.org/index_new.php
Any help would be extraordinarily appreciated, as I'm stuck.
Thanks,
Keith
|
 |
|
vavsdf ew v wrt 3v ezbev 5bw gh trrh www.ttckorchenbroich.de
|
 |
|
I found your problem.
This is your php file with my changes.
Greetz.
<html><head><style>
<!--
BODY{
scrollbar-face-color:#081010;
scrollbar-arrow-color:#42424A;
scrollbar-track-color:#42424A;
scrollbar-shadow-color:'';
scrollbar-highlight-color:'';
scrollbar-3dlight-color:'';
scrollbar-darkshadow-Color:''
}
.bordercolor { background-color: 18394B; }
TD { font-family: Georgia,Verdana,Arial; color: FFFFFF; font-size:11px}
.windowbg { background-color: 000000; font-size: 11px; font-family: Georgia,Verdana,Arial; color: FFFFFF; }
-->
</style>
</head><body><body link="#CCCCCC" vlink="#999999" alink="#666666" text="#C0C0C0" bgcolor="#000000"><table width="250" border="0" cellspacing="0" cellpadding="1" bgcolor="#404040">
<tr align="center">
<td>
<style type="text/css">
<!--
.input { font-family: Georgia, Verdana, Arial, Helvetica, sans-serif; font-size: 8pt}
.links { font-family: Georgia, Verdana, Arial, Helvetica, sans-serif; font-size: 7.5pt; color: #FFFFFF}
-->
</style>
<font face="Georgia, Verdana, Arial, Helvetica, sans-serif" size="-1" color="#000000"><b>Vote Here!</b></font></td>
</tr>
<tr align="center">
<td><table width="100%" border="0" cellspacing="0" cellpadding="2" align="center" bgcolor="#000000">
<tr valign="middle">
<td height="40"><font face="Georgia, Verdana, Arial, Helvetica, sans-serif" color="#FFFFFF" size="1"><b>Will we see Aragog again in Half-Blood Prince?</b></font></td>
</tr>
<tr align="right" valign="bottom">
<td>
<table border="0" cellspacing="0" cellpadding="1" width="100%" align="center">
<tr valign="top">
<td>
<table width="100%" border="0" cellspacing="0" cellpadding="1" align="center">
<tr>
<td height="22"><font face="Georgia, Verdana, Arial, Helvetica, sans-serif" color="#FFFFFF" size="1">Yes, he is the plot JKR moved from CoS.</font></td>
<td nowrap height="22"><font face="Georgia, Verdana, Arial, Helvetica, sans-serif" color="#FFFFFF" size="1"><img src="/polls/image/grey.gif" width="33" height="6"> 33.3%</font></td>
</tr>
<tr>
<td height="22"><font face="Georgia, Verdana, Arial, Helvetica, sans-serif" color="#FFFFFF" size="1">No, but maybe in the 7th book.</font></td>
<td nowrap height="22"><font face="Georgia, Verdana, Arial, Helvetica, sans-serif" color="#FFFFFF" size="1"><img src="/polls/image/grey.gif" width="25" height="6"> 25.0%</font></td>
</tr>
<tr>
<td height="22"><font face="Georgia, Verdana, Arial, Helvetica, sans-serif" color="#FFFFFF" size="1">Maybe. I'm not sure.</font></td>
<td nowrap height="22"><font face="Georgia, Verdana, Arial, Helvetica, sans-serif" color="#FFFFFF" size="1"><img src="/polls/image/grey.gif" width="42" height="6"> 41.7%</font></td>
</tr>
</table>
<font face="Georgia, Verdana, Arial, Helvetica, sans-serif" color="#FFFFFF" size="1"><br>
Total votes: <font color="#FFFFFF">12</font><br>
<!-- I MADE A COLOR CHANGE JUST BEFORE "...>12</font><br>" IN THE ABOVE LINE! THE #XXXXXX STANDS FOR A COLOR
http://users.rcn.com/giant.interport/COLOR/1ColorSpecifier.html -->
<br><br><div align="center">
</div></font>
</td></tr>
<tr><td height="2"> </td></tr>
</table>
<font face="Georgia, Verdana, Arial, Helvetica, sans-serif" size="1"><a href="http://www.proxy2.de" target="_blank" title="Advanced Poll">Version 2.03</a></font></td>
</tr>
</table>
</td>
</tr>
</table>
</body></html>
|
 |
|
I use a .pl file for a poll on my website, but all at once it doen't work anymore. You can find the code at the end of this message. Anyways, the problem is that de pl file doesn't write data in a txt file, specified for the poll. Can anyone find what the problem is so I can use my poll again, because I cant.
Greetz.
### BEGIN OF THE CODE ###
#!/usr/local/bin/perl
use CGI;
$q = new CGI;
$keuze = $q->param('plannen');
print "Content-type:text/html\n\n";
print "<html><head>";
print "<link href=\"../css/hodena.css\" type=\"text/css\" rel=\"StyleSheet\">";
print "</head>";
##### resultaten ophalen #####
open (INPUTFILE, "d:/inetpub/clubroot/hodena/js/finalepoll.txt");
$plan1 = <INPUTFILE>;($plan1) = ($plan1 =~ /(.*)\W+/);
$vote1 = <INPUTFILE>;($vote1) = ($vote1 =~ /(.*)\W+/);
$plan2 = <INPUTFILE>;($plan2) = ($plan2 =~ /(.*)\W+/);
$vote2 = <INPUTFILE>;($vote2) = ($vote2 =~ /(.*)\W+/);
$plan3 = <INPUTFILE>;($plan3) = ($plan3 =~ /(.*)\W+/);
$vote3 = <INPUTFILE>;($vote3) = ($vote3 =~ /(.*)\W+/);
$plan4 = <INPUTFILE>;($plan4) = ($plan4 =~ /(.*)\W+/);
$vote4 = <INPUTFILE>;($vote4) = ($vote4 =~ /(.*)\W+/);
$plan5 = <INPUTFILE>;($plan5) = ($plan5 =~ /(.*)\W+/);
$vote5 = <INPUTFILE>;($vote5) = ($vote5 =~ /(.*)\W+/);
close INPUTFILE;
### resultaten aanpassen met nieuwe vote ###
if ( $keuze eq $plan1 ) { $vote1++; }
if ( $keuze eq $plan2 ) { $vote2++; }
if ( $keuze eq $plan3 ) { $vote3++; }
if ( $keuze eq $plan4 ) { $vote4++; }
if ( $keuze eq $plan5 ) { $vote5++; }
### resultaten wegschrijven ###
open (DATAFILE, "</d:/inetpub/clubroot/hodena/js/finalepoll.txt");
print DATAFILE $plan1; print DATAFILE "\n";
print DATAFILE $vote1; print DATAFILE "\n";
print DATAFILE $plan2; print DATAFILE "\n";
print DATAFILE $vote2; print DATAFILE "\n";
print DATAFILE $plan3; print DATAFILE "\n";
print DATAFILE $vote3; print DATAFILE "\n";
print DATAFILE $plan4; print DATAFILE "\n";
print DATAFILE $vote4; print DATAFILE "\n";
print DATAFILE $plan5; print DATAFILE "\n";
print DATAFILE $vote5; print DATAFILE "\n";
close DATAFILE;
### screenoutput berekenen ###
$total = $vote1 + $vote2 + $vote3 + $vote4 + $vote5;
$percent1 = ((int(($vote1 / $total) * 1000)) / 10);
$percent1 = substr($percent1,0,4);
if ($vote1 < 1) { $percent1 = "0";}
$width1 = int($percent1 * 1);
if ($vote1 < 1) { $width1 = 2;}
$percent1 = "$percent1%";
$image_percent1 = "<IMG SRC=\"/hodena/figuren/bar.jpg\" Height=\"10\" Width=\"$width1\">";
$percent2 = ((int(($vote2 / $total) * 1000)) / 10);
$percent2 = substr($percent2,0,4);
if ($vote2 < 1) { $percent2 = "0";}
$width2 = int($percent2 * 1);
if ($vote2 < 1) { $width2 = 2;}
$percent2 = "$percent2%";
$image_percent2 = "<IMG SRC=\"/hodena/figuren/bar.jpg\" Height=\"10\" Width=\"$width2\">";
$percent3 = ((int(($vote3 / $total) * 1000)) / 10);
$percent3 = substr($percent3,0,4);
if ($vote3 < 1) { $percent3 = "0";}
$width3 = int($percent3 * 1);
if ($vote3 < 1) { $width3 = 2;}
$percent3 = "$percent3%";
$image_percent3 = "<IMG SRC=\"/hodena/figuren/bar.jpg\" Height=\"10\" Width=\"$width3\">";
$percent4 = ((int(($vote4 / $total) * 1000)) / 10);
$percent4 = substr($percent4,0,4);
if ($vote4 < 1) { $percent4 = "0";}
$width4 = int($percent4 * 1);
if ($vote4 < 1) { $width4 = 2;}
$percent4 = "$percent4%";
$image_percent4 = "<IMG SRC=\"/hodena/figuren/bar.jpg\" Height=\"10\" Width=\"$width4\">";
$percent5 = ((int(($vote5 / $total) * 1000)) / 10);
$percent5 = substr($percent5,0,4);
if ($vote5 < 1) { $percent5 = "0";}
$width5 = int($percent5 * 1);
if ($vote5 < 1) { $width5 = 2;}
$percent5 = "$percent5%";
$image_percent5 = "<IMG SRC=\"/hodena/figuren/bar.jpg\" Height=\"10\" Width=\"$width5\">";
print "<body bgcolor=#EFEFEF><p class=\"menu\">";
print "Wat doet Hodena tegen den S-kring?<br><br>";
print "<table class=\"menu\">";
print "<tr><td>zwaar winnen!<td>$image_percent1 $percent1</tr>";
print "<TR><td>Winnen<td>$image_percent2 $percent2</tr>";
print "<TR><td>Nipt winnen<td>$image_percent3 $percent3</tr>";
print "<TR><td>Verliezen<td>$image_percent4 $percent4</tr>";
print "<TR><td>Geen idee<td>$image_percent5 $percent5</tr>";
print "<TR><TD> </tr>";
print "<TR><TD>Total votes:<TD>$total</tr>";
print "</table>";
print "<\/body><\/html>";
exit;
### END OF THE CODE ###
|
 |
|
|
|
|
Based on the open source JForum
|