| Author |
Message |
chadz New Member


Joined: Nov 03, 2003 Posts: 8
|
Posted:
Wed Nov 19, 2003 9:24 pm |
|
Just wondering how to remove the security code in the site info block. i disabled it in config.php
but it still shows in the site info. Thanks for any help. |
|
|
|
 |
Raven Site Admin/Owner

Joined: Aug 27, 2002 Posts: 16987 Location: Kansas
|
Posted:
Wed Nov 19, 2003 11:12 pm |
|
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? |
|
|
|
 |
chadz New Member


Joined: Nov 03, 2003 Posts: 8
|
Posted:
Wed Nov 19, 2003 11:42 pm |
|
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 Site Admin/Owner

Joined: Aug 27, 2002 Posts: 16987 Location: Kansas
|
Posted:
Thu Nov 20, 2003 12:05 am |
|
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


Joined: Sep 22, 2003 Posts: 252
|
Posted:
Wed Apr 14, 2004 10:57 am |
|
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. |
|
|
|
 |
Raven Site Admin/Owner

Joined: Aug 27, 2002 Posts: 16987 Location: Kansas
|
Posted:
Wed Apr 14, 2004 8:40 pm |
|
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 Involved


Joined: Sep 22, 2003 Posts: 252
|
Posted:
Wed Apr 14, 2004 8:42 pm |
|
6.9 The security code came with the block |
|
|
|
 |
|
|
|
|