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, 86 guest(s) and 0 member(s) that are online.

You are Anonymous user. You can register for free by clicking here
Nuke Cops :: View topic - Security Graphic, tried everything! [ ]
 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
phpnuke-hosting
Support Mod
Support Mod


Joined: Oct 19, 2004
Posts: 1032

Location: UK

PostPosted: Thu Sep 15, 2005 2:37 am Reply with quoteBack to top

Hey

Ok Security graphic isnt displaying.

I have tried all the combinations I can think of.

/modules.php?name=Your_Account&gfx=gfx&random_num=

/index.php?gfx=gfx&random_num=

And none seem to work.

GD Library is active and the images are in their correct directories.

Any help would be greatly appreciated.


Running: PHP-Nuke 7.7 (patched)

Regards

_________________
www.phpnuke-hosting.com

The Internets Foremost PHP-Nuke Web Host.

Image

Click Here!
Find all posts by phpnuke-hostingView user's profileSend private messageVisit poster's website
Evaders99
Site Admin
Site Admin


Joined: Aug 17, 2003
Posts: 12397


PostPosted: Thu Sep 15, 2005 12:58 pm Reply with quoteBack to top

Which site isn't displaying it? Your site seems to be working

_________________
Helping those that help themselves
Read FIRST or DIE!

"Fighting is terrible, but not as terrible as losing the will to fight."
Star Wars Rebellion Network - Need Help? Evaders Squadron Coding
Find all posts by Evaders99View user's profileSend private messageVisit poster's websiteAIM Address
phpnuke-hosting
Support Mod
Support Mod


Joined: Oct 19, 2004
Posts: 1032

Location: UK

PostPosted: Fri Sep 16, 2005 3:17 am Reply with quoteBack to top

Yeah Im running 7.8 there and thats working fine, although I had to modify the user info block to work with it.

No its a www.clanmfk.com that doesnt seem to like it.

Its enabled in config.php, the damn site just doesnt want to display it.

_________________
www.phpnuke-hosting.com

The Internets Foremost PHP-Nuke Web Host.

Image

Click Here!
Find all posts by phpnuke-hostingView user's profileSend private messageVisit poster's website
Evaders99
Site Admin
Site Admin


Joined: Aug 17, 2003
Posts: 12397


PostPosted: Fri Sep 16, 2005 3:22 pm Reply with quoteBack to top

Seems http://www.clanmfk.com/?gfx=gfx&random_num=500429 isn't loading.

mainfile.php should have the following gfx code
Code:

   case "gfx":
   $datekey = date("F j");
   $rcode = hexdec(md5($_SERVER['HTTP_USER_AGENT'] . $sitekey . $random_num . $datekey));
   $code = substr($rcode, 2, 6);
   $ThemeSel = get_theme();
   if (file_exists("themes/".$ThemeSel."/images/code_bg.jpg")) {
      $image = ImageCreateFromJPEG("themes/".$ThemeSel."/images/code_bg.jpg");
   } else {
      $image = ImageCreateFromJPEG("images/code_bg.jpg");
   }
   $text_color = ImageColorAllocate($image, 80, 80, 80);
   Header("Content-type: image/jpeg");
   ImageString ($image, 5, 12, 2, $code, $text_color);
   ImageJPEG($image, '', 75);
   ImageDestroy($image);
   die();
   break;


Do you have themes/YOURTHEME/images/code_bg.jpg or images/code_bg.jpg ?

_________________
Helping those that help themselves
Read FIRST or DIE!

"Fighting is terrible, but not as terrible as losing the will to fight."
Star Wars Rebellion Network - Need Help? Evaders Squadron Coding
Find all posts by Evaders99View user's profileSend private messageVisit poster's websiteAIM Address
phpnuke-hosting
Support Mod
Support Mod


Joined: Oct 19, 2004
Posts: 1032

Location: UK

PostPosted: Sat Sep 17, 2005 6:32 am Reply with quoteBack to top

Hi Evaders.

The mainfile does have that code and the code_bg.jpg is in images/code_bg.jpg.

Thanks for the help

