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

My old test tracker is at this address:
https://luigi.eu.org

Registration is open for testing
this is just the foundation of everything we've done together so far MicroMonkey, Coco and my little thing... if you want to develop this code further the door is open, GitHub will be refreshed with newer files soon
Do you tray :
ALTER TABLE users MODIFY id INT AUTO_INCREMENT;

maybe it can help you ...
I was gone some time and I'm out of that project right now ....

regards to my friends MicroMonkey, Coco, SpiritBlue and M-Jay

Regards
It's so hard when people seek help and in the end they get it without saying "thank you" or "oh it works", how great...

I do same thing like M-Jay... I get back and step on side... I have a family and my job to do...

Bye my friends
@leech24,

could you please give us some feedback if our comments have given you a good answer and solution to your question?
It hurts that you are completely stunting on answering our suggestions

Regards

In your case, I would prefer instead of a radio button to have a dropdown list with genders like:
Female
Male
Alien
:
:
None
then it is easier for new members to choose their gender


First of all make backup of you original account-signup.php

Try this please:
block quote this line:
//$gender = $_POST["gender"];


and instead of that write this code:


if ($_SERVER["REQUEST_METHOD"] == "POST") {
   if (empty($_POST["gender"])) {
       $error_gender = "Choose gender.";
   } else {
       $gender = $_POST["gender"];
       // ... usual gender choosing
   }
}


Replace that part of HTML code:

<tr>
<td><?php echo T_("GENDER"); ?>:</td>
<td>
<input type="radio" name="gender" value="Male" /><?php echo T_("MALE"); ?>
&nbsp;&nbsp;
<input type="radio" name="gender" value="Female" /><?php echo T_("FEMALE"); ?>
</td>
</tr>


whit this one:

<tr>
   <td><?php echo T_("GENDER"); ?>:</td>
   <td>
       <input type="radio" name="gender" value="Male"
           <?php if (!empty($_POST["gender"]) && $_POST["gender"] == "Male") echo "checked"; ?>
       /> <?php echo T_("MALE"); ?>
       &nbsp;&nbsp;

       <input type="radio" name="gender" value="Female"
           <?php if (!empty($_POST["gender"]) && $_POST["gender"] == "Female") echo "checked"; ?>
       /> <?php echo T_("FEMALE"); ?>

       <?php if (!empty($error_gender)) { ?>
           <div style="color:red;"><?php echo $error_gender; ?></div>
       <?php } ?>
   </td>
</tr>


Good luck
Thanks SpiritBlue
Hey guys....
the holidays are coming in our annual calendar and everyone wants a little snow mood on their pages...
You should be mutual with your friends

Unpack zip file and upload on your root, in your default theme in header or footer insert that two lines:

<link rel="stylesheet" href="./snow/snow.style.css">

<script  src="./snow/snow.script.js"></script>



Let it snow ... Demo link here
To all of them who have some issue on tt db, try to download from github an new db sql:

https://github.com/ExYuSubs/TT-v3.8.3/tree/afbb1f969fad3170bc16547d488a3d8ea0c31d03/sql
OMG, you are using a very old version of TT 2.08 and PHP 5.6 and both are outdated a long time ago. None of us here have been dealing with it for a long time so I think it is time to replace it with something new here...

My advice to you is that you go through all your files and before the code
<table border="0" cellpadding="3" align="center">


you put
<div align="center">


and after last
</table>



add
</div>

so you will adjust what you want right in the center of the table.

Unfortunately I can't help you with such a problem more than that. Maybe it's time to familiarize yourself with the basic HTML codes to solve such small problems...

Regards

Please, check your link first after that read my post

I wonder what your knowledge of HTML coding is?

account-login.php


<?php
// Updated login for sql security May 14 2023
require_once("backend/functions.php");
dbconn();
session_start();
$site_config["LEFTNAV"] = $site_config["MIDDLENAV"] = $site_config["RIGHTNAV"] = false;
if (!empty($_REQUEST["returnto"])) {
   if (!isset($_GET["nowarn"])) {
       $nowarn = T_("MEMBERS_ONLY");
   }
}

if (isset($_POST["username"]) && isset($_POST["password"])) {
   if (!empty($_POST["username"]) && !empty($_POST["password"])) {
       $username = $_POST["username"];
       $password = $_POST["password"];
       $password_hash = passhash($password);
$stmt = $GLOBALS["DBconnector"]->prepare("SELECT id, password, secret, status, enabled FROM users WHERE username = ? LIMIT 1");
$stmt->bind_param("s", $username);
$stmt->execute();

if ($stmt->error) {
die("Query failed: " . $stmt->error);
}
$res = $stmt->get_result();
$row = $res->fetch_assoc();

if ($row) {
if ($row["password"] !== $password_hash) {
$message = T_("LOGIN_INCORRECT");
} elseif ($row["status"] === "pending") {
$message = T_("ACCOUNT_PENDING");
} elseif ($row["enabled"] === "no") {
$message = T_("ACCOUNT_DISABLED");
       }
   } else {
       $message = T_("NO_EMPTY_FIELDS");
   }
   

   if (!$message) {
       logincookie($row["id"], $row["password"], $row["secret"]);
       if (!empty($_POST["returnto"])) {
           header("Refresh: 0; url=" . $_POST["returnto"]);
           die();
       } else {
           header("Refresh: 0; url=index.php");
           die();
       }
   } else {
       show_error_msg(T_("ACCESS_DENIED"), $message, 1);
   }
}
}
logoutcookie();

