|
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 |
|
|
Hi list,
I'd like to create a poll with more than 10 options. The create new poll template doesn't allow for this. I scouted quickly through the code and I think a variable pollvars is to blame.
Is there any way to extend the number of options?
TIA
Stefan
|
 |
|
|
|
i, i just installed advanced poll on my server but i dont know how to display any poll outside of the defaul folder were the demos are, if i try to display it in a folder outside of the one were the demos are i would get an error or it just wont display, it would actually display the php code. anyone can tell me how to display the polls in an outside folder???
|
 |
|
|
Hi Mike,
I'm having trouble getting this to work. I have tried everything that I know and still no luck with this script. I keep getting a "500" error. Do you think I could see your addlink.html and link.pl files to see how you configured these?
I would appreciate any help too -
Thanks a lot!
Bob
http://thehitsource.com
http://thehitsource.com/addlink.html
bob@thehitsource.com
|
 |
|
|
|
If that helps.
|
 |
|
|
Hi, I'm VERY new at this whole GB thing. My entire site has been built with the same main frame on every page. I would like to set the GB within this frame so that all the pages look similar. How can I add the navigation bar to the guestbook?
|
 |
|
|
How to upgrade from Advanced Guestbook 2.2 to Advanced Guestbook 2.3.1?
Especially, How to convert database file from 2.2 to 2.3.1?
|
 |
|
|
|
 |
|
|
Hallo Leute,
hab mal ein bisschen im Forum gesucht, hab allerdings nichts gefunden.
Gibt es eine Möglichkeit buttons für die bbcodes einzubauen?
also einfach text schreiben, text markieren und z.B. Button für fett drücken.
wäre nett wenn mir jemand helfen könnte
Vielen Dank schon mal
VG
Markus
|
 |
|
|
u/httpdocs/academy/regis.dat is a totally different path than what your error path message is. I would change that path to reflect the true location of regis.dat
probably should be /var/scohttp/cgi-bin/regis.dat
|
 |
