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 -> RN Bug Reports - Other Issues
Author Message
zlmark
Regular
Regular



Joined: Sep 25, 2006
Posts: 57

PostPosted: Mon Mar 26, 2007 1:16 pm Reply with quote

I use the gfx check in nuke config for login and when i upgraded to rn210 it changed from 6 numbers to 4 letters or numbers. Where can i change this setting?
 
View user's profile Send private message
jakec
Site Admin



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

PostPosted: Mon Mar 26, 2007 2:45 pm Reply with quote

Odd I never seen it with numbers, but have a look at the settings in:

includes/class.php-captcha.php
 
View user's profile Send private message
zlmark







PostPosted: Mon Mar 26, 2007 6:31 pm Reply with quote

jakec wrote:
Odd I never seen it with numbers, but have a look at the settings in:

includes/class.php-captcha.php
wellThe only thing i seen was this
Code:
define('CAPTCHA_NUM_CHARS', 5);
and i changed it to

Code:
define('CAPTCHA_NUM_CHARS', 7);
But of course i see 4 characters still.
www.extremeoutlawracing.com
 
jakec







PostPosted: Tue Mar 27, 2007 6:04 am Reply with quote

Well it looks like something has gone wrong during your upgrade, because the captcha looks way different to that now.
Have a look at Guardians site and you will see what it is supposed to look like: http://www.code-authors.com/index.php
 
montego
Site Admin



Joined: Aug 29, 2004
Posts: 9457
Location: Arizona

PostPosted: Tue Mar 27, 2007 6:30 am Reply with quote

zlmark, what version of nuke did you upgrade from please. TIA.

_________________
Only registered users can see links on this board! Get registered or login!
Only registered users can see links on this board! Get registered or login! 
View user's profile Send private message Visit poster's website
zlmark







PostPosted: Tue Mar 27, 2007 1:40 pm Reply with quote

montego wrote:
zlmark, what version of nuke did you upgrade from please. TIA.
downgraded phpnuke 8.0 to RN2.02 using Darklords downgrader then once this was released i upgraded to RN2.10. The gfx check always had 6 numbers that looked like your login here until the latest upgrade.
 
jakec







PostPosted: Tue Mar 27, 2007 3:16 pm Reply with quote

It looks like something has not uploaded correctly, or you have files missing.

First I would recommend making sure all the correct files have been uploaded. You could even use something like Beyond Compare to check your files and directory structure.

Also did you get any error message while upgrading the database?
 
zlmark







PostPosted: Tue Mar 27, 2007 3:43 pm Reply with quote

I will compare files, again. i did that already when i cleaned out old ones using ws ftp pro. there was the 2 errors dicussed else where in this forum(banners?)

Are there certain files i should try to upload again?
 
montego







PostPosted: Wed Mar 28, 2007 6:23 am Reply with quote

Make sure everything under the includes directory, but especially the fonts directory and gfx_check.php.
 
zlmark







PostPosted: Wed Mar 28, 2007 7:31 am Reply with quote

montego wrote:
Make sure everything under the includes directory, but especially the fonts directory and gfx_check.php.
ok, renamed the includes folder and uploaded new one still no change. whats next?
 
montego







PostPosted: Wed Mar 28, 2007 8:51 am Reply with quote

I am not sure any longer, but suspect it might be gd library related, but I have asked technocrat if he could take a look at this thread. He is probably the most knowledgeable one here on this new captcha.
 
zlmark







PostPosted: Wed Mar 28, 2007 9:10 am Reply with quote

thank you montego! Looking forward to technocrats input
 
technocrat
Life Cycles Becoming CPU Cycles



Joined: Jul 07, 2005
Posts: 511

PostPosted: Wed Mar 28, 2007 10:18 am Reply with quote

Open includes/gfx.php

Find:
Code:
define('GFX_USE_IMAGE', true);


After add:
Code:
//The number of letters & numbers to dispaly on each captcha

define('GFX_NUMBER', 4);


Find:
Code:
$code = random_code(4);


Replace with:
Code:
$code = random_code(GFX_NUMBER);


Now you can change:
Code:
define('GFX_NUMBER', 4);

To:
Code:
define('GFX_NUMBER', 7);

_________________
Only registered users can see links on this board! Get registered or login!
Only registered users can see links on this board! Get registered or login! / Only registered users can see links on this board! Get registered or login! 
View user's profile Send private message
montego







PostPosted: Wed Mar 28, 2007 10:36 am Reply with quote

technocrat, he has the new captcha code available to him, do you think that it might be related to FreeType? Does he have to ask his host or is there something he can do to make sure its working and/or install it?

Thank you by the way for this excellent RN FAQ:

http://www.ravenphpscripts.com/posts13073-highlight-.html
 
technocrat







PostPosted: Wed Mar 28, 2007 11:33 am Reply with quote

I went to www.extremeoutlawracing.com and it's the old captcha. If you try to run the new captcha it's says he is missing the imageftbbox() which means no FreeType. So his host would have to recompile GD with it.
 
zlmark







PostPosted: Wed Mar 28, 2007 12:47 pm Reply with quote

Quote:

So his host would have to recompile GD with it.

So ask my hosting service to recompile GD?
 
montego







PostPosted: Wed Mar 28, 2007 12:52 pm Reply with quote

zlmark, You need to ask your host to "recompile GD with support for FreeType".

the entire requirement is very important.
 
technocrat







PostPosted: Wed Mar 28, 2007 12:54 pm Reply with quote

He can use the old one which works fine, he just need to make the changes I posted and he can do as many characters as he wants.
 
montego







PostPosted: Wed Mar 28, 2007 1:20 pm Reply with quote

Right... we were just trying to get him working with the better captcha is all.

Yes, either way should work. Thanks for helping out on this!
 
zlmark







PostPosted: Wed Mar 28, 2007 2:42 pm Reply with quote

Thanks! Contacted hosting, will post the outcome
 
zlmark







PostPosted: Thu Mar 29, 2007 10:28 am Reply with quote

They fixed er all up for me. i restored the includes folder which put all the files back to the way they were.

Thanks for all your help!!
 
montego







PostPosted: Thu Mar 29, 2007 5:58 pm Reply with quote

Excellent news and now you can use the new, and hopefully better for a long time, captcha.
 
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 -> RN Bug Reports - Other 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 ©