Author |
Message |
|
Así que para confirmar. Agrega una nueva entrada y tan pronto como mensaje que ya hay comentarios para ella?
|
 |
|
¿Quiere decir que la gente está comentando las entradas existentes?
|
 |
|
You need to change the page's extension from .html to .php for your server to recognise it as a PHP file.
|
 |
|
Does the page name end in html or php ?
|
 |
|
Not that many experienced AP users left.
|
 |
|
Send me the notes you have on how the original modification was done. I mean I could do it from scratch without them anyway but always nice to have a head start.
|
 |
|
I'm guessing it's a bad implementation of the spam question/answer modification. Email me your addentry.php and add.class.php files.
webmaster@carbonize.co.uk
|
 |
|
Well first thing to do is log in to admin and make your poll. On th epage you want the poll to appear you must put this at the very start of the code
<?php
/* Include this before your html code */
include_once "./poll_cookie.php";
?>
Correcting the code so the path is correct. Then you just put this where you want the poll to appear in your page
<?php
/* path */
$poll_path = dirname(__FILE__);
require_once $poll_path."/include/config.inc.php";
require_once $poll_path."/include/$POLLDB[class]";
require_once $poll_path."/include/class_poll.php";
$CLASS["db"] = new polldb_sql;
$CLASS["db"]->connect();
$php_poll = new poll();
/* the first poll */
echo $php_poll->poll_process(1);
?>
Changing the 1 to whatever number the poll you just created is.
|
 |
|
If I get chance I will try and answer any questions you may have but I've only used the poll once and that was a good few years ago.
|
 |
|
I think you need something else as this is more for choosing one of multiple options and you cannot limit how many votes a person makes.
|
 |
|
I thought the actual poll had instructions in the download.
|
 |
|
There was a guide somewhere but I can't find it right now. Auron was the Advanced Poll expert but he's not been here in years.
|
 |
|
Wenn Sie Captcha zu case-sensinstive werden wollen, müssen Sie add.class.php bearbeiten
Finden
$gb_captcha = strtoupper($this->gb_captcha);
Wechseln Sie zu
//$gb_captcha = strtoupper($this->gb_captcha);
|
 |
|
Yes my captcha a lot less complicated than this one but then has it's own flaws but if it's working for you then that's all that matters.
|
 |
|
lol I only know AG inside and out because I forked the Advcanged Guestbook 2.3.x in to Lazarus Guestbook but Chi Kien Uong made some big changes in the code between 2.3.x and 2.4.x. Best way to learn is by doing in my experience so just mess with the code and look at other peoples examples.
|
 |
|