If you are not registered or logged in, you may still use these forums but with limited features. Show recent topics
  [Search] Search   [Hottest Topics] Hottest Topics   [Members]  Member Listing   [FAQ]  FAQ 
[Register] Register / 
[Login] Login 
Messages posted by: Anonymous
Forum Index » Profile for Anonymous » Messages posted by Anonymous
Author Message
Ich habe ein Abstimmung auf meiner Seite und sie funktioniert. Jetzt habe ich die Startseite in drei externe php seiten gegliedert. So das die Indexseite drei weitere Seiten aus einem Verzeichnis aufruft. (links, mitte und rechts.php) diese liegen in einem Unterverzeichnis.


Jetzt geht die Abstimmung nicht mehr. Ich denke das der Fehler in der zuweisung liegt. Man muss ja die Seite angeben wo das Ergebins hin kommt, und das ist ja die indexseite, doch diese holt sich ja erst die anderen Seiten.

Kann einer das Problem lösssssen?



Michael
I'd like also to view in my index page only the question
of poll, so,

I put like the demo example #4
this code

/* path */
$poll_path = "/web/htdocs/www.padan.org/home/PADAN.IT/sondagg";

require $poll_path."/include/config.inc.php";
require $poll_path."/include/$POLLDB[class]";
require $poll_path."/include/class_poll.php";
require $poll_path."/include/class_pollcomment.php";
$CLASS["db"] = new polldb_sql;
$CLASS["db"]->connect();

$php_poll = new pollcomment();

/* question */
echo $php_poll->get_poll_question(2);



but it show me only the 2nd ID
if i write newest or "newest" instead of 2
it doesn't work...

what i have to do to show the lastest question
without editing every time the code manually?!?

thanx a lot
I have created about 20 polls and want to divide them into different categories.

For example. If the polls are money related, then it would appear in money.php, if the polls are sports related, then it would appear in sports.php, etc. etc.

I know there is a view all list.. but can Iselectively show which polls to appear on a specific page.

/* poll list */
$php_poll->set_template("poll_list");
$php_poll->set_date_format("m/d/Y");
echo $php_poll->view_poll_list();
echo $php_poll->get_list_pages();


thanks,

Mike
First thing - I love Advanced Poll, it the only one I've found that allows multiple polls and comes with an excellent admin interface.
Creeping over, now to my poblem......

Is there anyway of supressing the polls results so that users can't see them? I'd like to do a silent poll and only publish the results once it has closed.

I can easily comment out the link in the footer template, but you still get the results shown when you vote.

Tx

Stevie
Warning: Cannot modify header information - headers already sent by (output started at /home/yoshi/public_html/uhoh/left.php:2) in /home/yoshi/public_html/uhoh/poll/poll_cookie.php on line 21


Why do I keep getting that error?
I did what you said and it is still not working.
And i checkt my sql database, it's all there.
Even that user 'test'.

Do you know anything else?
additional error occured. i dont have a database created in mysql. how do i create thata and stuuf. i m runing mySQL in windows.
i have a problem with connecting to mySQL to use Advanced Guestbook. it says as follows:

Notice: mysql_create_db(): This function is deprecated, please use mysql_query() to issue a SQL CREATE DATABASE statement instead. in D:\Program Files\KeyFocus\KFWS\htdocs\serba\aguestbook\install.php on line 243

Notice: Undefined variable: db in D:\Program Files\KeyFocus\KFWS\htdocs\serba\aguestbook\install.php on line 243
Cannot create new database:
--------------------------------------------------------------------------------

MySQL Error : Cannot create new database:
Error Number: 1102 Incorrect database name ''
Date : Sun, December 28, 2003 09:53:51
IP : 202.156.51.39
Browser : Mozilla/4.0 (compatible; MSIE 6.0; Windows NT 5.1; .NET CLR 1.1.4322)
Referer : http://202.156.51.39:8000/serba/aguestbook/install.php
PHP Version : 4.3.4
OS : WINNT
Server : KFWebServer/2.5.0 Windows XP
Server Name : 202.156.51.39


i have my own web server runing in my computer. so is a different case with most other users. and propbably i didnt setup mysql properly. Plus, how do i add databases into mysql?
Hi

I'm using the advanced guestbook (2.2) on Lunarpages (host) and am unable to figure out how to modify these files: $LANG[BookMess6] and $TPL[GB_JUMPMENU]

I would like to change the 'bookmess6' to read differently than the default script (text) that is currently there. I would also like to add a link back to my website in the dropdown located in $TPL[GB_JUMPMENU]

Any guidance would be *greatly* appreciated!

Thanks...
Hi,

i have a problem. I can't login as admin in my guestbook.
Everything works for the visitors. I read in the install notes that the default user and passwd is: test, 123. But it is'n working...
(I get: "Invalid username or password. Please try again")

Is there anyone who can help me to get my username and passwd????
This is my setup, text is blue and commenters name is bold.


<br>
<br>
<br>
<table width="90%" border="0" cellspacing="0" align="center">
<tr>
<td>
<hr size="1"><b><font size="1" font color="#0000FF" face="Verdana, Arial, Helvetica, sans-serif">$com[name] </b>svarar: <br>
$com[comments]</font>
</td>
</tr>
</table>
Well thanks for the tip, lucky I kept reading and tried out your tip but I kept having the same problem, I guess its not just white space it’s anything before the PHP code must be removed and put after the code.

Insert PHP code on the first line of your document before anything else on your page hope this will make it clear for some people like me that needed more info.

<!doctype html public "-//w3c//dtd html 4.0 transitional//en">


Auron wrote:make sure you don't have any white space before any php code at the very top of your page where you included the script.

Auron
I tried this on my site www.orchardcounty.com and it worked a treat - Thanks very much - excellent stuff
what is the message?
please add msn, yahoo feature to advanced guestbook. Thank you.
 
Forum Index » Profile for Anonymous » Messages posted by Anonymous
Go to:   
Based on the open source JForum