 |
 |
 |
 |
 |
| Author |
Message |
Ixus Newbie


Joined: Sep 13, 2003 Posts: 2
|
Posted: Mon Sep 15, 2003 5:32 pm Post subject: Problems using the fetching download MOD |
|
|
I've got a problem using the fetching download mod.
I'm running php 4.3.2 with GD installed, but when running the script the code_bg.jpg image is NOT displayed.
Instead, i see a broken image (Red X in white square).
I think the problem is within this piece of code...
| Code: |
function gfx($random_num) {
global $module_name;
$image = ImageCreate("modules/$module_name/images/code_bg.jpg");
$text_color = ImageColorAllocate($image, 0, 255, 0);
Header("Content-type: image/jpeg");
ImageString ($image, 5, 3, 2, $random_num, $text_color);
ImageJPEG($image, '', 75);
ImageDestroy($image);
// echo "$random_num";
die();
} |
My question to you is:
How did you got to work properly?
Are you using a background image at all?
I tried to contact the author of the mod, but sofar no results...
Thx in advance |
|
| Back to top |
|
|
 |
 |
 |
 |
 |
 |
 |
 |
| Author |
Message |
VinDSL Site Admin


Joined: Apr 03, 2003 Posts: 68 Location: Arizona (USA) Admin/mod: Disipal Designs Admin/mod: Nuke Cops
|
Posted: Sun Sep 21, 2003 2:47 am Post subject: |
|
|
You must be running the new version of Fetching Mod. I don't use code_bg.jpg. The proggie is simply generating a passcode, not an image. If and when the bots and harvesters get smart enough to read the passcode, then I'll switch to gfx. _________________ .::Buds not bombs::. |
|
| Back to top |
|
|
 |
 |
 |
 |
 |
 |
 |
 |
| Author |
Message |
Ixus Newbie


Joined: Sep 13, 2003 Posts: 2
|
Posted: Sun Sep 28, 2003 5:50 am Post subject: |
|
|
Thx for your reply..
I am now running the older fetchmod version and it works like a charm.
I have one question though.
I'm running My_eGallery version 2.7.9 and Coppermine V1.1 Beta3.
I want the same password protection in both of these modules too.
Do you have any idea's on how to convert the fetchmod module to work with these 2 modules?
My site is WWW.T100.ORG and i use coppermine for the animations-section and My-eGallery for the ringtones-section. |
|
| Back to top |
|
|
 |
 |
 |
 |
 |
 |
 |
 |
| Author |
Message |
gschoper Newbie


Joined: Oct 17, 2003 Posts: 1
|
Posted: Sat Oct 18, 2003 2:47 am Post subject: Re: Problems using the fetching download MOD |
|
|
| Ixus wrote: |
I've got a problem using the fetching download mod.
I'm running php 4.3.2 with GD installed, but when running the script the code_bg.jpg image is NOT displayed.
Instead, i see a broken image (Red X in white square).
I think the problem is within this piece of code...
| Code: |
function gfx($random_num) {
global $module_name;
$image = ImageCreate("modules/$module_name/images/code_bg.jpg");
$text_color = ImageColorAllocate($image, 0, 255, 0);
Header("Content-type: image/jpeg");
ImageString ($image, 5, 3, 2, $random_num, $text_color);
ImageJPEG($image, '', 75);
ImageDestroy($image);
// echo "$random_num";
die();
} |
My question to you is:
How did you got to work properly?
Are you using a background image at all?
I tried to contact the author of the mod, but sofar no results...
Thx in advance |
I just put together a new version of the Fetching Mod which I believe corrects most of the image display issues people were having as well as making the security images more consistent with what you see in other areas of PHP-Nuke. Check http://nuke.schoper.net/article-28--0-0.html out for more info.
Greg |
|
| Back to top |
|
|
 |
 |
 |
 |
| |
 |