Ravens PHP Scripts: Forums
 

 

View next topic
View previous topic
Post new topic   Reply to topic    Ravens PHP Scripts And Web Hosting Forum Index -> v2.30.01 RN Security Issues
Author Message
erick08
Regular
Regular



Joined: Apr 20, 2008
Posts: 56

PostPosted: Thu May 14, 2009 10:14 pm Reply with quote

Hello ravenstaf,

I want to change my security code to 8 digit. Now it 5 digit, and not alphabet. How can i do that? I already try to search this topic in this forum and run it but not work for me.

TQ Wink
 
View user's profile Send private message
spasticdonkey
RavenNuke(tm) Development Team



Joined: Dec 02, 2006
Posts: 1693
Location: Texas, USA

PostPosted: Thu May 14, 2009 10:34 pm Reply with quote

the settings are in => includes/class.php-captcha.php
they have an entire forum about it Smile [ Only registered users can see links on this board! Get registered or login! ]
 
View user's profile Send private message Visit poster's website
erick08







PostPosted: Fri May 15, 2009 1:53 am Reply with quote

Hello spasticdonkey,

Sory I dont see which suitable with RavenNuke_v2.30.01...
Give me detail....

TQ Laughing
 
jakec
Site Admin



Joined: Feb 06, 2006
Posts: 3048
Location: United Kingdom

PostPosted: Fri May 15, 2009 5:47 am Reply with quote

I am not sure you can get anymore detailed.

Look in the file above and the line which says:

Code:
define('CAPTCHA_NUM-CHARS', 5);


Then change the number to suit.

Just be careful because you may find that all characters do not fit and therefore you may need to change the font size.
 
View user's profile Send private message
spasticdonkey







PostPosted: Fri May 15, 2009 7:04 am Reply with quote

there are a ton of posts about this... heres how to change to numbers
Guardian2003 wrote:
Raven is not using RavenNuke (tm) on this site but yes, you can change to numbers if you want be it is far less secure.
Look in file includes/class.php-captcha.php
fine this line
Quote:

define('CAPTCHA_CHAR_SET', '');
and change it to
Quote:
define('CAPTCHA_CHAR_SET', '1,2,3,4,5,6,7,8,9,0');

If you have not done so already, please ensure you upgrade to RN2.3.01 immediately.
 
erick08







PostPosted: Fri May 15, 2009 10:15 am Reply with quote

jakec wrote:
I am not sure you can get anymore detailed.

Look in the file above and the line which says:

Code:
define('CAPTCHA_NUM-CHARS', 5);


Then change the number to suit.

Just be careful because you may find that all characters do not fit and therefore you may need to change the font size.


I already change to 8, but nothing action. maybe another part to change together with this.... the font yes it work. I use size 11 and 12.

TQ
 
nuken
RavenNuke(tm) Development Team



Joined: Mar 11, 2007
Posts: 2024
Location: North Carolina

PostPosted: Fri May 15, 2009 10:58 am Reply with quote

You may have to clear your browser cache and refresh.

_________________
Tricked Out News 
View user's profile Send private message Send e-mail Visit poster's website
erick08







PostPosted: Fri May 15, 2009 11:39 am Reply with quote

nuken wrote:
You may have to clear your browser cache and refresh.


Hello Nuken,

Same resault. Nothing happen again...... Any idea Idea

TQ
 
horrorcode
Involved
Involved



Joined: Jan 17, 2009
Posts: 272
Location: Missouri

PostPosted: Fri May 15, 2009 4:07 pm Reply with quote

I had this same problem not long ago, maybe this will help: [ Only registered users can see links on this board! Get registered or login! ]
 
View user's profile Send private message
erick08







PostPosted: Fri May 15, 2009 8:56 pm Reply with quote

horrorcode wrote:
I had this same problem not long ago, maybe this will help: [ Only registered users can see links on this board! Get registered or login! ]


Great horrorcode, Thank You Very Much....
That is. succesfull to change from 5 to 8 digit. This is the way....

in file includes/class.php-captcha.php
find and made change bellow:
Code:
define('CAPTCHA_NUM_CHARS', 8); //change t0 8

define('CAPTCHA_NUM_LINES', 60); // (by default 70) change to 60 if show only 7 digit


Last go to images/captcha.php and add =8
Code:


switch ($size) {
    case 'normal':
    default:
        $width = 140;
        $height = 60;
        $length = 8;
    break;
    case 'large':
        $width = 200;
        $height = 60;
        $length = 8;
    break;
    case 'small':
        $width = 100;
        $height = 30;
        $length = 8;
    break;

RavensScripts
 
Guardian2003
Site Admin



Joined: Aug 28, 2003
Posts: 6799
Location: Ha Noi, Viet Nam

PostPosted: Sat May 16, 2009 1:29 am Reply with quote

You might have to play with the font size (reduce it) if you users complain they cannot log-in because not all 8 characters appear.
The default setting was the best compromise we could get between the number of characters and the character font size that wasn't too hard to see for those who may be slightly visually impaired.
 
View user's profile Send private message Send e-mail
erick08







PostPosted: Sun May 17, 2009 3:13 am Reply with quote

OK Guardian2003..... tq for the information..
 
Display posts from previous:       
Post new topic   Reply to topic    Ravens PHP Scripts And Web Hosting Forum Index -> v2.30.01 RN Security Issues

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 ©