Author |
Message |
|
URL ?
|
|
|
It's the template file.
|
|
|
remove this code snippet:
------------
if (ereg("php.exe",$HTTP_SERVER_VARS["PHP_SELF"])) {
$GB_PG["base_url"] = dirname($HTTP_SERVER_VARS["REQUEST_URI"]);
} elseif (isset($HTTP_SERVER_VARS["SCRIPT_NAME"]) && !empty($HTTP_SERVER_VARS["SCRIPT_NAME"])) {
$GB_PG["base_url"] = dirname($HTTP_SERVER_VARS["SCRIPT_NAME"]);
} else {
$GB_PG["base_url"] = dirname($HTTP_SERVER_VARS["PHP_SELF"]);
}
with:
$GB_PG["base_url"] = "http://www.yourdomain.com/correct_path/";
tested and works with PHP-Nuke 5.2
Of course the 'correct_path' may not contain the 'modules/guestbook'
|
|
|
that doesnt work, but i found a solution for my problem!
a coder had scripted a hack of this guestbook thet is almost as good as the original here is the dl link:
http://www.tp-krefeld.de/modules.php?name=Downloads&d_op=getit&lid=1
|
|
|
I installed the guestbook and it worked fine...
I began to edit the layouts for the generated pages, and everything worked fine...
All of a sudden, it started giving me the error:
Cannot add entry to guestbook the html tag
<option value="guestbook.htm">Guestbook</option>
was not found in some guestbook files.
... Now, why is it doing this? lol.
It doesn't seem to be able to generate "page 2" (etc) of the guestbook sig's.
I went through all my "guestbook files" and checked for the tag it says it cannot find... The tag _is_ there.
Which "guestbook file(s)", in particular, is it talking about?
Any ideas on how to fix this?
In advance, thank you _so_ much!
-Stephanie
|
|
|
ok. edit popup.php.
<body bgcolor="#RRGGBB">
|
|
|
hello all
i use version 2 of advanced poll and have a big problem with it
the poll is shown at http://nfs6.gameszone.de/main.php and http://nfs6.gameszone.de/main.php?page=archiv but not at http://nfs6.gameszone.de/main.php?page=news&show=detail&id=1
why? there are only 2 variables more in the address
it is very important because the last link is the newssite and there must be the poll
i hope someone can help me, thx
|
|
|
Is this script free?
|
|
|
Kannst du mal vielleicht die URL posten, wo die modifizierte Version läuft.
Scheint ja ein interessanter 'Hack' zu sein
|
|
|
Edit the templates.
There are no options for bgcolors.
|
|
|
rename your page:
vote.html -> vote.php
|
|
|
hmm... the demo is working
|
|
|
<?php require "c:/phpdev3/www/poll/db/poll_cookie.php"; ?>
<html>
<head>
<title>Untitled</title>
</head>
<body>
<?php
require "c:/phpdev3/www/poll/db/booth.php";
echo $php_poll->poll_process(4);
?>
</body>
</html>
|
|
|
Database: ask your server admin
host: in most cases it's 'localhost'
|
|
|
remove all tables and re-install it
|
|
|