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

TMDB — 2021-05-14 08:02:13 in v3 Mods in Progress
Oh yes, of course that was the first option to do. In the centos Web Panel there is this option for "fix-all-perimisions" for the named user.

I will try some more options and solutions over the weekend to check my entries in certain files so I will come back with the result

Thanks and hello everyone, have a nice weekend guys
TMDB — 2021-05-13 16:48:22 in v3 Mods in Progress
MicroMonkey:
make sure to set all cache folders 777. If you add a new folder to cache, you need to set it as well to 777 to allow www-data to write to it.


Unfortunately buddy it does not help at all in my case, have tried with all possible and available solutions.
Maybe someone else has managed to get it started and share it with us
Enchanced Requests — 2021-05-11 12:25:46 in v3 Mods Completed
Quote:
not sure. here is my reqall.php file. It is set for php 7, so keep that in mind if you are using php5 or such


Thanks MM, but it is same error message too
Enchanced Requests — 2021-05-10 12:22:37 in v3 Mods Completed
Hi guys I am stuck on this MOD and I have this error:

Database Error in reqall.php on line 1030: You have an error in your SQL syntax; check the manual that corresponds to your MariaDB server version for the right syntax to use near ' 43)' at line 1. Query was: INSERT INTO addedrequests (requestid,userid) VALUES(, 43).


line 1030 is:

@SQL_Query_exec("INSERT INTO addedrequests (requestid,userid) VALUES($id, $CURUSER[id])");
Quote:
can you add the mod to your file like the instructions say and then post that code so we can see what you are adding?


Yes mate, I implemen this code and find my mistake, I forgot make changes in the end of code (last line in functions.php)

print("<td class=\"ttable_col$x\" nowrap=\"nowrap\">".(count($expandrows)?"<a href=\"javascript: klappe_torrent('t".$row['id']."')\"><img border=\"0\" src=\"".$site_config["SITEURL"]."/images/plus.gif\" id=\"pict".$row['id']."\" alt=\"Show/Hide\" class=\"showthecross\" /></a>":"")."&nbsp;$bookmark <a title=\"".$row["name"]."\" href=\"torrents-details.php?id=$id&amp;hit=1\">$dispname</a> $freeleech $new</td>");


Now that works like a charm

Regards to all of you guys
Guys,
need some advice to implement this mod on my script that already has a Baloon tooltip mod installed,
with every change there is a white page on it,
nothing in the sqlerr table

I can share that part with you so you can see what it looks like in function.php


