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
Do display your Poll on your site you can just insert this code where you want your poll to show up:

<?php
include_once "/root/directory/toyourfile/poll/booth.php";
echo $php_poll->poll_process(1);
?>


The poll_process(#) is which poll your want to display! So on one page you can have poll 1 and on other poll 2 and so on...
Hope that helps!
Sincerely,
Dr. DK
ha!

here's a sample url

http://ves.g4uclans.de/poll/poll_ssi.php?poll_id=5
http://ves.g4uclans.de/poll/poll_ssi.php?poll_id=5&tpl_set=simple
http://ves.g4uclans.de/poll/poll_ssi.php?poll_id=5&tpl_set=popup

just insert the correct id, and url HF!
jo genau! der code der da steht in der hilfe datei, geht nicht wegen dem "->"
same here HEEEEEEELP!!
Problem fixed!
All that had to be done was get rid off everything in comment and just leave the php code in there.

If any people have any questions feel free to ask away.
Sincerely,
Dr. DK
QUESTION for ya GUEST!

Once I put everything in the comment.php, all the include_once()s and $qb_com needs to go on top though, otherwise it tell that error of:

Warning: Cannot add header information - headers already sent by (output started at /root/folder/example/guestbook/comment.php:17) in /root/folder/example/guestbook/lib/comment.class.php on line 175

So I can't really have nothing in comment.php but that code or can I specify the result to show up exactly where I want it by placing the code from comment on top and then adding my code below?

Anybody has any ideas?
Sincerely,
Dr. DK
For comments page, when I try to post a comment I get this error message:

Warning: Cannot add header information - headers already sent by (output started at /root/folder/example/guestbook/comment.php:17) in /root/folder/example/guestbook/lib/comment.class.php on line 175

What could be wrong?
Anyone can help?
Thanks a lot!
Sincerely,
Dr. DK
Well Guest my friend.
That did work like a charm.
Thanks a lot for the other way around.
Sincerely,
Dr. DK
Habe install.php ausgeführt, den Table in der Datenbank eingerichtet. Dann soll es mit admin.php weitergehen, doch da kommt das:

"Warning: Can't connect to local MySQL server through socket '/tmp/mysql.sock' (2) in /mnt/ls1/07/936/00000012/htdocs/guestbook_bm/lib/mysql.class.php on line 30"

Ich bin bei Strato. Ist das vielleicht ein Problem?
check your guestbook directory
usually with it must have read access for the webserver

drwxr-xr-x guestbook
<?php
include_once ......../public_html/poll/booth.php";
$php_poll->set_template_set("set_name");
echo $php_poll->poll_process(;
?>
Is there an url where i can download it ?
Thanks
or, if you have SSH/telnet

chmod xxx filename.php

xxx would be like 744, 666, etc etc ....
wahrscheinlich hast du die zugriffsberechtigungen für die config-datei nicht gesetzt... dann kann er nicht reinschreiben und folglich kein passwort ändern....
don't use templates. Just run your includes and your site templates within the index.php, addentry.php and comment.php

then just empty the header and footer templates.......works like a charm for me
 
Forum Index » Profile for Anonymous » Messages posted by Anonymous
Go to:   
Based on the open source JForum