Bravo List

Bravo List (http://www.bvlist.com/index.php)
-   Mods & Themes (http://www.bvlist.com/forumdisplay.php?f=93)
-   -   customize the registration page (http://www.bvlist.com/showthread.php?t=5314)

daffy 8th September 2010 02:21

customize the registration page
 
1 Attachment(s)
backup and overwrite attached file to user/

then open user/takeregister.php

find

Code:

if($conferm_email)$sql = "INSERT INTO ".$db_prefix."_users (username, clean_username, email, password, act_key, uploaded, regdate" . $passkeyrow . ") VALUES ('".addslashes($username)."', '".addslashes(strtolower($username))."', '".addslashes($email)."', '".md5($password)."', '".$act_key."', '".$give_sign_up_credit."', NOW() " . $passkey .");";
else
$sql = "INSERT INTO ".$db_prefix."_users (username, clean_username email, password, act_key, uploaded, regdate" . $passkeyrow . ", active) VALUES ('".addslashes($username)."', '".strtolower($username)."', '".addslashes($email)."', '".md5($password)."', '".$act_key."', '".$give_sign_up_credit."', NOW()" . $passkey .", 1);";

replace with
Code:

if($conferm_email)$sql = "INSERT INTO ".$db_prefix."_users (username, clean_username, aim, icq, jabber, msn, skype, yahoo, country, birthday, email, password, act_key, uploaded, regdate" . $passkeyrow . ") VALUES ('".addslashes($username)."', '".addslashes(strtolower($username))."', '".addslashes($email)."', '".md5($password)."', '".$act_key."', '".$give_sign_up_credit."', NOW() " . $passkey .");";
else
$sql = "INSERT INTO ".$db_prefix."_users (username, clean_username, aim, icq, jabber, msn, skype, yahoo, country, birthday, email, password, act_key, uploaded, regdate" . $passkeyrow . ", active) VALUES ('".addslashes($username)."', '".strtolower($username)."', '".addslashes($email)."', '".md5($password)."', '".$act_key."', '".$give_sign_up_credit."', NOW()" . $passkey .", 1);";

please let me know if problems, not tested yet.

http://i54.tinypic.com/2dv8y39.jpg


All times are GMT +2. The time now is 14:43.

Powered by vBulletin® Version 3.8.11 Beta 3
Copyright ©2000 - 2024, vBulletin Solutions Inc.