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 |
|
Carbonize wrote:Takes a bit more than that. Anyway I have sorted it.
Well thats exactly from one of my scripts, so it dont take anymore adding it to any script, the "include" is the CAPATCHA code
http://www.captcha.net/
http://captchas.net/sample/php/
http://www.neoprogrammers.com/download.php?file=securimage.zip
|
|
|
Auron wrote:too bad, the image verfication mod is for advanced guestbook only - the one found on this site.
You can add (CAPTCHA) to most scripts, I didnt want to update any of my old scripts, so added image verfication to them.
Search Google for CAPTCHA
Then on any script
Find where it checks for email address, or comment, or name etc
and add it
|
|
|
Very busy forum this
where it says 1 > 2
For the page numbers, why dont it show page 3,4,5 etc ?
/* poll comments */
$php_poll->set_template("poll_comment");
$php_poll->set_comments_per_page(3);
$php_poll->set_date_format("d/m/Y H:i");
$php_poll->data_order_by("time","desc");
echo $php_poll->view_poll_comments(10);
echo "<center><font size=1 face=Verdana> Page ".$php_poll->get_comment_pages(2)."</font></center>";
will only show 2 pages?
|
|
|
help !
Now got it all working as I like it, but slipped up somewhere
I have two iframes, one with the poll, one with the comments
When I click add comments, the comments are shown not the forum ?
I made an edit to the comment template I think
|
|
|
Update
So I never set the colors...
This is a greall script, but bloody rubbish info on setting it up
There should be a means of selecting its type perhaps...
|
|
|
update
Well having copied some code from here, I can see demo 6 pie chart in full colour, using the same code for my own poll, its showing the chart, but in white, with just a black line?
|
|
|
Just about to give up on this.
All is working except the pie chart, which shows a (red box) image (Not found).
1, I installed, deleted the test polls, set my own up, use the code for the pie chart, nothing shown in pie chart...
2, deleted database, re-installed used the test files, all work except the pie chart. (demo 6)
So.... thought I would check the server logs..
PHP Notice: Undefined variable: pollvars in /home/default/xxxxx/user/htdocs/surveyx/include/class_pgfx.php on line 69, referer: http://www.xxxxx/surveyx/demo_6.php
[Tue Jul 25 14:22:47 2006] [error] [client xxxxx]
File does not exist: /home/default/xxxxx/user/htdocs/image, referer: http://www.xxxxx/surveyx/demo_6.php
[Tue Jul 25 14:31:18 2006]
The installation worked first time, without problems, I can set up polls, vote, display the result in bar charts, but it wont work in a pie chart
Yes imagecreate will work on this server (Dedicated server)
Seams there are errors with the other demos, but they do work
PHP Notice: Undefined variable: option_votes_arr in /home/default/xxxxxx/user/htdocs/surveyx/include/class_poll.php on line 137, referer: http://www.xxxxxx/surveyx/demo_4.php?action=results&poll_ident=2
[client xxxxx]
PHP Notice: Undefined variable: option_color_arr in /home/default/xxxxx/user/htdocs/surveyx/include/class_poll.php on line 138, referer: http://www.xxxxxx/surveyx/demo_4.php?action=results&poll_ident=2
[client xxxxx]
Im using a database to store it all
|
|
|
|
|
|
Based on the open source JForum
|