Author |
Message |
|
Try using the "random" include statement
include "./booth.php";
if (isset($poll_id)) {
echo $php_poll->poll_process($poll_id);
} else {
echo $php_poll->poll_process("random");
}
|
|
|
Hi,
is it somehow possible that the complete 'flat-file'- Version of Advanced Poll lays on an other server then the Webpage where it should apear ?
On server1 is the poll installed in:
http://www.server1.de/adpoll/
on server 2 the poll should appear in:
http://www.server2.de/index.php
so I include: <?PHPinclude("http://www.server1.de/adpoll/indexpoll.php");?>
But i don't now how to manage the redirection to Server2 and the value send to Server1. Can someone help ?
|
|
|
NEver mind...it works now..but still one problem...
where it says HOSTNAME...nothing show up...no bar..nothing at all..is there something wrong?
|
|
|
ALl right..This script is kind of cool but i have some problems with it.
Where it says Referer i see this:
http://localhost/~test/test.html
also it displays the wrong date.
and everything like HOSTNAME, TOPCOUNTRIES is a 100%
Also i don't understand what that text file 02-2001 does. what do i change in it? please explain. thanks!
|
|
|
I created a poll and inserted the code as directed. But the poll itself doesn't display - only the last portion of the code. Whats wrong? You can view the site at
http://www.evg.com.kg/ (its still under construction)
|
|
|
I did install.php and entered:
Your database: guestbook
Your MySQL host: localhost
Your MySQL username: teriba
Your MySQL password: xxxxxxxx
and I got:
Advanced Guestbook
--------------------------------------------------------------------------------
Database and Tables were created successfully!
Your new database: guest
Your MySQL host: localhost
Your MySQL username: teriba
Click now here to setup the guestbook admin...
I clicked on the link and I get:
Database Error
--------------------------------------------------------------------------------
MySQL Error : Database Error
Error Number: 1046 No Database Selected
Date : Mon, January 28, 2002 17:21:50
IP : 127.0.0.1
Browser : Mozilla/4.0 (compatible; MSIE 6.0; Windows NT 5.1; Q312461)
Referer : http://localhost/guestbook/install.php
PHP Version : 4.1.1
OS : WINNT
Server : Apache/1.3.20 (Win32)
Server Name : xxxxxxxxxxx
Any help would be greatly appreciated
|
|
|
Since nobody can help me out here Could someone recommend another quality guestbook. I hate to ask but this one just isn't working for me.
|
|
|
Hi Everyone!
Small problem... on the Poll results page I have added a css class to my hyperlinks in the template code.
All links work fine and follow my class definitions. Only link that doesn't is the 'Send comment' link. I can't see how I can set a class to this <a href> as it is defined outside of the template script and pulled in dynamically, via the
$VOTE<br><br><div align="center">
$COMMENT </div></font>
Poll results page footer looks like this-
Total votes: 4
You have already voted!
Send comment //(not following my class)
Version 2.0
Can anyone help, or know where/which file this link is defined?
Thanks
|
|
|
now I know, why the poll isn't shown
the problem is, if a & is in the adress, the poll won't be shown
but why?
|
|
|
WOW!
$GB_PG["base_url"] .= "/script/guestbook/";
|
|
|
Well, the problem is not my template file... The req'd html tag is in there. It is also in the guestbook and addentry html page files.
Here's some more detail about the problem, as I neglected to explain it better in my last post:
When I set $entries to whatever-number, the script will "add entry", but _only_ up to that number.
The script is supposed to "make an add'l page", for all guestbook entries exceeding the defined number (eg entries 1-25 on pg 1, and entries 26-50 on pg 2, etc). However, instead of doing this, it is simply not allowing new entries at all.
Because I am having trouble with this, I lowered the $entries number to two, for test purposes. If you would like, you can go test it:
Guestbook ~ www.boopsie.net/classy/guest/
Also, here are links to all the other files:
Script ~ www.boopsie.net/classy/guest/guestbook.txt
Templ ~ www.boopsie.net/classy/guest/template.htm
AddEntry ~ www.boopsie.net/classy/guest/addentry.htm
And if you need to view the admin area:
www.boopsie.net/cgi-bin/classy/guest/guestbook.pl?admin=enter
Pass ~ 123
Again, thank you in advance,
-Stephanie
|
|
|
Help...
first of all excused my English!
I have a problem... I have install the guestbook in
/script/guestobook/ but if I put in
/index.php the command <? include "/script/guestobook/index.php" ?>
the images do not visualize me... and and some link are wrong
HOW TO MAKE? HELP ME! THANKS!
Ciao Ciao by ITALY
Mota :
|
|
|
nobody can help me?
|
|
|
$GB_PG["base_url"] = "http://www.yourdomain.com/correct_path/"; worked great when replaced with $GB_PG["base_url"] = "http://www.yourdomain.com/guestbook/"; All of the images for the guestbook were showing properly but another snag has arose.
Whenever an image is posted when signing the guestbook the thumbnail image is displayed properly but after clicking the thumbnail image to increase the size the image is not displayed.
When doing a preview, before submitting, the image is being called from:
/php/temp/
but should be:
/guestbook/temp.
After submitting the post, the thumbnail image is showing properly, but after clicking the thumbnail image to increase the size the image is not displayed. It is being called from:
/php/public/
but should be:
/guestbook/public.
Thanks for the help thus far
|
|
|
Hello, i would like to include advanced guestbook in a page which already exist. (1 to read the book, 1 to write a comment)
What script i must include in my html page ?
|
|
|