>
Ok first instructions for 2.3.x. Instructions for 2.2 will be in second post. If you are using 2.3.2 then where I say $HTTP_POST_VARS you will be looking for $_POST.

First you need to decide on a simple word to use such as 123 or spamless and where I put WORD you put the word you have chosen.

open up addentry.php

find

if (isset($HTTP_POST_VARS["gb_action"])) {

replace it with

if (isset($_POST["gb_actionWORD"])) {
then replace

echo $gb_post->process($HTTP_POST_VARS["gb_action"]);

with

echo $gb_post->process($_POST["gb_actionWORD"]);

close and save the file

open index.php and do exactly the same as you did above.

open templates/form.php

replace BOTH instances of

name="gb_action"

with

name="gb_actionWORD"

save and close the file

open templates/preview_entry.php and again replace

name="gb_action"

with

name="gb_actionWORD"

Save and close the file.
_________________
Carbonize


Last edited by carbonize on Wed Apr 20, 2005 5:34 am; edited 4 times in total
Here are the instructions for Advanced Guestbook 2.2

Again choose a simple word to use then put it where I put WORD

open up addentry.php

find

if ($HTTP_SERVER_VARS["REQUEST_METHOD"] == "POST") {

replace it with

if (isset($_POST["gb_actionWORD"])) {

then replace

echo $gb_post->process($HTTP_POST_VARS["gb_action"]);

with

echo $gb_post->process($HTTP_POST_VARS["gb_actionWORD"]);

close and save the file

open templates/form.php

replace BOTH instances of

name="gb_action"

with

name="gb_actionWORD"

save and close the file

open templates/preview_entry.php and again replace

name="gb_action"

with

name="gb_actionWORD"

Save and close the file.
_________________
Carbonize