Author |
Message |
09/08/2005 23:16:41
|
Johnny Stevens
Beginner
Joined: 09/08/2005 23:05:43
Messages: 5
Offline
|
My template/email.php is showing the following:
<a href="javascript:getEmail('6d61696c746f3a$encemail')"><img src="$GB_PG[base_url]/img/email.gif" width="15" height="15" alt="$LANG[AltEmail]" border="0" /></a>
My lib/gb.class.php is showing the following:
if ($row['email']) {
/* E-mail Hack */
$row['email2'] = str_replace("@", "(at)", $row['email']);
$row['email2'] = str_replace(".", "(dot)", $row['email2']);
$row['email'] = "javascript:getEmail('".$this->db->encryptEmail("mailto:".$row['email'])."')";
$encemail = bin2hex($row['email']);
$hidemail = str_replace('@', '[at]', $row['email']);
$hidemail = str_replace('.', '[dot]', $hidemail);
eval("\$EMAIL = \"".$template['email']."\";");
} else {
$EMAIL = '';
$hidemail = '';
When I make a guestbook entry at http://www.hiddenacreskennel.com/guestbook/ I get the following on my entry:
Johnny Stevens
javascript:getEmail('6d61696c746f3a4a53746576656e734070726f766964656e6365696e7465726e657467726f75702e636f6d'
I was unable to find anything that would have caused this, nor is there a forum posting describing this situation... I'm at the end of my php knowledge and figure someone out there has a quick fix for this.... please send help!!
Thanks,
Johnny
|
|
10/08/2005 04:57:17
|
Carbonize
Master
Joined: 12/06/2003 19:26:08
Messages: 4292
Location: Bristol, UK
Offline
|
Looks to me like you've added my email encryption mod to 2.3.3 when 2.3.3 already encrypts the emails.
|
Carbonize
I am not the maker of the Advanced Guestbook
get Lazarus |
|
10/08/2005 18:26:19
|
Johnny Stevens
Beginner
Joined: 09/08/2005 23:05:43
Messages: 5
Offline
|
Which files do I need to restore to get this working again? Thanks!
|
|
10/08/2005 18:38:01
|
Carbonize
Master
Joined: 12/06/2003 19:26:08
Messages: 4292
Location: Bristol, UK
Offline
|
Just add.class.php
|
Carbonize
I am not the maker of the Advanced Guestbook
get Lazarus |
|
14/08/2005 21:58:02
|
Johnny Stevens
Beginner
Joined: 09/08/2005 23:05:43
Messages: 5
Offline
|
Hey Carbonize,
I restored my add.class.php file and I'm trying to re-test the guestbook. However, now I see the verification field with 7 characters and I type in all 7 (knowing that there should be 8, right?) and the system gives me the add.entry screen again with the following error:
The Image Verication code you supplied is incorrect.
Please enter the 8 characters that appear in the image.
There are still only 7 characters listed... can you let me know what you would need to see of my coding to help with this, please?
Thanks again,
Johnny
|
|
21/08/2005 16:57:15
|
Carbonize
Master
Joined: 12/06/2003 19:26:08
Messages: 4292
Location: Bristol, UK
Offline
|
When you updated to 2.3.3 did you also update the template files?
|
Carbonize
I am not the maker of the Advanced Guestbook
get Lazarus |
|
22/08/2005 12:07:51
|
Johnny Stevens
Beginner
Joined: 09/08/2005 23:05:43
Messages: 5
Offline
|
Hey Carbonize,
This was a fresh install, not an upgrade, but I did copy files over from a previously successful installation. After initializing the templates (i.e. moving the templates from the installation files onto my server), I think I'm all set.
Thanks,
Johnny
|
|
|