|
|
I'm NOT a perl programmer, but I have to edit a perl file. I know HTML in an out, but not Perl in the least! I updated all the files I saw for a course registration page: http://www.hcrhs.k12.nj.us/cgi-bin/ettc/courses.pl but after you click register and fill in the info (bogus info) it gives this message:
Unable to OPen file at /var/scohttp/cgi-bin/academy_regis.pl line 127.
Here is that file (is there something wrong???):
#!/usr/local/bin/perl
# academy_regis.pl
# edited 1-20-01 to setup for Groupwise auto respond.
# edited 2-12-01 to change file format (for future class lists)
require "cgi-lib.pl";
MAIN:
{
print &PrintHeader;
print "<body background=/gif/barodabg2.gif>";
print "<center><h1>Academy Course Registration Form</h1>";
print "<h4><strong>HCRHS - - 84 Route 31 - - Flemington, NJ - - 08822";
print "<hr></center>";
print "The following information has been sent to The Academy at Hunterdon Central. Please forward your check/purchase order (if required) to Dr. Judy Gray at the adress listed above";
print "</strong></h4>";
read (STDIN,$buf,$ENV{'CONTENT_LENGTH'});
@kvpairs = split(/&/,$buf);
# $newinfo = join (/:/,@kvpairs);
foreach $kv (@kvpairs) {
($key,$val) = split(/=/,$kv);
$val =~ tr/+/ /;
$val =~ s/%([a-fA-F0-9]{2})/pack("C",hex($1))/eg;
$formdata{$key}= $val;
}
print "<table border=4 cellpadding=3 cellspacing=5>";
print "<tr><td>";
print "<strong>Course</strong></td><td><strong>Starting Date</strong></td><td><strong>Time</strong></td></tr>";
print "<tr><td>";
print "$formdata{course1}</td><td>$formdata{date1}</td><td>$formdata{time1}</td></tr>";
print "<tr><td>";
print "$formdata{course2}</td><td>$formdata{date2}</td><td>$formdata{time2}</td></tr>";
print "<tr><td>";
print "$formdata{course3}</td><td>$formdata{date3}</td><td>$formdata{time3}</td></tr>";
print "</table>";
print "<br><strong><pre>";
print "Name - ",$formdata{realname};
print "<br>";
print "Address - ",$formdata{Address};
print "<br>";
print "City - ",$formdata{City};
print "<br>";
print "State - ",$formdata{State};
print "<br>";
print "Zip - ",$formdata{Zip};
print "<br>";
print "School - ",$formdata{School};
print "<br>";
print "School Address - ",$formdata{School_Address};
print "<br>";
print "Home Phone - ",$formdata{Home_phone};
print "<br>";
print "Work Phone - ",$formdata{Work_phone};
print "<br>";
print "E-mail - ",$formdata{email};
print "<br>";
print "</pre>";
print "</strong></center>";
print &HtmlBot;
}
# the mail routine
$mailprog="/usr/lib/sendmail";
$recipient='sschaffe@hcrhs.k12.nj.us';
open (MAIL,"|\/usr\/lib\/sendmail -t");
print MAIL "To: $recipient \n";
print MAIL "From: $formdata{email}\n";
$subj="CS:".$formdata{course1};
print MAIL "Subject: $subj \n\n";
print MAIL $formdata{realname}," has recently registered via our web site.\n";
print MAIL "\n Here is the data he/she supplied:\n\n";
print MAIL "course #1 - ",$formdata{course1};
print MAIL "\n";
print MAIL "start date - ",$formdata{date1};
print MAIL "\n";
print MAIL "time - ",$formdata{time1};
print MAIL "\n---------------------";
print MAIL "\n\n";
print MAIL "course #2 - ",$formdata{course2};
print MAIL "\n";
print MAIL " ",$formdata{date2};
print MAIL "\n";
print MAIL " ",$formdata{time2};
print MAIL "\n\n---------------------";
print MAIL "\n\n";
print MAIL "course #3 - ",$formdata{course3};
print MAIL "\n";
print MAIL " ",$formdata{date3};
print MAIL "\n";
print MAIL " ",$formdata{time3};
print MAIL "\n\n---------------------";
print MAIL "\n\n";
print MAIL "Name - ",$formdata{realname},"\n";
print MAIL "Address - ",$formdata{Address},"\n";
print MAIL "City - ",$formdata{City},"\n";
print MAIL "State - ",$formdata{State},"\n";
print MAIL "Zip - ",$formdata{Zip},"\n";
print MAIL "School - ",$formdata{School},"\n";
print MAIL "School Address - ",$formdata{School_Address},"\n";
print MAIL "Home Phone - ",$formdata{Home_phone},"\n";
print MAIL "Work Phone - ",$formdata{Work_phone},"\n";
print MAIL "E-mail - ",$formdata{email},"\n";
print MAIL "Remote Host IP - ",$ENV{REMOTE_ADDR},"\n";
close (MAIL);
$recipient='sschaffe@hcrhs.k12.nj.us';
open (MAIL,"|\/usr\/lib\/sendmail -t");
print MAIL "To: $recipient \n";
print MAIL "From: $formdata{email}\n";
$subj="CS:".$formdata{course1};
print MAIL "Subject: $subj \n\n";
print MAIL $formdata{realname}," has recently registered via our web site.\n";
print MAIL "\n Here is the data he/she supplied:\n\n";
print MAIL "course #1 - ",$formdata{course1};
print MAIL "\n";
print MAIL "start date - ",$formdata{date1};
print MAIL "\n";
print MAIL "time - ",$formdata{time1};
print MAIL "\n---------------------";
print MAIL "\n\n";
print MAIL "course #2 - ",$formdata{course2};
print MAIL "\n";
print MAIL " ",$formdata{date2};
print MAIL "\n";
print MAIL " ",$formdata{time2};
print MAIL "\n\n---------------------";
print MAIL "\n\n";
print MAIL "course #3 - ",$formdata{course3};
print MAIL "\n";
print MAIL " ",$formdata{date3};
print MAIL "\n";
print MAIL " ",$formdata{time3};
print MAIL "\n\n---------------------";
print MAIL "\n\n";
print MAIL "Name - ",$formdata{realname},"\n";
print MAIL "Address - ",$formdata{Address},"\n";
print MAIL "City - ",$formdata{City},"\n";
print MAIL "State - ",$formdata{State},"\n";
print MAIL "Zip - ",$formdata{Zip},"\n";
print MAIL "School - ",$formdata{School},"\n";
print MAIL "School Address - ",$formdata{School_Address},"\n";
print MAIL "Home Phone - ",$formdata{Home_phone},"\n";
print MAIL "Work Phone - ",$formdata{Work_phone},"\n";
print MAIL "E-mail - ",$formdata{email},"\n";
print MAIL "Remote Host IP - ",$ENV{REMOTE_ADDR},"\n";
close (MAIL);
# open file to keep data
open(FOO,">>/u/httpdocs/academy/regis.dat") || die("Unable to OPen file ");
print FOO $buf,"\n";
close(FOO);
|
 |
