|
|
Martin |
|
|
Posts: 4,558
Gender:  Male
Posts Per Day: 3.16
Reputation: 98.60%
Reputation Score: +211 / -3
Time Online: 35 days 19 hours 17 minutes
Location: UK
Age: 50
|
The images are there, but they don't show up.
Not sure what you mean, I just screen dumped this from the Registration page. The ixvvm7yr is made up from loads of other images as explained above, it is not a single image but literally hundreds mapped to form letters. If you actually open F.gif you will have to zoom 300% plus to see it and then it is just a little coloured square.
 |
This post contains attachments; to download them you must login. |
|
|
| Martin's Reputation: Increase |
|
|
|
|
|
Craig |
|
|
Posts: 3,619
Gender:  Male
Posts Per Day: 2.13
Reputation: 97.73%
Reputation Score: +215 / -5
Time Online: 14 days 15 hours 11 minutes
Location: Germany
Age: 38
|
And here is a screen shot of what I see  note...I user IE7
 |
This post contains attachments; to download them you must login. |
|
|
| Don't just ask a question. Instead ask a question, give us a screen shot and post a link to your forum. Help us help you make your forum better!If I helped...increase my Reputation by clicking here. |
|
|
|
|
|
Martin |
|
|
Posts: 4,558
Gender:  Male
Posts Per Day: 3.16
Reputation: 98.60%
Reputation Score: +211 / -3
Time Online: 35 days 19 hours 17 minutes
Location: UK
Age: 50
|
Didn't test it with IE7, IE6, Mozilla and GECKO are all good. I can see IE7 being a pain in the **** I've already had to re-write the DHTML for my main site because it didn't work with IE7 I'm reluctant to upgrade to 7 but looks like I'll have to, good old M$ not conforming yet again!!! ** Edit ** Just read up and found out that IE 7 doesn't support Base64 Encryption yet. Answer: Get yourself a real browser.  |
| Martin's Reputation: Increase |
|
| Revision History (2 edits) |
|
| |
|
|
|
|
|
Martin |
|
|
Posts: 4,558
Gender:  Male
Posts Per Day: 3.16
Reputation: 98.60%
Reputation Score: +211 / -3
Time Online: 35 days 19 hours 17 minutes
Location: UK
Age: 50
|
I accessed the MSDN blog for IE7 and we come up with a work around. I was also promised that this has been fixed in beta3 due out in August. Images now showing in IE7  |
| Martin's Reputation: Increase |
|
| Revision History (1 edits) |
|
| |
|
|
|
|
|
Justin |
|
|
Posts: 15,070
Gender:  Male
Posts Per Day: 6.55
Reputation: 93.40%
Reputation Score: +297 / -21
Time Online: 36 days 23 hours 14 minutes
Location: Tallassee, AL
Age: 22
|
|
|
|
|
|
Martin |
|
|
Posts: 4,558
Gender:  Male
Posts Per Day: 3.16
Reputation: 98.60%
Reputation Score: +211 / -3
Time Online: 35 days 19 hours 17 minutes
Location: UK
Age: 50
|
|
|
|
|
|
Justin |
|
|
Posts: 15,070
Gender:  Male
Posts Per Day: 6.55
Reputation: 93.40%
Reputation Score: +297 / -21
Time Online: 36 days 23 hours 14 minutes
Location: Tallassee, AL
Age: 22
|
|
|
|
|
|
Martin |
|
|
Posts: 4,558
Gender:  Male
Posts Per Day: 3.16
Reputation: 98.60%
Reputation Score: +211 / -3
Time Online: 35 days 19 hours 17 minutes
Location: UK
Age: 50
|
Complicated I must admit. Can I email you the code, I would prefer your blessing before releasing as a mod  |
| Martin's Reputation: Increase |
|
|
|
|
|
Justin |
|
|
Posts: 15,070
Gender:  Male
Posts Per Day: 6.55
Reputation: 93.40%
Reputation Score: +297 / -21
Time Online: 36 days 23 hours 14 minutes
Location: Tallassee, AL
Age: 22
|
|
|
|
|
|
Martin |
|
|
Posts: 4,558
Gender:  Male
Posts Per Day: 3.16
Reputation: 98.60%
Reputation Score: +211 / -3
Time Online: 35 days 19 hours 17 minutes
Location: UK
Age: 50
|
Some of the files have a lot of code and will make a huge messgage.
How about I list the verification_code and attach the CharTable.pl |
| Martin's Reputation: Increase |
|
|
|
|
|
Justin |
|
|
Posts: 15,070
Gender:  Male
Posts Per Day: 6.55
Reputation: 93.40%
Reputation Score: +297 / -21
Time Online: 36 days 23 hours 14 minutes
Location: Tallassee, AL
Age: 22
|
|
|
|
|
|
Martin |
|
|
Posts: 4,558
Gender:  Male
Posts Per Day: 3.16
Reputation: 98.60%
Reputation Score: +211 / -3
Time Online: 35 days 19 hours 17 minutes
Location: UK
Age: 50
|
These are the subs that go in Routines.pl
|
Code
sub validation_code{
require "$code/CharTable.pl";
srand(); # set the max length of the shown verification code if (!$codemaxchars || $codemaxchars < 3) { $codemaxchars = 3; } $curtime = time; $randtime1 = substr($curtime, (length $curtime)-5, 2); $randtime2 = substr($curtime, (length $curtime)-4, 2); $randtime3 = substr($curtime, (length $curtime)-6, 2); $checknum = int( rand(100) ); $checknum =~ tr/0123456789/ymifxupbck/; $_ = int( rand(78) ); $_ =~ tr/0123456789/q8dv7w4jm3/; $checknum .= $_; $_ = int( rand(99) ); $_ =~ tr/0123456789/7v4sq3drm3/; $checknum .= $_; $_ = int( rand($randtime1) ); $_ =~ tr/0123456789/poiuyt5ewq/; $checknum .= $_; $_ = int( rand($randtime2) ); $_ =~ tr/0123456789/2qrt7go0ws/; $checknum .= $_; $_ = int( rand($randtime2) ); $_ =~ tr/0123456789/lk9hgfdaut/; $checknum .= $_; $checknum = substr($checknum, 0, $codemaxchars);
# making a mess of the validation code $scramble = &encode_password($curtime); for ($n = 0; $n < 9; $n++) { $scramble .= &encode_password($scramble); } $scramble =~ s/\//y/g; $scramble =~ s/\+/x/g; $scramble =~ s/\-/Z/g; $scramble =~ s/\:/Q/g;
$positioner = $curtime; $positioner .= $curtime; $curtime = substr ($positioner,0,length $checknum); @position = (); @character = (); $sessionid = ""; $showcheck = ""; $lastvalue=13; $showcheck = qq~<base href="$rurl/"><table border="0" cellspacing="0" cellpadding="0"><tr>~;
for($n=0; $n < length $checknum; $n++) { $showcheck .= qq~<td>~; $letter = substr($checknum, $n, 1); Convert(); $showcheck .= $htmlcode; $value = (substr($curtime,$n,1))+$lastvalue+1; $lastvalue = $value; substr ($scramble,$value,1) = $letter; $showcheck .= qq~</td>~; } $showcheck .= qq~</tr></table>~; $sessionid = $scramble; return $sessionid; return $showcheck; return $curtime; }
sub encode_password { my $eol = ""; $eol = $_[0]; chomp $eol; if (eval "require Digest::MD5") { use Digest::MD5 qw(md5_base64); }
my $mypass = md5_base64 $eol; return $mypass; }
|
|
This goes in Post.pl under sub Post2
|
Code
if($username eq 'Guest') { $ebout .= <<"EOT"; <tr> <td align="right">Guests need to enter a verification code to post on this board<td> </tr><tr> <td align="right" width="30%"><b>Your Verification Code is:</b></td> <td width="70%">$showcheck</td> </tr><tr> <td align="right" width="30%"><b>Verification Code:</b></td> <td width="70%"><input type="password" class="textinput" maxlength="30" name="verification" id="verification" size="30"> <input type="hidden" name="_session_id_" id="_session_id_" value="$sessionid"> <input type="hidden" name="curtime" id="curtime" value="$curtime"></td> </tr> EOT
|
|
This in Regester.pl under sub Register2
|
Code
if($nocomputers) { $ebout .= <<"EOT";
<tr> <td class="win" width="50%"><b>Your Verification Code is:</b></td> <td class="win" width="50%">$showcheck</td> </tr><tr> <td class="win" width="50%"><b>Verification Code:</b></td> <td class="win" width="50%"><input type="password" class="textinput" maxlength="30" name="verification" id="verification" size="30"></td> </tr> EOT
|
|
The error checking for both:
|
Code
error_post("The Verification Code is blank!") if($user{'verification'} eq '');
# Trying to figure out the mess we made while encrypting verification $lastvalue = 13; $verificationtest = ""; for ($n = 0; $n < length "$user{'curtime'}"; $n++) { $value = (substr("$user{'curtime'}", $n, 1)) + $lastvalue + 1; $letter = substr("$user{'_session_id_'}", $value, 1); $lastvalue = $value; $verificationtest .= $letter; } error_post("The Verification Code is wrong!") if($verificationtest ne $user{'verification'}); }
|
|
And the character table is attached. And I think you need my Image Resize mod as this thread is all over the place due to a very large graphic 
 |
This post contains attachments; to download them you must login. |
|
|
| Martin's Reputation: Increase |
|
|
|
|
|
|