#57899
12/07/2004 1:12 AM
|
Joined: Jun 2001
Posts: 729
Coder
|
Coder
Joined: Jun 2001
Posts: 729 |
Would be nice to have and put an end to robot signups  Anyone?
|
|
|
#57900
12/07/2004 2:16 AM
|
Joined: Jan 2000
Posts: 5,834 Likes: 20
UBBDev Owner Time Lord
|
UBBDev Owner Time Lord
Joined: Jan 2000
Posts: 5,834 Likes: 20 |
I don't see it really being added as a feature short of requiring GD or ImageMagick  ... Ian would be the best to ask though as he's the onlyone who seems to have the time (in 8 days anyway)
|
|
|
#57901
12/07/2004 9:17 AM
|
Joined: Jan 2003
Posts: 3,456 Likes: 2
Master Hacker
|
Master Hacker
Joined: Jan 2003
Posts: 3,456 Likes: 2 |
Originally posted by Gizzy: I don't see it really being added as a feature short of requiring GD or ImageMagick  ... Ian would be the best to ask though as he's the onlyone who seems to have the time (in 8 days anyway) What about the fact that CTM already wrote one, but never released it?
|
|
|
#57902
12/07/2004 1:12 PM
|
Joined: Jan 2000
Posts: 5,834 Likes: 20
UBBDev Owner Time Lord
|
UBBDev Owner Time Lord
Joined: Jan 2000
Posts: 5,834 Likes: 20 |
Yeh well, I'm not CTM nor do I have the modification :x...
|
|
|
#57903
12/13/2004 1:49 PM
|
Joined: Nov 2001
Posts: 1,704
Moderator / Da Masta
|
Moderator / Da Masta
Joined: Nov 2001
Posts: 1,704 |
I'll get this one docced and released by the weekend. 
|
|
|
#57904
12/22/2004 6:36 PM
|
Joined: May 2000
Posts: 1,356
Addict
|
Addict
Joined: May 2000
Posts: 1,356 |
I'd like to see that 
|
|
|
#57905
01/17/2005 11:45 AM
|
Joined: Aug 2000
Posts: 178
Member
|
Member
Joined: Aug 2000
Posts: 178 |
What weekend was it the last one or the next one 
|
|
|
#57906
01/17/2005 2:44 PM
|
Joined: Jun 2001
Posts: 729
Coder
|
Coder
Joined: Jun 2001
Posts: 729 |
CTM has released this to me. It has a test program that has to pass in order for this to work (GD Libraries) Unfortunatly I have not yet been able to get it to work as all it does is give me a blank screen. CTM, if you see this you have a PM waiting I also made a small change to the install directions (just a type)
|
|
|
#57907
01/17/2005 6:10 PM
|
Joined: Nov 2001
Posts: 1,704
Moderator / Da Masta
|
Moderator / Da Masta
Joined: Nov 2001
Posts: 1,704 |
Sorry, I didn't notice the PM until now. I didn't receive an email telling me that I'd received a PM here for some reason. If you're referring to getting a blank screen after registering, that sounds like a problem with the GD module. The only way to be certain is to register again, then check the Apache error logs to see what turns up there. It'll most likely tell you that either GD or GD::SecurityImage aren't installed. Do you have access to the logs?
|
|
|
#57908
01/18/2005 4:44 AM
|
Joined: May 2000
Posts: 1,356
Addict
|
Addict
Joined: May 2000
Posts: 1,356 |
or try this test code: #!/usr/bin/perl -w use strict; # use lib "/path/to/ubbmod/dirs"; # or where you put GD::SI use CGI qw[header];
my @error; my @ok;
test($_) foreach qw(GD Image::Magick GD::SecurityImage);
print header(); if (@error) { print "<h1>ERRORS</h1>".join(" n", @error); } if(@ok) { print qq~<h1>INSTALLED VERSIONS</h1>~; print "$_->[0]tv$_->[1] n" foreach @ok; }
sub test { my $mod = shift || return; eval "require $mod"; if($@) { push @error, $@; } else { push @ok, [$mod, $mod->VERSION]; } } you can then try this test code #!/usr/bin/perl -w use strict; # use lib "/path/to/ubbmod/dirs"; # or where you put GD::SI use CGI qw[header];
eval { require GD::SecurityImage; #GD::SecurityImage->import(use_magick => 1); # if you have Image::Magick GD::SecurityImage->import; my($data, $mime, $rnd) = GD::SecurityImage->new(lines => 3)->random("123456")->create->out; binmode STDOUT; print header(-type => "image/$mime") . $data; };
if($@) { print header().qq~<h1>FATAL ERROR</h1> <pre>$@</pre>~; }
exit;
|
|
|
Donate to UBBDev today to help aid in Operational, Server and Script Maintenance, and Development costs.
Please also see our parent organization VNC Web Services if you're in the need of a new UBB.threads Install or Upgrade, Site/Server Migrations, or Security and Coding Services.
|
|
Posts: 69
Joined: January 2001
|
|
Forums63
Topics37,575
Posts293,931
Members13,824
|
Most Online6,139 Sep 21st, 2024
|
|
Currently Online
Topics Created
Posts Made
Users Online
Birthdays
|
|
|
|