Bravo List
Register
Go Back   > Bravo List > Source Code > Archived Trackers > BT.Manager (phpMyBitTorrent) > Mods & Themes
Reply
  #1  
Old 8th September 2010, 02:21
daffy's Avatar
daffy daffy is offline
Senior Member
 
Join Date: Mar 2009
United Kingdom
Posts: 550
Default customize the registration page
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.

Click the image to open in full size.
Attached Files
File Type: php register.php (21.3 KB, 17 views)
__________________
"FFS PPL READ GOD DAMMIT, WHAT AM I GOOGLE?"
"I Kill You!" simples


http://i.imgur.com/DtcRfH5.gif

I also Setup And Modify Trackers PM For Details
Reply With Quote
The Following 2 Users Say Thank You to daffy For This Useful Post:
DAKz (8th November 2011), PersGiG (12th November 2010)
Reply

Tags
customize , page , registration

Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump



All times are GMT +2. The time now is 23:09. vBulletin skin by ForumMonkeys. Powered by vBulletin® Version 3.8.11 Beta 3
Copyright ©2000 - 2024, vBulletin Solutions Inc.