You are missing our premiere tool bar navigation system! Register and use it for FREE!

NukeCops  
•  Home •  Downloads •  Gallery •  Your Account •  Forums • 
Readme First
- Readme First! -

Read and follow the rules, otherwise your posts will be closed
Modules
· Home
· FAQ
· Buy a Theme
· Advertising
· AvantGo
· Bookmarks
· Columbia
· Community
· Donations
· Downloads
· Feedback
· Forums
· PHP-Nuke HOWTO
· Private Messages
· Search
· Statistics
· Stories Archive
· Submit News
· Surveys
· Theme Gallery
· Top
· Topics
· Your Account
Who's Online
There are currently, 51 guest(s) and 1 member(s) that are online.

You are Anonymous user. You can register for free by clicking here
Nuke Cops :: View topic - security code issues [ ]
 Forum FAQ  •  Search  •   •  Memberlist  •  Usergroups   •  Register  •  Profile •    •  Log in to check your private messages  •  Log in

 
Post new topic  Reply to topicprinter-friendly view
View previous topic Log in to check your private messages View next topic
Author Message
download-inc
Nuke Cadet
Nuke Cadet


Joined: May 02, 2007
Posts: 5


PostPosted: Fri Feb 08, 2008 3:45 pm Reply with quoteBack to top

plain and simple

CZ-User Info block secuity code works fine
CNB Your Account 4.4.3 security code dead (broken image)

nuke-plat 76b4 ( after a week i still havent had a response there)

how is this even possable, dont they pull for the same image in the /image/ dir. its driving me nuts. i cant figure it out.

if i leave it compleatly off then i end up having to spend 1/2 my day deleting forums porn spam... with it on nobody can register.
and i dont like the e-mail verification cause to many people are to dumb to follow the instructions.
Find all posts by download-incView user's profileSend private messageVisit poster's website
spottedhog
Captain
Captain


Joined: Apr 30, 2004
Posts: 562


PostPosted: Sat Feb 09, 2008 7:43 am Reply with quoteBack to top

They may not pull the same image. Actually, since the block and CNB Your Account were written by 2 different authors, there is a good chance they may not use the same graphic.

You may need to check further inside the code to verify.

_________________
SMF-Nuke admin

SMF and PHP Nuke integration is ready! Take a look at it by clicking on the link above.
Find all posts by spottedhogView user's profileSend private messageSend e-mailVisit poster's website
download-inc
Nuke Cadet
Nuke Cadet


Joined: May 02, 2007
Posts: 5


PostPosted: Sat Feb 09, 2008 3:34 pm Reply with quoteBack to top

ahh yes looking more into it. user-info pulls from root/image/code_bg.gif
and your account mod pulls from /modules/Your_account/images/code_bg.png

however the code_bg.png is in the /image/ folder.. and yet. i get the broken image problem
Find all posts by download-incView user's profileSend private messageVisit poster's website
spottedhog
Captain
Captain


Joined: Apr 30, 2004
Posts: 562


PostPosted: Sun Feb 10, 2008 7:57 am Reply with quoteBack to top

Code:
/modules/Your_account/images/code_bg.png


Is that the actual URL to the image? And is that the actual path as is set in your Nuke installation? I have a feeling the path to the image is wrong.

For example:

The line you gave is: Your_account

The actual name may be: Your_Account (with a capital "A")

or

could it be: CNBYour_Account or something similar?

_________________
SMF-Nuke admin

SMF and PHP Nuke integration is ready! Take a look at it by clicking on the link above.
Find all posts by spottedhogView user's profileSend private messageSend e-mailVisit poster's website
download-inc
Nuke Cadet
Nuke Cadet


Joined: May 02, 2007
Posts: 5


PostPosted: Mon Feb 11, 2008 4:38 pm Reply with quoteBack to top

Code:

    case "gfx":
    // Begin Copyright (c) 2004 by NukeScripts Network
        $datekey = date("F j");
        $rcode = hexdec(md5($_SERVER[HTTP_USER_AGENT] . $sitekey . $random_num . $datekey));
        $code = substr($rcode, 2, $ya_config['codesize']);
        $ThemeSel = get_theme();
        if (file_exists("themes/$ThemeSel/images/code_bg.png")) {
            $codeimg = "themes/$ThemeSel/images/code_bg.png";
            include("themes/$ThemeSel/theme.php");
            $tcolor = str_replace("#", "", $textcolor1);
            $tc_r = hexdec(substr($tcolor, 0, 2));
            $tc_g = hexdec(substr($tcolor, 2, 2));
            $tc_b = hexdec(substr($tcolor, 4, 2));
        } else {
            $codeimg = "/images/code_bg.png";
            $tc_r = $tc_g = $tc_b = 0;
        }
        $image = ImageCreateFromPNG($codeimg);
        $text_color = ImageColorAllocate($image, $tc_r, $tc_g, $tc_b);
        Header("Content-type: image/png");
        ImageString ($image, 5, 5, 2, $code, $text_color);
        ImagePNG($image, '', 75);
        ImageDestroy($image);
        die();
    // End Copyright (c) 2004 by NukeScripts Network
    break;

well there is the actuall code i pulled from the file.
Find all posts by download-incView user's profileSend private messageVisit poster's website
spottedhog
Captain
Captain


Joined: Apr 30, 2004
Posts: 562


PostPosted: Tue Feb 12, 2008 7:19 am Reply with quoteBack to top

Do you have this in your install?

Code:
images/code_bg.png


Please note the above path is NOT in the Your_Account module. According to the code you listed, it is looking for the graphic in the root/images folder.

If you do not have code_bg.png in the root/images/ folder, you may want to upload it there.

If it is already there, hmmmmm.....

_________________
SMF-Nuke admin

SMF and PHP Nuke integration is ready! Take a look at it by clicking on the link above.
Find all posts by spottedhogView user's profileSend private messageSend e-mailVisit poster's website
Display posts from previous:      
Post new topic  Reply to topicprinter-friendly view
View previous topic Log in to check your private messages View next topic
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 © 2001, 2005 phpBB Group

Ported by Nuke Cops © 2003 www.nukecops.com
:: FI Theme :: PHP-Nuke theme by coldblooded (www.nukemods.com) ::
Powered by · TOGETHER TEAM srl ITALY http://www.togetherteam.it · DONDELEO E-COMMERCE http://www.DonDeLeo.com
Web site engine's code is Copyright © 2002 by PHP-Nuke. All Rights Reserved. PHP-Nuke is Free Software released under the GNU/GPL license.
Page Generation: 0.546 Seconds - 437 pages served in past 5 minutes. Nuke Cops Founded by Paul Laudanski (Zhen-Xjell)
:: FI Theme :: PHP-Nuke theme by coldblooded (www.nukemods.com) ::