case 'name':
$char1 = 75; //cut name length
$smallname = htmlspecialchars(CutName($row["name"], $char1));
$dispname = " ".$smallname." ";
$last_access = $CURUSER["last_browse"];
$time_now = gmtime();
if ($last_access > $time_now || !is_numeric($last_access))
$last_access = $time_now;
if (sql_timestamp_to_unix_timestamp($row["added"]) >= $last_access)
//$dispname .= "";
$dispname .= " <span style=\"float:right\"><i class=\"flaticon-new\" style=\"color:red;font-size:18px;\"></i>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</span>";
if ($row["comments"] >= 1)
$dispname .= "<span class=\"koment\" align=\"right\" style=\"float:right\"><i class=\"far fa-comment-dots\" style=\"color:green\"></i>&nbsp;&nbsp;&nbsp;&nbsp;" . number_format($row["comments"]) . "</span>";
if ($row["seeders"] >= 50)
$dispname .= "<span style=\"float:right\"><i class=\"flaticon-fire\" style=\"color:gold;font-size:18px;\"></i>&nbsp;&nbsp;&nbsp;&nbsp;</span>";
if ($row["freeleech"] == 1)
$dispname .= " <span style=\"float:right\"><i class=\"flaticon-peace\" style=\"color:gold;font-size:18px;\"></i>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</span>";
if ($row["vip"] == "yes")
$dispname .= "<span style=\"float:right\"><img src=\"./images/vip.png\" width=\"30\" title=\"VIP torrent\">&nbsp;&nbsp;&nbsp;&nbsp;</span>";
if ($row["webseed"] == 1)
$dispname .= " <span style=\"float:right\"><i class=\"flaticon-bulb\" style=\"color:gold;font-size:18px;\"></i>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</span>";
if ($row["recommended"] == "yes")
$dispname .= " <span style=\"float:right\"><i class=\"flaticon-top\" style=\"color:gold;font-size:18px;\"></i>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</span>";
if ($row["sticky"] == "yes")
$dispname .= " <span style=\"float:right\"><i class=\"flaticon-oscars\" style=\"color:gold;font-size:18px;\"></i>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</span>";
//////////BALLOON TOOLTIP MOD///////////////////////////
$res7 = SQL_Query_exec("SELECT torrents.anon, torrents.seeders, torrents.banned, torrents.leechers, torrents.info_hash, torrents.filename, torrents.nfo, torrents.url, torrents.last_action, torrents.numratings, torrents.name, torrents.owner, torrents.save_as, torrents.descr, torrents.visible, torrents.size, torrents.added, torrents.views, torrents.hits, torrents.times_completed, torrents.id, torrents.type, torrents.external, torrents.image1, torrents.image2, torrents.announce, torrents.numfiles, torrents.freeleech, IF(torrents.numratings < 2, NULL, ROUND(torrents.ratingsum / torrents.numratings, 1)) AS rating, torrents.numratings, categories.name AS cat_name, torrentlang.name AS lang_name, torrentlang.image AS lang_image, torrentgenres.name AS genre_name, torrentgenres.image AS genre_image, categories.parent_cat as cat_parent, users.username, users.privacy FROM torrents LEFT JOIN categories ON torrents.category = categories.id LEFT JOIN torrentlang ON torrents.torrentlang = torrentlang.id LEFT JOIN torrentgenres ON torrents.torrentgenres = torrentgenres.id LEFT JOIN users ON torrents.owner = users.id WHERE torrents.id = $id");
$row = mysql_fetch_assoc($res7);
if (isset($row["lang_image"]) && $row["lang_image"] != "")
                        $bimg = @mysql_fetch_array(@SQL_Query_exec("SELECT image1  FROM torrents WHERE id=$id"));
                        $Limg = @mysql_fetch_array(@SQL_Query_exec("SELECT * FROM torrentlang WHERE id=$id"));
                        $Lbalon =($Limg["image"] ? "$site_config[SITEURL]/images/languages/" . htmlspecialchars($Limg["image"]) : "images/languages/unknown.png");
                        $balon =($bimg["image1"] ? "$site_config[SITEURL]/uploads/images/" . htmlspecialchars($bimg["image1"]) : "images/nocover.png");
                        $descr = "<table width=100% class=account align=center><tr><td class=css-right colspan=2 align=center>$smallname</td></tr><tr valign=top><td align=center class=css><img border=0 width=220  src=$balon class=poster></td><td class=css-right><div align=left class=torrent-category-detail clearfix><ul class=list><li><h4 align=center>Specifikacija</h4></li><li><b>Postavljeno : </b>" . date("d-m-Y", utc_to_tz_time($row["added"])) . "</li><li><b>Seedera : </b><font color=#0000ff>" . $row["seeders"] . "</font></li><li><b>Leechera : </b><font color=#ff0000>" . $row["leechers"] . "</font></li><li><b>Preuzeto : </b><font color=#00ff00>" . $row["times_completed"] . "</font></li><li><b>Subtitl : </b> &nbsp;&nbsp;&nbsp;<img border=\'0\' height=\'18px\' src=\' " . $site_config['SITEURL'] . "/images/languages/" . $row["lang_image"] . " \' alt=\' " . $row["lang_name"] . " \' /></li></ul><br><br></div></td></tr><tr><td class=css-right colspan=2 align=center> &nbsp;&nbsp;&nbsp;&nbsp;<img border=\'0\' src=\' " . $site_config['SITEURL'] . "/images/genre/" . $row["genre_image"] . " \' alt=\' " . $row["genre_name"] . " \' /> </td></tr></table>";
                        print("<td class=ttable_col$x nowrap>$reqname".(count($expandrows)?" <a href=\"javascript: klappe_torrent('t".$row['id']."')\"><img border=\"0\" src=\"".$site_config["SITEURL"]."/images/plus.gif\" id=\"pict".$row['id']."\" alt=\"Show/Hide\" class=\"showthecross\"></a>":"")."&nbsp;<a href=\"torrents-details.php?id=$id&hit=1\" onmouseover=\"return overlib('$descr')\"; onmouseout=\"return nd()\">$dispname</a>  </td>");
                        //print("<td class=ttable_col$x nowrap>$reqname".(count($expandrows)?" <a href=\"javascript: klappe_torrent('t".$row['id']."')\"><img border=\"0\" src=\"".$site_config["SITEURL"]."/images/plus.gif\" id=\"pict".$row['id']."\" alt=\"Show/Hide\" class=\"showthecross\"></a>":"")."&nbsp;<div class=\"wrapper\"><a href=\"torrents-details.php?id=$id&hit=1\" onmouseover=\"return overlib('$descr')\"; onmouseout=\"return nd()\">$dispname</a></div></td>");