stdhead(T_("LOGIN"));

if (isset($nowarn)) {
   show_error_msg(T_("ERROR"), $nowarn, 0);
}


begin_frame(T_("LOGIN"));
?>

<form method="post" action="account-login.php">
 <div align="center">
<table border="0" width="70%" cellspacing="5" cellpadding="5">
<tr><td align="center"><b><?php echo T_("USERNAME"); ?>:</b> <input type="text" size="40" name="username" /></td></tr>
<tr><td align="center"><b><?php echo T_("PASSWORD"); ?>: </b> <input type="password" size="40" name="password" /></td></tr>
       <tr><td>   </td></tr>
<tr><td colspan="2" align="center"><input type="submit" value="<?php echo T_("LOGIN"); ?>" /><br /><br /><i><?php echo T_("COOKIES");?></i></td></tr>
   <?php
   if (!empty($_REQUEST["returnto"])) {
       ?>
       <input type="hidden" name="returnto" value="<?php echo cleanstr($_REQUEST["returnto"]); ?>" />
       <?php
   }
   ?>

</form>
      <td colspan="2" align="center">
<p align="center">
   <a href="account-signup.php"><?php echo T_("SIGNUP"); ?></a> |
   <a href="account-recover.php"><?php echo T_("RECOVER_ACCOUNT"); ?></a>
</p>
           </td>
       </tr>
   </table> </div>
<?php
end_frame();
stdfoot();
?>
1. What version of TT?
2. What PHP version?
3. Send account-login.php
4. Send account-recover.php
5. Send account-singup.php

PS
https://prnt.sc/NURImwvCl7R2
to do this on center you need justify your account-login.php file and table on it so all rows and columns be on center of table
After freeleech part add this:

		//==| sticky
if(get_user_class() >= 5){   // lowest class to make torrent sticky.

$sty = $_POST["sty"];
if ($sty == "yes") {
$sticky = "yes";
} else {
$sticky = "no";
}
}


In $ret = SQL_Query_exec("INSERT INTO torrents ....
after $freeleech,
add
$sticky,

after
after '".$freeleech."',

add
'".$sticky."',,

after <?php echo T_("FREE_LEECH_MSG");?> </td></tr>

add

//==| Sticky
?><tr><td align='left' class='css' valign='top'><?php echo T_("T_STICKY"); ?>:</td>
<td align='left' class='css-right' valign='top'><?php printf("<input name='sty' value='yes' type='radio' ".($sty ? " checked='checked'" : "")." /> ".T_("YES")."&nbsp;&nbsp;
<input name='sty' value='no' type='radio' ".(!$sty ? " checked='checked'" : "")." /> ".T_("NO").""); ?> &nbsp; &nbsp;<i><?php echo T_("STICKY_MSG");?></i></td></tr><?php




css error & no error sql — 2025-11-26 19:51:16 in v3 Support
Simple question:
Why you use iframe for a banners?
Don't forget one thing guys, when we switch from sha1 to argon2id all members must change their passwords and all new members will have it automatically converted to argon2id
LOGOUT_COOKIE issue — 2025-11-15 22:55:29 in v3 Support
Give us the part of the code you're having trouble with?
This way we can't help you without knowing what we're dealing with...

This is my part of cokie code in functions.php


function logincookie($id, $password, $secret, $remember = false, $updatedb = 1, $expires = 0x7fffffff) {
//if ( !$remember ) $expires = null;//
$hash = sha1($id.$secret.$password.getip().$secret);
setcookie("pass", $hash, $expires, "/");
setcookie("uid", $id, $expires, "/");
if ($updatedb)
SQL_Query_exec("UPDATE users SET last_login = '".get_date_time()."' WHERE id = $id");
}

function logoutcookie() {
setcookie("pass", null, time(), "/");
setcookie("uid", null, time(), "/");
}
@spiritblue
change:

echo "<div id='uOnline' class='bMenu' ><center>";


for

echo "<div id='uOnline' class='list' align='left'>";


in css file change class Tsiz to:


.list {
 display: flex;
 flex-direction: column;
}

.Tsiz {
 background-color:#f5f5f5;
 -moz-border-radius: 2;
 border-radius: 2px;
 font-family: "Cagliostro", sans-serif;
 font-size: 12px;
 padding: 2px 4px 2px 4px;
 border: solid #505050 1px;
 text-decoration: none;
 text-align: left;
 min-width:75px;
 margin-bottom: 5px;
}



to get all class on same line and justified to left side
[img=https://i.postimg.cc/XYw9x8fg/Screenshot-2.jpg][/img]
All colors are controlled by the css files (themes or style)
In your case it's a bit hard to say because we don't know which TT version or which theme it is, but if you haven't touched anything in functions.php about balloon popup then the style is intact there....
Go to the style or themes css file and look for
ttable_col
table table_
b-title
table_head
and change the colors for the background and fonts
The thing I've been thinking about for years when it comes to TT (regardless of which version we use) is to get rid of the $image1 and $image2 fields and have the images from iMDB instead... then we reduce space and load the cache which in turn is a better version of the available data.

Of course then we have another problem then... if (as they usually do) iMDB changes its source code and information we have to "reprogram" our entire code which is a difficult thing...
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: 1
  • Members: 0
  • Guests online: 1
  • Comments: 3
  • Messages: 1,728