CZuser info V4 security code problems

  Post new topicReply to topicPrintable Version
<< View previous topic View next topic >>
Share: Del.icio.us  Digg  Google  Spurl  Blink  Furl  Y! MyWeb  
#1   CZuser info V4 security code problems
erald
CZ Newbie
erald has been a member for over 20 year's 20 Year Member
belgium.gif
Age: 68
Gender: Male
Status: Offline
Joined: Oct 11, 2004
0.00 posts per day
Posts: 9
Points: 2,134
   
I have a couple of problems when activating the security code.
First the graphics does not show up, just the red cross. When using the original login box it will show and works. I have checked everything regarding the picture but no solution there. Problem is that most of the times the solutions are for older versions of Nuke. I'm using version 7.5.

The code which is responsible in block- CZUser-info I found is;
   //LOGIN Box
   $content .= "<table border=\"0\">\n";
   $content .= "<form action=\"modules.php?name=Your_Account\" method=\"post\">\n";
   $content .= "<tr><td><input type=\"text\" name=\"username\" size=\"15\" maxlength=\"25\" value=\"Username\" onFocus=\"if(this.value=='Username')this.value='';\"><CENTER></td></tr>\n";
   $content .= "<tr><td><input type=\"password\" name=\"user_password\" size=\"15\" maxlength=\"20\" value=\"Password\" onFocus=\"if(this.value=='Password')this.value='';\"></td></tr>\n";
   if (extension_loaded("gd") AND ($gfx_chk == 2 OR $gfx_chk == 4 OR $gfx_chk == 5 OR $gfx_chk == 7)) {
   $content .= "<tr><td colspan='2'>"._CZ_SECURITYCODE.": <img src='modules.php?name=Your_Account&op=gfx&random_num=$random_num' border='1' alt='"._SECURITYCODE."' title='"._SECURITYCODE."'></td></tr>\n";

   $content .= "<tr><td colspan='2'>"._CZ_TYPESECCODE.": <input type=\"text\" NAME=\"gfx_check\" SIZE=\"12\" MAXLENGTH=\"10\"></td></tr>\n";
   $content .= "<input type=\"hidden\" name=\"random_num\" value=\"$random_num\">\n";
       }
   $content .= "</table><input type=\"hidden\" name=\"redirect\" value=$redirect>\n";
   $content .= "<input type=\"hidden\" name=\"mode\" value=$mode>\n";
   $content .= "<input type=\"hidden\" name=\"f\" value=$f>\n";
   $content .= "<input type=\"hidden\" name=\"t\" value=$t>\n";
   $content .= "<input type=\"hidden\" name=\"op\" value=\"login\">\n";
   $content .= " ;;<input type=\"submit\" value=\""._LOGIN."\"></form>\n";




In Block-login I found some other code
   $content .= "<tr><td colspan='2'>"._SECURITYCODE.": <img src='?gfx=gfx&random_num=$random_num' border='1' alt='"._SECURITYCODE."' title='"._SECURITYCODE."'></td></tr>\n";


If I put this line in the CZUser-info the security code shows up.

Next problem is that if you use the security code (in both cases) it tells you it is wrong and you con not login. (this is in admin as well as user login.)

I'm not a PHP programmer and probably am missing something, but think somewhere there is a difference in version 7.5

Hope someone can point me in the right direction..


Back to top Reply with quote
#2   
Telli
Site Admin
Occupation: Self Employed
Age: 46
Gender: Male
Fav. Sports Team: Detroit Red Wings
Website:
Status: Offline
Joined: May 26, 2003
1.03 posts per day
Posts: 8089
Points: 494,475
   
I will look into this tonight and post back.




_________________
The path of the righteous man is beset on all sides by the inequities of the selfish and the tyranny of evil men. Blessed is he, who in the name of charity and good will, shepherds the weak through the valley of darkness, for he is truly his brother's keeper and the finder of lost children. And I will strike down upon thee with great vengeance and furious anger those who would attempt to poison and destroy my brothers. And you will know my name is the Lord when I lay my vengeance upon thee. Ezekiel 25:17
Back to top Reply with quote
#3   re: CZuser info V4 security code problems
erald
CZ Newbie
erald has been a member for over 20 year's 20 Year Member
belgium.gif
Age: 68
Gender: Male
Status: Offline
Joined: Oct 11, 2004
0.00 posts per day
Posts: 9
Points: 2,134
   
Any news yet? Is there something I might look into or give you more information?



Back to top Reply with quote
#4   re: CZuser info V4 security code problems
Kelly_Hero
PayPal Donation
CZ Revered Member
 Codezwiz Site Donator
usa.gif southcarolina.gif
Occupation: Web Developer
Age: 59
Gender: Female
Website:
Status: Offline
Joined: Aug 20, 2003
0.48 posts per day
Posts: 3765
Points: 351,412
   
Check out JR Sweets' response in [ Register or login to view links on this board.] and see if it helps you any.



Back to top Reply with quote
#5   re: CZuser info V4 security code problems
erald
CZ Newbie
erald has been a member for over 20 year's 20 Year Member
belgium.gif
Age: 68
Gender: Male
Status: Offline
Joined: Oct 11, 2004
0.00 posts per day
Posts: 9
Points: 2,134
   
Ok took a completely fresh copy of nuke7.5 and reinstalled the CZinfo blocks, made the suggested update from JRSweets (which I made originally also) and now it works. icon_biggrin.gif

Have no idea what went wrong in the original installation, gone through it a couple of times and could not locate anything icon_sad.gif

Anyway, thanks for the help got a working situation.



Back to top Reply with quote
Display posts from previous:      
Add To: Del.icio.us  Digg  Google  Spurl  Blink  Furl  Y! MyWeb  
<< View previous topic View next topic >>
Post new topicReply to topic

Jump to 
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 cannot attach files in this forum
You cannot download files in this forum