| Author |
Message |
|
|
I thought I had too - but when I look into the database the username still says text and the code that is listed for "123" is still in the second field.
Is there somewhere else I need to be looking?
|
 |
|
|
Complete new install.
http://woodystaverntexas.hostasaurus.com/guestbook/index.php
I'm stumped!
|
 |
|
|
Hi,
Is it possible to have multiple choice in the Advanced Poll script ?
Some time, the people shoud have the choice to select at least two or three items from ten items.
Thanks in advance.
|
 |
|
|
also, this doesnt work (changing last_visit to type INT, its already type INT here):
http://proxy2.de/forum/viewtopic.php?p=11334&highlight=#11334
|
 |
|
|
cant be arsed to register on every forum
Carbonize wrote:No need to fear spam. We have a nice image verification mod to deal with spammers  . Oh and since you have updated from 2.2 to 2.3.1 could yo uplease try www.carbonize.co.uk/install.php for me. It's an upgrade script I'm working on for updating from 2.2 to 2.3.1 and fixes the admin login loop problem.
umm, i already have 2.3.1, why would i upgrade
& i didnt really upgrade, just deleted the old one, installed the new one & overwrited the book_data table
& if you're referring to this: http://proxy2.de/forum/viewtopic.php?t=4010&highlight=update+guestbook
it didnt work for me when trying to upgrade from 2.2 to 2.3.1 (mysql errors)
|
 |
|
|
Ich kenn das Script zwar nicht, aber kannst Du die nicht per ftp editieren ?
... hast Du Dich noch nicht gefragt, warum deine Daten nicht mehr so wie vorher sind? Also ich würde mir da evt. Gedanken machen.
|
 |
|
|
I know the answer is a no, but my situation here is a little tricky.
My news page is in .shtml format, due to the nature of the news program used. I would like to setup a poll using the Advanced Poll program, but because my webpage isn't in .php format, the coding failed.
Is there a way to get around this?
|
 |
|
|
|
How do you include php code in your template? For example i want to include print(date("n")) in header.php but this doesn't work, any ideas?
|
 |
|
|
hi there - im setting all my backgrounds to white - thanks for that....
when i open a page in dreamweaver i get a message in traget browser check - "the vqptag attribute of the script tag is not supported" ie.5, 5.5, 6 etc.................could this be why the menus dont look right?
|
 |
|
|
damn.. theres no edit button.. could someone with admin power delete that link to my guestbook??(first post) i fear spam..
|
 |
|
|
yeah, seems the PHP is upgraded
its solved now.. kinda
i tried updating the script: overwriting everything i had (v 2.2) with the newest version except the config file, & then creating the new tables it needs with the install.php from your zip file that i found somewhere on this forum.. didnt work, said i already had a book_img table or something..
anyways, i just deleted the whole thing, installed from scratch & replaced the book_data with the one i had backupped
so now ive got a working guestbook, but i still cant login as admin.. i guess i can work arround this & adjust my settings in the book_config table, but still.. would be nice if it could be fixed
|
 |
|
|
I installed version 2.3.1 of the guestbook and everything seems to be just fine - I can view, post, etc. But whenever I try to login with "test" and "123" it keeps bumping me back out. This is after a fresh install and I've looked into the database to edit the login and pass and it's still doing it.
Any thoughts?
|
 |
|
|
I've cleaned it up and it still does it (
<?php
/**
* ----------------------------------------------
* this code is optional
* Important! You have to include it
* before your html code
* ----------------------------------------------
*/
$cookie_expire = 96; // hours
$action = (isset($HTTP_GET_VARS['action'])) ? $HTTP_GET_VARS['action'] : '';
$action = (isset($HTTP_POST_VARS['action'])) ? $HTTP_POST_VARS['action'] : $action;
$poll_ident = (isset($HTTP_GET_VARS['poll_ident'])) ? $HTTP_GET_VARS['poll_ident'] : '';
$poll_ident = (isset($HTTP_POST_VARS['poll_ident'])) ? $HTTP_POST_VARS['poll_ident'] : $poll_ident;
if ($action=="vote" && (isset($HTTP_POST_VARS['option_id']) || isset($HTTP_GET_VARS['option_id']))) {
$cookie_name = "AdvancedPoll".$poll_ident;
if (!isset($HTTP_COOKIE_VARS[$cookie_name])) {
$endtime = time()+3600*$cookie_expire;
setcookie($cookie_name, "1", $endtime);
}
}
?>
|
 |
|
|
Carbonize wrote:No as i said the problem is in the file called poll_cookie.php
Cheers, as below, no white space? help!
<?php
/**
* ----------------------------------------------
* this code is optional
* Important! You have to include it
* before your html code
* ----------------------------------------------
*/
$cookie_expire = 96; // hours
$action = (isset($HTTP_GET_VARS['action'])) ? $HTTP_GET_VARS['action'] : '';
$action = (isset($HTTP_POST_VARS['action'])) ? $HTTP_POST_VARS['action'] : $action;
$poll_ident = (isset($HTTP_GET_VARS['poll_ident'])) ? $HTTP_GET_VARS['poll_ident'] : '';
$poll_ident = (isset($HTTP_POST_VARS['poll_ident'])) ? $HTTP_POST_VARS['poll_ident'] : $poll_ident;
if ($action=="vote" && (isset($HTTP_POST_VARS['option_id']) || isset($HTTP_GET_VARS['option_id']))) {
$cookie_name = "AdvancedPoll".$poll_ident;
if (!isset($HTTP_COOKIE_VARS[$cookie_name])) {
$endtime = time()+3600*$cookie_expire;
setcookie($cookie_name, "1", $endtime);
}
}
?>
|
 |
|
|
Carbonize wrote:Self explanatory. On line 21 of poll_cookie.php you have some white space. I assume that the code ends at line 20 or 21. The end is ?>. Open the file and see if you can place the cursor beyond the ?> and if you can delete the space until the cursor is just after the ?>.
Thanks for replying so quickly, my code is as below with no spaces and it still does it
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"
"http://www.w3.org/TR/html4/loose.dtd">
<?php
// Important! You have to include it before your html code
include_once "/home/britgpsc/public_html/poll/poll_cookie.php";
?>
<html><!-- InstanceBegin template="/Templates/index.dwt" codeOutsideHTMLIsLocked="false" -->
|
 |
|
|