6 Oct 2008
Lenon.com
Home Account Forums Downloads Web Links

Problems using the fetching download MOD
 
       Lenon.com Forum Index » Modules     View previous topic :: View next topic  
Author Message
Ixus
Newbie
Newbie


Joined: Sep 13, 2003
Posts: 2

Posted: Mon Sep 15, 2003 5:32 pm    Post subject: Problems using the fetching download MOD Reply with quote

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
View user's profile Send private message
Author Message
VinDSL
Site Admin
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: Reply with quote

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
View user's profile Send private message Visit poster's website
Author Message
Ixus
Newbie
Newbie


Joined: Sep 13, 2003
Posts: 2

Posted: Sun Sep 28, 2003 5:50 am    Post subject: Reply with quote

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
View user's profile Send private message
Author Message
gschoper
Newbie
Newbie


Joined: Oct 17, 2003
Posts: 1

Posted: Sat Oct 18, 2003 2:47 am    Post subject: Re: Problems using the fetching download MOD Reply with quote

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
View user's profile Send private message
Display posts from previous:   
       Lenon.com Forum Index » Modules All times are GMT - 4 Hours
Page 1 of 1
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum

Powered by phpBB 2.0.19 © 2002, 2007 phpBB Group
FlowControl Forums Theme by Disipal Designs

Copyright 1996-2008 - Lenon.com - All Rights Reserved.

This Website is Powered by an Enhanced Version of PHP-Nuke
The Most Advanced Content Management System in the World.

Script generation time: 0.4206 seconds  (PHP 98% - MySQL 2%)
Queries: 21 | Views last 5 mins: 46 | Server load: Adequate  (1.13)
Disipal Designs