Login
Username: Password:
Remember me

[Sign Up] / [Recover Password]

Theme / Language

Popular
New Torrents
new name
Size: 18.40 MB
Most active
new name
S: 74 L: 3
New Posters
User Posts

Go to Profile

I see what you mean cant get it working, encrypt maybe effecting it,  I'll try again today and post what I've tried
Where and what have you tried m8 for account it would be just under this line
        $email = $_POST["email"];
For account details I think it might be admin-modtasks
SB-TTv3 [New concept] — 2019-07-17 18:14:27 in v3 Themes
we look forward to theme update :), Change made in block.php...  have you made changes to these functions?
in the post - only search for end_signup & end_frame
topic updated, cleaned and moved to completed ;)
md5 is part of the old passhash function that is outdated, with using the new password bycrypt this is no longer needed it didnt effect anything on password updates that i remember but when encrypting  emails it did. This is where its difficult to get a one size fits all approach.
Both of these needed updating to make TT more secure but if a member has the new password update you can just remove all md5 and that would work and with the encrypt email update its a case of calling $email or $mail

example remove $psecret = md5($secret);
then a few lines down change psecret to secret
$body = T_("YOUR_ACCOUNT_AT")." ".$site_config['SITENAME']." ".T_("HAS_BEEN_APPROVED_EMAIL")."\n\n    ".$site_config['SITEURL']."/account-confirm.php?id=$id&secret=$secret\n\n".T_("HAS_BEEN_APPROVED_EMAIL_AFTER")."\n\n    ".T_("HAS_BEEN_APPROVED_EMAIL_DELETED")."\n\n".$site_config['SITENAME']." ".T_("ADMIN");
email confirm is working for me and isnt causing any issues, had it up and running on live site for a while.
Theres a chance it might be a md5 function i removed these ages ago ill post my files on github at weekend so its easier to compare, ill have a quick test of argon as well  :)
Multiplayer poker — 2019-07-09 02:09:57 in v2.08 Mod Requests
would be cool to see, if you can get it to work the way you want
have you tried changing equal to above 60  (!= 96 to >60) & also making a few passwords to see the new length
It's not argon2id that's a hybrid of argon2i & argon2d.I haven't really tested on 7.3 until i finished working on the backend and tested some things its designed for just changing P ASSWORD_BCRYPT to PASSWORD_ARGON2I but this hasnt really been tested in the same depth as the bcrypt.
This is done two ways with the input m8, for the email address in some cases what you type is the send address ($email)
The input is also at times crypted/decrypted to check db, show email ($mail)
my mistake mate when i moved to complete i forgot the database change first post updated
in myphpadmin in user table stucture increase length from 40 to 255, hopefully its the password been cut short, apart from the line above missing the login looks fine
Thanks updated post
Detect VPN [TTv3] — 2019-07-06 19:19:25 in v3 Mods Completed
If you hide blocks on login you may need to move this line to under dbconn(); so blocks don't show on error page

$site_config["LEFTNAV"] = $site_config["MIDDLENAV"] = $site_config["RIGHTNAV"] = false;
your query is little different try this line see if this works
        SQL_Query_exec("INSERT INTO users (username, password, secret, email, status, added, last_access, age, country, gender, client, stylesheet, language, class, ip) VALUES (" .       
    implode(",", array_map("sqlesc", array($wantusername, $wantpassword, $secret, $mail, $status, get_date_time(), get_date_time(), $age, $country, $gender, $client, $site_config["default_theme"], $site_config["default_language"], $signupclass, getip()))).")");


also this line should of been replaced so you can remove
$a = (@mysqli_fetch_row(@SQL_Query_exec("select count(*) from email_bans where mail_domain='$email'")));
Detect VPN [TTv3] — 2019-07-06 17:24:13 in v3 Mods Completed
This is from TT fr so credit to original author
Mod detects vpn and you can config whether to disallow  on login and signup. I use it on signup so members cant make multiple accounts with different ips

[color=rgb(251, 160, 38)]config.php add[/color]
// vpn
$site_config['vpnlogin'] = false;                                                                                /* ban vpn on login */
$site_config['vpnsignup'] = true;                                                                                /* ban vpn on signup */


