Ravens PHP Scripts: Forums
 

 

View next topic
View previous topic
This forum is locked: you cannot post, reply to, or edit topics.   This topic is locked: you cannot edit posts or make replies.    Ravens PHP Scripts And Web Hosting Forum Index -> phpnuke 6.9
Author Message
chadz
New Member
New Member



Joined: Nov 03, 2003
Posts: 8

PostPosted: Wed Nov 19, 2003 9:24 pm Reply with quote

Just wondering how to remove the security code in the site info block. i disabled it in config.php
Code:
$gfx_chk = 0;

but it still shows in the site info. Thanks for any help.
 
View user's profile Send private message
Raven
Site Admin/Owner



Joined: Aug 27, 2002
Posts: 17088

PostPosted: Wed Nov 19, 2003 11:12 pm Reply with quote

Hmmmm. I just tested it on my site and it works like it should. Are you sure you're using my site info block and that you have the latest version?
 
View user's profile Send private message
chadz







PostPosted: Wed Nov 19, 2003 11:42 pm Reply with quote

Raven, Yes its the latest version, and its yours. I just downloaded it agian and uploaded to make sure. The security code dosn't display in the admin.php login or anywhere else, except in the Site Info block. Could i remove this IF statment?
Code:
if (extension_loaded("gd") AND ($gfx_chk == 2 OR $gfx_chk == 4 OR $gfx_chk == 5 OR $gfx_chk == 7)) {
 
Raven







PostPosted: Thu Nov 20, 2003 12:05 am Reply with quote

That statement needs to be there because it checks those codes to determine if it should display it. There is no way that it can fall in that IF block unless it's one of those numbers. Place this line of code right before that:

die('gfx_chk = '.$gfx_chk);

It will kill the block but it will tell us what the value of $gfx_chk is at that point.
 
sqzdog
Involved
Involved



Joined: Sep 22, 2003
Posts: 252

PostPosted: Wed Apr 14, 2004 10:57 am Reply with quote

Raven, I have disabled the security code (set to 0) in config.php. I don't have to type the code now to log in. Is the security image supposed to still be there though? My users will still attempt to enter a security code since they are seeing the code.
 
View user's profile Send private message Send e-mail
Raven







PostPosted: Wed Apr 14, 2004 8:40 pm Reply with quote

It should not be there. What version of nuke? Was the security code added or did it come with your version? What is your site url?
 
sqzdog







PostPosted: Wed Apr 14, 2004 8:42 pm Reply with quote

www.fluvannaonline.com 6.9 The security code came with the block
 
Display posts from previous:       
This forum is locked: you cannot post, reply to, or edit topics.   This topic is locked: you cannot edit posts or make replies.    Ravens PHP Scripts And Web Hosting Forum Index -> phpnuke 6.9

View next topic
View previous 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
You can attach files in this forum
You can download files in this forum


Powered by phpBB © 2001-2007 phpBB Group
All times are GMT - 6 Hours
 
Forums ©