|
|
habe schon alle beiträge gelesen, habe es trotzdem nicht geschafft
das advanced poll 2.02 in meine homepage einzubauen.
ich habe meine htm seite in php umgewandelt und nichts ist dabei herausgekommen
so sieht es im moment bei mir aus.
<?php
// Important! You have to include it before your html code
include_once "/home/powerprr/power-printer.de/pollphp/db/poll_cookie.php";
?>
<html>
<body>
<?php
include_once "/home/powerprr/power-printer.de/pollphp/db/booth.php";
echo $php_poll->poll_process(4);
?>
</body>
</html>
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=windows-1252">
<title>sieger</title>
<meta name="GENERATOR" content="Microsoft FrontPage 4.0">
<meta name="ProgId" content="FrontPage.Editor.Document">
<meta name="Microsoft Border" content="none, default">
</head>
<body bgcolor="#FFCC66">
<font face="Franklin Gothic Medium" size="5"><span style="background-color: #000000"><font color="#FFFFFF">S</font></span>iegerinnen
der wöchentlichen Umfrage</font>
<p>
<font face="Franklin Gothic Medium" size="5"><img border="0" src="hp/dame.gif" width="85" height="115"></font>
</p>
<p><font face="Franklin Gothic Medium">Woche 1 -- CADA</font></p>
<p><font face="Franklin Gothic Medium">Woche 2</font></p>
<p><font face="Franklin Gothic Medium">Woche 3</font></p>
<p><font face="Franklin Gothic Medium">Woche 4</font></p>
<p><font face="Franklin Gothic Medium">Woche 5</font></p>
<p> </p>
</body>
</html>
bitte um hilfe
toe
|
 |
|
|
how 2 make it have one
because like this any one can type what ever he want ....
|
 |
|
|
Hi,
I uploaded everything to my Windows server. I was then able to launch the admin page, poll/admin/ then I logged in... Whenever I click on anything, change pass, general settings anything, I get kicked back to the login page and the loop goes on from there.
Anyone have any ideas?
|
 |
|
|
|
http://www.freesql.org/connection.html
|
 |
|
|
Hiya,
I finally managed to change the background of the poll to use an image instead of a color, so it doesnt break the flow of the website. There is only one thing i forgot to change, and that is the poll sumary once a visitor votes for the poll. There the background color is still the same.
I tried looking for every file which generates the poll outcome, but I couldnt find one. Anyone who knows what file hold the code to it so i can change the background?
http://www.so-lid.clan-hosts.co.uk/uas/member.php
|
 |
|
|
|
|
|
|
Based on the open source JForum
|