break;
//////////BALLOON TOOLTIP MOD///////////////////////////


case 'dl':
print("<td class='ttable_col$x' align='center'><a href=\"download.php?id=$id&amp;name=" . rawurlencode($row["filename"]) . "\"><img src='" . $site_config['SITEURL'] . "/images/icon_download.gif' border='0' alt=\"Download .torrent\" /></a></td>");
break;
case 'uploader':
echo "<td class='ttable_col$x' align='center'>";
if (($row["anon"] == "yes" || $row["privacy"] == "strong") && $CURUSER["id"] != $row["owner"] && $CURUSER["edit_torrents"] != "yes")
echo "Anonymous";
elseif ($row["username"])
echo "<a href='account-details.php?id=$row[owner]'>".class_user($row[username])."</a>";
else
echo "Unknown";
echo "</td>";
break;
case 'comments':
print("<td class='ttable_col$x' align='center'><font size='1' face='Khand'><a href='comments.php?type=torrent&amp;id=$id'>" . number_format($row["comments"]) . "</a></font></td>\n");
break;
case 'nfo':
if ($row["nfo"] == "yes")
print("<td class='ttable_col$x' align='center'><a href='nfo-view.php?id=$row[id]'><img src='" . $site_config['SITEURL'] . "/images/icon_nfo.gif' border='0' alt='View NFO' /></a></td>");
else
print("<td class='ttable_col$x' align='center'>-</td>");
break;
case 'size':
print("<td class='ttable_col$x' align='center'><button  class='Tsiz'><i class=\"fas fa-database\"></i>&nbsp;&nbsp; ".mksize($row["size"])."</button></td>\n");
break;
case 'completed':
print("<td class='ttable_col$x' align='center'><button  class='Tdl'><i class=\"fab fa-android\"></i>&nbsp;&nbsp; ".number_format($row["times_completed"])." </button></td>");
break;
case 'seeders':
print("<td class='ttable_col$x' align='center'><button  class='Tsee'><i class=\"fas fa-angle-double-up\"></i>&nbsp;&nbsp; ".number_format($row["seeders"])."</button></td>\n");
break;
case 'leechers':
print("<td class='ttable_col$x' align='center'><button  class='Tlee'><i class=\"fas fa-angle-double-down\"></i>&nbsp;&nbsp; " . number_format($row["leechers"]) . "</button></td>\n");
break;
case 'health':
print("<td class='ttable_col$x' align='center'><img src='".$site_config["SITEURL"]."/images/health/health_".health($row["leechers"], $row["seeders"]).".gif' alt='' /></td>\n");
break;
case 'external':
if ($site_config["ALLOWEXTERNAL"]){
if ($row["external"]=='yes')
print("<td class='ttable_col$x' align='center'>".T_("E")."</td>\n");
else
print("<td class='ttable_col$x' align='center'>".T_("L")."</td>\n");
}
break;
case 'added':
print("<td class='ttable_col$x' align='center'>".date("d-m-Y H:i:s", utc_to_tz_time($row['added']))."</td>");
break;
case 'speed':
if ($row["external"] != "yes" && $row["leechers"] >= 1){
$speedQ = SQL_Query_exec("SELECT (SUM(downloaded)) / (UNIX_TIMESTAMP('".get_date_time()."') - UNIX_TIMESTAMP(started)) AS totalspeed FROM peers WHERE seeder = 'no' AND torrent = '$id' ORDER BY started ASC");
$a = mysql_fetch_assoc($speedQ);
$totalspeed = mksize($a["totalspeed"]) . "/s";
} else
$totalspeed = "--";
print("<td class='ttable_col$x' align='center'>$totalspeed</td>");
break;


Regards to all of you
I agree with you buddy, but this script was written a long time ago and needs many nice adjustments and changes.

Have tried many times to transfer my script to something that is more modern but it is a huge job when you have many years behind your job.

It works as long as it does
The second star — 2021-04-27 20:48:44 in v3 Support
Quote:
Thanks @Botanicar i send tomorrow my online block code.
BTW your source code look awesome. Great job. This is unique ;)


Is it works on your source, do you have test it?
The second star — 2021-04-27 08:22:12 in v3 Support
Send us code for usersonline_block.php this issue are placed there, and part of rest of your issue must be investigated