[color=rgb(251, 160, 38)]functions.php before last ?>[/color]
// vpn detection
function detection_vpn(){
   $ip = gethostbyname($_SERVER["REMOTE_ADDR"]);
   $ch = curl_init();
   curl_setopt($ch, CURLOPT_SSL_VERIFYPEER, false);
   curl_setopt($ch, CURLOPT_RETURNTRANSFER, true);
   curl_setopt($ch, CURLOPT_URL, 'http://proxy.mind-media.com/block/proxycheck.php?ip='.$ip);
   $result = curl_exec($ch);
   curl_close($ch);
   if($result == 'N')
       return false;
   else if($result == 'Y')
       return true;
   else
       return false;
   }


[color=rgb(251, 160, 38)]account-signup.php find[/color]
// Disable checks if we're signing up with an invite


add before
// Detect vpn and disallow
if ($site_config["vpnsignup"])
   if (detection_vpn()){
       // Disconnect database
       dbconn(false);
       // Destruction of the User Cookie
       logoutcookie();
       show_error_msg(T_("SORRY"), "<br /><br /><center>Please turn vpn off to signup after you first login you may turn it back on<br /><br /></center>",1);
       die;
       }


[color=rgb(251, 160, 38)]account-login.php find[/color]
dbconn();


add after
        // Detect vpn and disallow
if ($site_config["vpnlogin"])
   if (detection_vpn()){
       // Disconnect database
       dbconn(false);
       // Destruction of the User Cookie
       logoutcookie();
       show_error_msg(T_("SORRY"), "<br /><br /><center>Please turn vpn off to signup after you first login you may turn it back on<br /><br /></center>",1);
       die;
       }
I think it would effect it, because you could login with old password but once you change it - to encrypt it when you try login again it would not recognise it, the only time emails effect members really is when there use account-recovery so for updating emails theres no big rush
So like the password hash I've added a back door (account-recovery1)  on my site which I'll close in time  but it might be possible to have two options on login page based on string lenght
yes its into database just need to finish admincp think ive got most of it


[color=rgb(251, 160, 38)]invite.php find[/color]
dbconn();


add below
// email encrypt
$crypt = new Cryptage();
$clef = $site_config["clef"];


find
    $maildomain = (substr($email, strpos($email, "@") + 1));            /*$maildomain = (substr($email, strpos($email, "@") + 1));
   $a = (@mysqli_fetch_row(@SQL_Query_exec("select count(*) from email_bans where mail_domain='$email'")));


replace with
    // encrypt email
   $maildomain = (substr($email, strpos($email, "@") + 1));
   $mail = $crypt->b64encode($email, $clef);
   $maildomain = $crypt->b64encode($maildomain, $clef);
   $a = (@mysqli_fetch_row(@SQL_Query_exec("select count(*) from email_bans where mail_domain='$mail'")));


find x 2
implode(",", array_map("sqlesc", array($username, $secret, $email,


replace with
implode(",", array_map("sqlesc", array($username, $secret, $mail,
ive noticed a few things recover is not working and invite is missing but we are close to complete

[color=rgb(251, 160, 38)]account-confirm.php (fix signup)[/color]
if ($md5 != md5($row["secret"]))


replace with
if ($md5 != $row["secret"])


[color=rgb(250, 197, 28)]edit[/color]
[color=rgb(251, 160, 38)]now fix account-recover find[/color]

@sendmail($arr["email"], T_("ACCOUNT_DETAILS"), $body, "", "-f".$site_config['SITEEMAIL']);


replace with
@sendmail($email, T_("ACCOUNT_DETAILS"), $body, "", "-f".$site_config['SITEEMAIL']);
another edit for account-details
find
<b><?php echo T_("EMAIL"); ?>:</b> <?php echo $CURUSER["email"]; ?><br />


replace with
<b><?php echo T_("EMAIL"); ?>:</b> <?php echo $mail ; ?><br />


and for old sites we help the staff find
    print("<tr><td>".T_("EMAIL")."</td><td align='left'><input type='text' size='67' name='email' value=\"$mail\" /></td></tr>\n");


add after
    // old unencrypted email
   print("<tr><td><b><font size='3' color='#00cc00'>If you can not read email above please update with this</font></b></td></tr>\n");
   print("<tr><td> $user[email]</td></tr>\n"); // end


Users online

No users online

Search



Statistics

    Torrents

  • Tracking: 3
  • Todays torrents: 0
  • Seeders: 0
  • Leechers: 0
  • Peers: 0
  • Downloaded: 89.96 GB
  • Uploaded: 9.86 GB

  • Members

  • We have: 838
  • New today: 0
  • Guest today: 9

  • Online

  • Total online: 3
  • Members: 0
  • Guests online: 3
  • Comments: 3
  • Messages: 1,728