Author |
Message |
|
I need to be able to preview and accept posts before they are posted to my site. Any word on the best way to do this?
|
 |
|
I think u dont need to upgrade the mysql tables, overwriting the old files will do...
|
 |
|
Does anyone know where I can find a good tournament script besides phpMyTourney???
|
 |
|
Hi there,
I wanna use the advanced guestbook and advanced poll scripts on my site, but i want multiple instances of the same.
with minimum load on the database and normal servers and minimum file storage, how do i do it?
please detail on how i should go about it, coz i'm not an expert on php.
thanks a lot.
|
 |
|
english please?
|
 |
|
hello,
I lost my username/password for my ADV. GUESTBOOK admin area.....what is the easiest way to get it back? Is it possible! Please let me know! someone placed some vulgar language on my guestbook and i need to edit it out!
thanks!
|
 |
|
Bitte Dringend um Hilfe
wo kann ich die Linkfarbe bei Kommentar (Coments) ändern??
Vielen Dank
RHS
|
 |
|
This is how you do it:
Replace all files and update your datebase with the sql file
CREATE TABLE book_pics (
msg_id int(11) NOT NULL default '0',
book_id int(11) NOT NULL default '0',
p_filename varchar(100) NOT NULL default '',
p_size int(11) unsigned NOT NULL default '0',
width int(11) unsigned NOT NULL default '0',
height int(11) unsigned NOT NULL default '0',
KEY msg_id (msg_id),
KEY book_id (book_id)
) TYPE=MyISAM;
ALTER TABLE `book_config` ADD `thumbnail` SMALLINT(1) NOT NULL, ADD `thumb_min_fsize` INT(10) NOT NULL;
|
 |
|
Hallöchen alle miteinander. Wir haben AdvancedPoll auf einer großen Page eingerichtet, und am Anfang war auch alles prima. Jetzt sind wir bei Poll-ID 8 und auf einmal werden die Votes für alle neuen Polls nicht mehr gezählt. Bei alten Votes klappt es dagegen schon noch.
Kurz zur Info: Wir haben die Text-DB-Version am laufen, es gibt keinerlei Fehlermeldungen, die chmods sind alle korrekt gesetzt - die Votes werden nur schlicht und ergreifend und ohne ersichtlichen Grund nicht gezählt und in die Text-DB geschrieben... Hat dafür jemand eine Erklärung - und vielleicht sogar eine Lösung? Für Hilfe wären wir wirklich sehr dankbar...
|
 |
|
i think u should change $base_dir = "../logfiles"; change it in $base_dir = "/full/path/to/the/logfiles";
|
 |
|
Well the code is not the problem!
What you have to do make a new html document
name it for example poll
before the first code (<html> place
<?php
// Important! You have to include it before your html code
include_once "/home/myusername/public_html/pollphp/poll_cookie.php";
?>
And between the <body></body> code place this:
<?php
include_once "/home/myusername/public_html/pollphp/booth.php";
echo $php_poll->poll_process(5);
?>
Save the entire document as poll.php not as poll.html or poll.htm
now ftp this page anywhere in your domain.
Now point your browser to www.yourdomain.com/poll.php
and see there it's your created poll.
I hope I have helped you?
with best regards,
Jeffrey
|
 |
|
How do I make the front page transparent? I mean being able to see the background picture through the guestbook postings...
|
 |
|
xtreme... I had a similar problem with a different guest book.. that used sql database.
My problem, I found out, was that the config file did not call out/identify the name of my database.
So you get a blank page because it can find the database that is called out or should be called out. You need to make sure you give these three things the correct info
local host = local host.
password= the password to your sql database
name= the name of your database (or maybe it's the username to access your database (i forget)
-Henry
|
 |
|
I actually have the same problem..
I can't add a poll to a HTML document.. It only shows "poll_process(5); ?>"
Is this code right?
<?php
// Important! You have to include it before your html code
include_once "/home/myusername/public_html/pollphp/poll_cookie.php";
?>
<html>
<body>
<?php
include_once "/home/myusername/public_html/pollphp/booth.php";
echo $php_poll->poll_process(5);
?>
</body>
</html>
|
 |
|
Bascially my content system builds a features bar along the right of every page and one section of this was going to include the poll. I'm having problems getting it to work though.
If I create a file called polltest.php just containing this:
Then it works fine.
However, the problem occurs when I try to put it into my content system.
The way it differs is the file display.php is called with a page name. As the cookie information needs to be sent before headers, this is where poll_cookie.php is included. display.php then includes global.inc.php for common functions including one called rightBar(). In rightBar rightBar.inc.php is included and this runs through drawing out the different sections. When it hit's:
I get:
I've also tried putting it all in a seperate file and including that but this just results in the same problems.
I've also tried moving the booth.php include to one of the preceding files (display.php or global.inc.php) but all this results in is a different error:
The only way I have got it to work so far is include it in display.php (the originally called file) so I guess I might be able to rework my rightBar function into 2 pieces so I can do the following in display.php:
But I really don't want to have to do that unless it's absolutely necessary, and this is the best poll system I've seen, so if anyone has any suggestions they'd be greatly appreciated.
Thx in advance
(Oh and I've tried the textfile version but this just results in a different problem, all the $question, etc variables in the templates get replaced with nothing so it doesn't work too well... :wink
|
 |
|