This is my part of whole this block (some small cosmetic parts is maked there)

//PS
Don't forget this block is for V 2.08 (maybe won't work on yours version)

The second star — 2021-04-26 20:33:23 in v3 Support
Is it "donator star"?
Hi guys, in the end I have succeeded with my wishes but only halfway (that is my opinion)
The date changes with these parameters, but as I said it was the first step which is good, the second step is that it also changes in the database itself (which was the purpose of the hack) but the third step when I go to torrents.php "updated" torrents are not visible as today's upload (on the top of torrents table).

What can they do wrong or what else do I need to fix?
Have also checked torrenttables ($ res) settings and everything looks good

Thank you so much for all the help and support you give me here


$id = (int) $_GET["id"];

// sett torrent to today
if ($_SERVER['REQUEST_METHOD'] == 'POST') {
   if (!isset($_POST['setnow'])) {
SQL_Query_exec("UPDATE torrents SET added = '".get_date_time()."' WHERE id='".$id."' ");
}
}
// sett torrent to today




       print ("<div><form method='POST' action='?setnow&id=$id'>  <input type='submit' class='btn btn-block btn-success' value='".T_("M_TODAY")."'  /> </form></div>");
Quote:
oops, speak too fast, after more than 30 minutes around, my torrent is red and sharing, thank you for the help

no SQL error or the .torrent


