Previous Thread
Next Thread
Print Thread
Rate Thread
#57899 12/07/2004 12:12 AM
Joined: Jun 2001
Posts: 729
Coder
Coder
Offline
Joined: Jun 2001
Posts: 729
Would be nice to have and put an end to robot signups smile Anyone?

Sponsored Links
Joined: Jan 2000
Posts: 5,829
Likes: 20
UBBDev / UBBWiki Owner
Time Lord
UBBDev / UBBWiki Owner
Time Lord
Joined: Jan 2000
Posts: 5,829
Likes: 20
I don't see it really being added as a feature short of requiring GD or ImageMagick smirk... Ian would be the best to ask though as he's the onlyone who seems to have the time (in 8 days anyway)


UBB.Dev - Putting Dev into UBB.threads
Company: VNC Web Services - UBB.threads Scripts and Scripting, Install and Upgrade Services, Site and Server Maintenance.
Forums: A Gardeners Forum, Scouters World, and UGN Security
UBB.Threads: My UBB Themes, My UBB Scripts
Joined: Jan 2003
Posts: 3,456
Likes: 2
Master Hacker
Master Hacker
Offline
Joined: Jan 2003
Posts: 3,456
Likes: 2
Quote
Originally posted by Gizzy:

I don't see it really being added as a feature short of requiring GD or ImageMagick smirk... 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?

Joined: Jan 2000
Posts: 5,829
Likes: 20
UBBDev / UBBWiki Owner
Time Lord
UBBDev / UBBWiki Owner
Time Lord
Joined: Jan 2000
Posts: 5,829
Likes: 20
Yeh well, I'm not CTM nor do I have the modification :x...


UBB.Dev - Putting Dev into UBB.threads
Company: VNC Web Services - UBB.threads Scripts and Scripting, Install and Upgrade Services, Site and Server Maintenance.
Forums: A Gardeners Forum, Scouters World, and UGN Security
UBB.Threads: My UBB Themes, My UBB Scripts
Joined: Nov 2001
Posts: 1,704
CTM Offline
Moderator / Da Masta
Moderator / Da Masta
Offline
Joined: Nov 2001
Posts: 1,704
I'll get this one docced and released by the weekend. smile

Sponsored Links
Joined: May 2000
Posts: 1,356
Addict
Addict
Joined: May 2000
Posts: 1,356
I'd like to see that smile

Joined: Aug 2000
Posts: 178
Member
Member
Offline
Joined: Aug 2000
Posts: 178
What weekend was it the last one or the next one smile

Joined: Jun 2001
Posts: 729
Coder
Coder
Offline
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 smile

I also made a small change to the install directions (just a type)

Joined: Nov 2001
Posts: 1,704
CTM Offline
Moderator / Da Masta
Moderator / Da Masta
Offline
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. confused

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?

Joined: May 2000
Posts: 1,356
Addict
Addict
Joined: May 2000
Posts: 1,356
or try this test code:

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 &#0124;&#0124; return;
eval "require $mod";
if([email protected]) {
push @error, [email protected];
} else {
push @ok, [$mod, $mod->VERSION];
}
}
you can then try this test code

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([email protected]) {
print header().qq~<h1>FATAL ERROR</h1> <pre>[email protected]</pre>~;
}

exit;

Sponsored Links

Link Copied to Clipboard
Donate Today!
Donate via PayPal

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.
Recommended Hosts
We have personally worked with and recommend the following Web Hosts:
Stable Host
bluehost
InterServer
Visit us on Facebook
Member Spotlight
Pilgrim
Pilgrim
NH, USA
Posts: 190
Joined: June 2000
Forum Statistics
Forums63
Topics37,570
Posts293,915
Members13,848
Most Online5,166
Sep 15th, 2019
Today's Statistics
Currently Online
Topics Created
Posts Made
Users Online
Birthdays
Top Posters
AllenAyres 21,079
JoshPet 10,369
LK 7,394
Lord Dexter 6,708
Gizmo 5,829
Greg Hard 4,625
Top Posters(30 Days)
Top Likes Received
isaac 81
Gizmo 20
Brett 7
WebGuy 2
Morgan 2
Top Likes Received (30 Days)
None yet
The UBB.Developers Network (UBB.Dev/Threads.Dev) is ©2000-2022 VNC Web Services

 
Powered by UBB.threads™ PHP Forum Software 8.0.0
(Preview build 20221129)