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 
image verification script for 2.31  XML
Forum Index » Support Forum
Author Message
Anonymous



I recently install the script and it seems to work halfway. I not at all used to php. Html I know better so I am lost.

Where I sign in, it doesn't get complete because of the image vertification and it doesn't supply with new numbers even when I refresh. I'm pretty sure I messed up somewhere but I don't know to figure that out.
Anonymous



Sorry the guestbook is here http://www.ccgrove.com/samemme/index.php
Jared
Student

Joined: 07/01/2003 22:58:43
Messages: 96
Offline

you didn't install the script right. If you view the source, nothing changes

always says verifyimage.php?k= but should say verifyimage.php?k=234234 or some other number. Recheck your work. Or maybe your server does not support the script.
[WWW] [Yahoo!] [MSN]
Anonymous



I only change the 8 characters in the verify.php and basically went through the process again. So I figuring it the verify.php

I did the eight different character but in the file it says do not go below this line but I am still suppose to change something beside the eight characters.
Jared
Student

Joined: 07/01/2003 22:58:43
Messages: 96
Offline




Just follow the directions. That is correct, you only need to change the numbers
[WWW] [Yahoo!] [MSN]
Sam Emme
Beginner
[Avatar]

Joined: 15/07/2004 18:11:23
Messages: 13
Offline

Ok let's see if you can see it.
Addentry.php



I don't know about the footer...I didn't mess with it. That could something...



Form.php



add.class.php



I am pretty sure I've followed to the letter but as everything in life I could be wrong. Did I say thank you for helping me.
Carbonize
Master
[Avatar]

Joined: 12/06/2003 19:26:08
Messages: 4292
Location: Bristol, UK
Offline


should be


find


and make it


I left the first instruction out and only discovered the preview error yesterday.

Carbonize
I am not the maker of the Advanced Guestbook

get Lazarus
[Email] [WWW] [Yahoo!] aim icon [MSN] [ICQ]
Anonymous



I have installed and updated all the necessary files, but must have missed something somewhere.
In adding a new guestbook (v 2.3.1) entry, the form is ok - shows verification line, generated Image numbers, and acceptance box. If I do not enter anything into the acceptance box, ie leave blank, I get the pop-up saying I must enter the characters - ok.
If I enter just 1 character, or any amount of characters, whether they be the random image chars or not, the entry passes the test and gets added to the guestbook.
Initially in the form.php I had to add the $GB_PG[base_url] to get the Image to display. ie :
<tr bgcolor="$VARS[tb_color_1]">
<td width="25%" class="font1">Image Verification:&nbsp;<input type="hidden" name="rand" value="$Vrand"></td>
<td>Enter these characters
<img src="$GB_PG[base_url]/verifyimage.php?k=$Vrand" alt="Enter these characters into the textbox on the right" height="18" width="75"> into this text box <input type="text" size="8" maxlength="8" name="keycode" value="$_POST[rand]"></td>
</tr>


Any other ideas?

Thanks in anticipation.

Paul ( www.1820Settlers.com )
Carbonize
Master
[Avatar]

Joined: 12/06/2003 19:26:08
Messages: 4292
Location: Bristol, UK
Offline

If it's not verifying if the code is correct or not then the error must lie in the the lib/add.class.php file. Check that you have added everything to that as per the instructions.

Carbonize
I am not the maker of the Advanced Guestbook

get Lazarus
[Email] [WWW] [Yahoo!] aim icon [MSN] [ICQ]
Anonymous



Hi Carbonize,

I've checked my add.class.php code and compared it to the earlier post above, plus the corrections, and there is no difference. Still won't verify. Any other pointers?

Paul
Carbonize
Master
[Avatar]

Joined: 12/06/2003 19:26:08
Messages: 4292
Location: Bristol, UK
Offline

Redownload the verification.zip file then go through the instructions step by step just to make sure. ALso make sure you have the verify.php and verifyimage.php fils in the same folder as addentry.php. I'm at work right now but if you still can't get it to work I will try and upload a zip containing pre modded files.

Carbonize
I am not the maker of the Advanced Guestbook

get Lazarus
[Email] [WWW] [Yahoo!] aim icon [MSN] [ICQ]
Anonymous



Started afresh.. Re-extracted the base files from the guestbook original download. Downloaded your verification.zip again, and went very slowly cut'n'paste all the requirements. ftp'd the files up to correct directories on website. Exactly the same results. Did not display the generated Image on first entry to the 'sign the guestbook'. Added the $GB_PG[base_url] as per earlier post, , re-ftp'd, and then it displayed the Image. Something I didn't notice before was that when I 'previewed' the entry and then clicked Go Back, the Image is not redisplayed unless I refresh the page.
Me thinks it has to be something to do with the path or folder structure?


PaulTT www.1820settlers.com
Anonymous



Send me the three files addentry.php lib/add.class.php and templates/form.php I think I know what is missing but I want to make sure.
Carbonize
Master
[Avatar]

Joined: 12/06/2003 19:26:08
Messages: 4292
Location: Bristol, UK
Offline

The above post was me

Carbonize
I am not the maker of the Advanced Guestbook

get Lazarus
[Email] [WWW] [Yahoo!] aim icon [MSN] [ICQ]
amber222
Graduate

Joined: 07/05/2004 21:13:07
Messages: 586
Offline

Do you know why this and the other scripts will not work in phpnuke?

I have two guestbooks, one in a phpnuke module. Using duplicate copies of the files, the first guestbook is fine, but the one in th phpnuke module won't show the image.

Same problem with other scripts, like admin logout redirect and renaming the admin file.
 
Forum Index » Support Forum
Go to:   
Based on the open source JForum