Place security Code in CS-User Block

  Post new topicReply to topicPrintable Version
<< View previous topic View next topic >>
Share: Del.icio.us  Digg  Google  Spurl  Blink  Furl  Y! MyWeb  
#1   Place security Code in CS-User Block
tonyp
CZ Active Member
Occupation: IT/IS
Gender: Male
Fav. Sports Team: Chicago Bears
Website:
Status: Offline
Joined: Sep 09, 2003
0.01 posts per day
Posts: 115
Points: 7,277
AIM Address Yahoo Messenger MSN Messenger ICQ Number
Hiya...

I have noticed that since 6.9 the security code is no longer under the username and password field like it used to be.

How can I incorporate the Security field in the user info block, I looked at the language file below, does this information have to be added to the CZphp block?

// Begin CZUser Info block
define("_CZ_MEM","Membership");
define("_CZ_UMBREG", " Register Here ");
define("_CZ_UMBLOST", " Lost Password ");
define("_CZ_WELCOME", " Welcome, ");
define("_CZ_GUEST", " Welcome, Guest");
define("_CZ_PRIVMSG", "Private Message(s)");
define("_CZ_UNREAD", " Unread: ");
define("_CZ_READ", " Read: ");
define("_CZ_MEMBERS", " Member Info:");
define("_CZ_ON", " Online Info:");
define("_CZ_LATEST", " Latest User: ");
define("_CZ_TODAY", " New Today: ");
define("_CZ_YESTERDAY", " New Yesterday: ");
define("_CZ_OVERALL", " Total Members: ");
define("_CZ_VISITORS1", " Total Online: ");
define("_CZ_VISITORS2", " Guest(s) Online: ");
define("_CZ_VMEMBERS", " User(s) Online: ");
define("_CZ_TOTAL", " Total Online: ");
define("_CZ_ONLINE", " Online List: ");
define("_CZ_SECURITYCODE","Security Code: ");
define("_CZ_TYPESECCODE","Type Security Code Here: ");
define("_CZ_PASSWORD","Password: ");
define("_CZ_NICKNAME","Nickname: ");
// End CZUser Info block


and it shows that it is there but if I log out it does not show, I think it is just better to login at 1 spot versus putting your username and password then going to another page asking the same info with the additional security code.

Thanks ;-)



_________________
Looking for a local LAN party? that is if you live in Atlanta, GA Visit [ Register or login to view links on this board. ]

email: [ Register or login to view links on this board. ]
"We Put The LAN in AtLANta"
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,440
   
That is setting in the config.php if you open it you will see what i mean. Make the adjustment there and that block will automatically update itself. The language definitions go in your language/lang-english.php before the ?>




_________________
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   
tonyp
CZ Active Member
Occupation: IT/IS
Gender: Male
Fav. Sports Team: Chicago Bears
Website:
Status: Offline
Joined: Sep 09, 2003
0.01 posts per day
Posts: 115
Points: 7,277
AIM Address Yahoo Messenger MSN Messenger ICQ Number
Hi Telli...

I looked in the site config.php and did not see anything, I looked in the cz block.php and found this...

$content .="<table border=\"0\"><tr><td>\n";
$content .=""._CZ_NICKNAME."</td></tr>\n";
$content .="<tr><td><input type=\"text\" name=\"username\" size=\"15\" maxlength=\"25\"><CENTER></td></tr>\n";
$content .="<tr><td>"._CZ_PASSWORD."</td></tr>\n";
$content .="<tr><td><input type=\"password\" name=\"user_password\" size=\"15\" maxlength=\"20\"></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='"._CZ_SECURITYCODE."' title='"._CZ_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";
       }


Is this where I am supposed to make a change, what I am trying to get is when a user come to the site, they an enter their username, passowrd and the security code all in the block versus being redirected to another page I believe the account page and having to enter the info all over again.

I have placed the username and password part in the block.

Thanks again...



_________________
Looking for a local LAN party? that is if you live in Atlanta, GA Visit [ Register or login to view links on this board. ]

email: [ Register or login to view links on this board. ]
"We Put The LAN in AtLANta"
Back to top Reply with quote
#4   
tonyp
CZ Active Member
Occupation: IT/IS
Gender: Male
Fav. Sports Team: Chicago Bears
Website:
Status: Offline
Joined: Sep 09, 2003
0.01 posts per day
Posts: 115
Points: 7,277
AIM Address Yahoo Messenger MSN Messenger ICQ Number
ahhh I got it, would have helped if I would have just read the included txt file


Problem solved ;-)




_________________
Looking for a local LAN party? that is if you live in Atlanta, GA Visit [ Register or login to view links on this board. ]

email: [ Register or login to view links on this board. ]
"We Put The LAN in AtLANta"
Back to top Reply with quote
#5   
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,440
   
icon_wink.gif

Telli




_________________
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
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