_________________
www.phpnuke-hosting.com

The Internets Foremost PHP-Nuke Web Host.

Image

Click Here!
Find all posts by phpnuke-hostingView user's profileSend private messageVisit poster's website
Evaders99
Site Admin
Site Admin


Joined: Aug 17, 2003
Posts: 12397


PostPosted: Sat Sep 17, 2005 2:28 pm Reply with quoteBack to top

Let's see if we can get a simple image to work there

Put this into a image.php and execute it on your server
Code:

<?
   $image = ImageCreateFromJPEG("images/code_bg.jpg");
   $text_color = ImageColorAllocate($image, 80, 80, 80);
   Header("Content-type: image/jpeg");
   ImageString ($image, 5, 12, 2, "12345", $text_color);
   ImageJPEG($image, '', 75);
   ImageDestroy($image);
   die();
?>

see if an image is displayed. If not, then there's something wrong with the GD library probably. If it does work, then its something wrong in phpNuke. I've seen nothing in the Patched files for 7.7 that would affect this.

_________________
Helping those that help themselves
Read FIRST or DIE!

"Fighting is terrible, but not as terrible as losing the will to fight."
Star Wars Rebellion Network - Need Help? Evaders Squadron Coding
Find all posts by Evaders99View user's profileSend private messageVisit poster's websiteAIM Address
phpnuke-hosting
Support Mod
Support Mod


Joined: Oct 19, 2004
Posts: 1032

Location: UK

PostPosted: Sun Sep 18, 2005 6:26 am Reply with quoteBack to top

Yes it seems to work fine.

www.clanmfk.com/image.php.

Thanks for the help!

_________________
www.phpnuke-hosting.com

The Internets Foremost PHP-Nuke Web Host.

Image

Click Here!
Find all posts by phpnuke-hostingView user's profileSend private messageVisit poster's website
Evaders99
Site Admin
Site Admin


Joined: Aug 17, 2003
Posts: 12397


PostPosted: Sun Sep 18, 2005 11:51 am Reply with quoteBack to top

Very odd. I will look at the Patched 7.7 code some more. But not sure I can debug this without looking at the specific setup you have running

_________________
Helping those that help themselves
Read FIRST or DIE!

"Fighting is terrible, but not as terrible as losing the will to fight."
Star Wars Rebellion Network - Need Help? Evaders Squadron Coding
Find all posts by Evaders99View user's profileSend private messageVisit poster's websiteAIM Address
phpnuke-hosting
Support Mod
Support Mod


Joined: Oct 19, 2004
Posts: 1032

Location: UK

PostPosted: Sun Sep 18, 2005 12:17 pm Reply with quoteBack to top

If you get with me on MSN I can hook you up.

Cheers

_________________
www.phpnuke-hosting.com

The Internets Foremost PHP-Nuke Web Host.

Image

Click Here!
Find all posts by phpnuke-hostingView user's profileSend private messageVisit poster's website
Ginza
Private
Private


Joined: Dec 27, 2004
Posts: 40


PostPosted: Wed Sep 28, 2005 7:56 am Reply with quoteBack to top

In my site http://zogam.com the login block doesnt have a security code. When we log in there, it takes us to login problem page. There the security code appear.When we put the code in , one can login only.

How will i make the security code appear?
Find all posts by GinzaView user's profileSend private message
Evaders99
Site Admin
Site Admin


Joined: Aug 17, 2003
Posts: 12397


PostPosted: Wed Sep 28, 2005 8:59 am Reply with quoteBack to top

Use the latest Patched files - all the blocks should have a working security code

_________________
Helping those that help themselves
Read FIRST or DIE!

"Fighting is terrible, but not as terrible as losing the will to fight."
Star Wars Rebellion Network - Need Help? Evaders Squadron Coding
Find all posts by Evaders99View user's profileSend private messageVisit poster's websiteAIM Address
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.629 Seconds - 243 pages served in past 5 minutes. Nuke Cops Founded by Paul Laudanski (Zhen-Xjell)
:: FI Theme :: PHP-Nuke theme by coldblooded (www.nukemods.com) ::