Sorry, same here   :(
I can confirm that this "MOD" converted to V 2.0.8 and "normal" mysql works on a "live" server works quite correctly, so far so good
Icon on file list — 2021-04-16 07:34:44 in Old v2 Tpoics
Hi guys, you are awesome ... nice work like always.
Instead of .png or .gif images I have put in flat icons so it be easier for me


Once time guys thanks a lot

Icon on file list — 2021-04-14 11:43:27 in Old v2 Tpoics
Due to my very "limited" knowledge of both PHP and SQL, I encountered some difficulties in implementing this code in torrent-details.php for TT V2.08 and PHP 5.6. Some of the code details don’t “fit” in some sense to the code system I have on the script.

I would be very grateful if you could clarify a bit how to implement and run it in reality

Thanks
Icon on file list — 2021-04-14 05:59:32 in Old v2 Tpoics
Wooow, that was fast answer mate, thanks.

I don't use PHP 8, because this version of TT can use just PHP 5.6 (sad I know, :( )

I can try it and come back to you if it be fixed
Icon on file list — 2021-04-13 17:49:29 in Old v2 Tpoics
I can attache just a one file at time


--
-- Table structure for table `torrent_extension_groups`
--

CREATE TABLE IF NOT EXISTS `torrent_extension_groups` (
 `group_id` mediumint(8) unsigned NOT NULL AUTO_INCREMENT,
 `group_name` varchar(255) COLLATE utf8_bin NOT NULL DEFAULT '',
 `cat_id` tinyint(2) NOT NULL DEFAULT '0',
 `allow_group` tinyint(1) unsigned NOT NULL DEFAULT '0',
 `download_mode` tinyint(1) unsigned NOT NULL DEFAULT '1',
 `upload_icon` varchar(255) COLLATE utf8_bin NOT NULL DEFAULT '',
 `max_filesize` int(20) unsigned NOT NULL DEFAULT '0',
 `allowed_forums` text COLLATE utf8_bin NOT NULL,
 `allow_in_pm` tinyint(1) unsigned NOT NULL DEFAULT '0',
 PRIMARY KEY (`group_id`)
) ENGINE=MyISAM DEFAULT CHARSET=utf8 COLLATE=utf8_bin;


INSERT INTO `extension_groups` (`group_id`, `group_name`, `cat_id`, `allow_group`, `download_mode`, `upload_icon`, `max_filesize`, `allowed_forums`, `allow_in_pm`) VALUES
(1, 'GROUP_IMAGES', 0, 0, 1, '', 0, '', 1),
(2, 'GROUP_ARCHIVES', 0, 0, 1, '', 0, '', 1),
(3, 'GROUP_PLAIN_TEXT', 0, 1, 1, '', 0, '', 1),
(4, 'GROUP_DOCUMENTS', 1, 1, 1, '', 0, '', 1),
(5, 'GROUP_REAL_MEDIA', 3, 0, 1, '', 0, '', 1),
(6, 'GROUP_WINDOWS_MEDIA', 2, 0, 1, '', 0, '', 1),
(7, 'GROUP_FLASH_FILES', 5, 0, 1, '', 0, '', 0),
(8, 'GROUP_QUICKTIME_MEDIA', 6, 0, 1, '', 0, '', 0),
(9, 'GROUP_DOWNLOADABLE_FILES', 0, 0, 1, '', 0, '', 0);
Icon on file list — 2021-04-13 17:49:01 in Old v2 Tpoics
Yes, somethin on that way, I maked two of tables who can "construct" this MOD (maybe)


--
-- Table structure for table `torrent_extensions`
--

CREATE TABLE IF NOT EXISTS `torrent_extensions` (
 `extension_id` mediumint(8) unsigned NOT NULL AUTO_INCREMENT,
 `group_id` mediumint(8) unsigned NOT NULL DEFAULT '0',
 `extension` varchar(100) COLLATE utf8_bin NOT NULL DEFAULT '',
 PRIMARY KEY (`extension_id`)
) ENGINE=MyISAM DEFAULT CHARSET=utf8 COLLATE=utf8_bin;
INSERT INTO `extensions` (`extension_id`, `group_id`, `extension`) VALUES
(1, 1, 'gif'),
(2, 1, 'png'),
(3, 1, 'jpeg'),
(4, 1, 'jpg'),
(5, 1, 'tif'),
(6, 1, 'tiff'),
(7, 1, 'tga'),
(8, 2, 'gtar'),
(9, 2, 'gz'),
(10, 2, 'tar'),
(11, 2, 'zip'),
(12, 2, 'rar'),
(13, 2, 'ace'),
(14, 2, 'torrent'),
(15, 2, 'tgz'),
(16, 2, 'bz2'),
(17, 2, '7z'),
(18, 3, 'txt'),
(19, 3, 'c'),
(20, 3, 'h'),
(21, 3, 'cpp'),
(22, 3, 'hpp'),
(23, 3, 'diz'),
(24, 3, 'csv'),
(25, 3, 'ini'),
(26, 3, 'log'),
(27, 3, 'js'),
(28, 3, 'xml'),
(29, 4, 'xls'),
(30, 4, 'xlsx'),
(31, 4, 'xlsm'),
(32, 4, 'xlsb'),
(33, 4, 'doc'),
(34, 4, 'docx'),
(35, 4, 'docm'),
(36, 4, 'dot'),
(37, 4, 'dotx'),
(38, 4, 'dotm'),
(39, 4, 'pdf'),
(40, 4, 'ai'),
(41, 4, 'ps'),
(42, 4, 'ppt'),
(43, 4, 'pptx'),
(44, 4, 'pptm'),
(45, 4, 'odg'),
(46, 4, 'odp'),
(47, 4, 'ods'),
(48, 4, 'odt'),
(49, 4, 'rtf'),
(50, 5, 'rm'),
(51, 5, 'ram'),
(52, 6, 'wma'),
(53, 6, 'wmv'),
(54, 7, 'swf'),
(55, 8, 'mov'),
(56, 8, 'm4v'),
(57, 8, 'm4a'),
(58, 8, 'mp4'),
(59, 8, '3gp'),
(60, 8, '3g2'),
(61, 8, 'qt'),
(62, 9, 'mpeg'),
(63, 9, 'mpg'),
(64, 9, 'mp3'),
(65, 9, 'ogg'),
(66, 9, 'ogm'),
(67, 9, 'php');


Icon on file list — 2021-04-13 09:11:33 in Old v2 Tpoics
Wondering if it is possible to fix in a smooth and fast way.

If we have a file list at the end of torrent data and it shows some files in different file formats (eg mp3, mkv, mp4, txt, img etc.) it is possible to add an extra column with the file icon so that at the file name is an appropriate icon next to what the images below show

TT V3 (or TT V 2.08)



Desired



Thanks guys

NB-Black — 2021-04-11 15:02:02 in v3 Themes
Thanks mate, seems to missing a lott of js files placed in different folders

<script src="<?= $site_config["SITEURL"]; ?>/backend/ajaxonline.js" language="JavaScript" type="text/javascript"></script>



<script type="text/javascript" src="/scripts/overlib.js"></script>
<script type="text/javascript" src="scripts/ncode_imageresizer.js"></script>
<script type="text/javascript" src="scripts/crawler.js">
<script type="text/javascript" src="scripts/jquery.min.js">
<script src="scripts/jquery.min.js"></script>
<link rel="stylesheet" href="<?= $site_config["SITEURL"]; ?>/jquery/QapTcha.jquery.css" type="text/css" />
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