PHP Web Host - Quality Web Hosting For All PHP Applications Sign up for PayPal and start accepting credit card payments instantly
  Login or Register
 • Home • Downloads • Your Account • Forums • 

View next topic
View previous topic


Google
 
Web RavenPHPScripts (This Site)
Post new topic   Reply to topic
Author Message
erick08
Regular
Regular


Joined: Apr 20, 2008
Posts: 56

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

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: 1364
Location: Texas, USA

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

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 to the forums!
View user's profile Send private message
erick08
Regular
Regular


Joined: Apr 20, 2008
Posts: 56

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

Hello spasticdonkey,

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

TQ Laughing
View user's profile Send private message
jakec
Site Admin


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

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

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
RavenNuke(tm) Development Team


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

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

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.
View user's profile Send private message
erick08
Regular
Regular


Joined: Apr 20, 2008
Posts: 56

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

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
View user's profile Send private message
nuken
RavenNuke(tm) Development Team


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

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

You may have to clear your browser cache and refresh.
View user's profile Send private message Send e-mail Visit poster's website
erick08
Regular
Regular


Joined: Apr 20, 2008
Posts: 56

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

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


Hello Nuken,

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

TQ
View user's profile Send private message
horrorcode
Involved
Involved


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

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

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 to the forums!
View user's profile Send private message Visit poster's website MSN Messenger
erick08
Regular
Regular


Joined: Apr 20, 2008
Posts: 56

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

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 to the forums!


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
View user's profile Send private message
Guardian2003
Site Admin


Joined: Aug 28, 2003
Posts: 6373
Location: Vsetin, Czech Republic

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

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 Visit poster's website
erick08
Regular
Regular


Joined: Apr 20, 2008
Posts: 56

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

OK Guardian2003..... tq for the information..
View user's profile Send private message
Display posts from previous:       
Post new topic   Reply to topic

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
Forums ©
 

All logos and trademarks in this site are property of their respective owner.
The comments are property of their posters, all the rest © 2002-2011 by Raven

You can syndicate our news using the file xml

CSE HTML Validator Helped Clean up This Page! [Valid RSS] valid RSS 2.0 Valid robots.txt Stop Spam Harvesters, Join Project Honey Pot

Website engines core code is © copyright by PHP-Nuke but has been heavily patched and modified by myself and others.
PHP-Nuke is a free software released under the GNU/GPL.


:: fisubice phpbb2 style by Daz :: PHP-Nuke theme by www.nukemods.com ::
:: fisubice Theme Modified by the RavenNuke™ Team ::

:: W3C CSS Compliance Validation :: W3C HTML 4.01 Transitional Compliance Validation ::

zerosum