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

category picture — 2020-02-29 14:52:47 in v3 Mods Requests
Re-salut / re-hello Niki :)

vérifié sur torrents-details a la requête sql que t'es bien ca, pour le reste tous est #1 de mon coté:
==============================================================
checked on torrents-details at the sql request that you are fine, for the rest all is # 1 on my side:
categories.parent_cat as cat_parent, users.username, users.privacy FROM torrents LEFT JOIN categories ON torrents.category = categories.id



Exemple chez moi:
============
Example at home:

//GET ALL MYSQL VALUES FOR THIS TORRENT
$res = SQL_Query_exec("SELECT torrents.anon, torrents.safe, torrents.markedby, torrents.recommended, torrents.exclusif, torrents.thanks, torrents.seeders, torrents.tube, torrents.tube2, torrents.sticky, torrents.banned, torrents.leechers, torrents.info_hash, torrents.filename, torrents.nfo, torrents.last_action, torrents.numratings, torrents.allocine, torrents.name, torrents.likes, torrents.love, torrents.angry, torrents.points, 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, 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 users ON torrents.owner = users.id WHERE torrents.id = $id $wherex");
$row = mysqli_fetch_assoc($res);
category picture — 2020-02-29 14:47:19 in v3 Mods Requests
"niki, post: 68048, member: 20338":

Merci spititblue et c'est quand même mieux en Francais , merci


oui, je comprend mais par respect de mes confrères de travaille j’aimerais tu écrit tes messages en anglais aussi l'ami.
==================================
yes, I understand but out of respect for my fellow workers I would like you to write your messages in English too, friend.
Thanks you ! cooLL!!(y)
category picture — 2020-02-29 00:43:45 in v3 Mods Requests
I'll get back to you with all that, I'll test on my test server
====================================
je te reviens avec tout ca, je vais testé sur mon serveur test
category picture — 2020-02-28 02:46:12 in v3 Mods Requests
"niki, post: 68029, member: 20338":

Bonsoir moi je cherche le bout de code a mettre dans le fichier torrents-details.php afin que le logo des catégorie s'affiche dans torrents-details.php :(

salut niki, vous avez juste a faire le hack ici pour avoir l'image de la catégorie
[URL unfurl="true"]https://www.torrenttrader.xyz/index.php?threads/hack-image-categorie.3038/[/url]
"STorrents2020, post: 68024, member: 20382":

That isn't an addition, that is default TT code that should always remain in torrents-details.php, I instruct to add code under due to how it queries SQL first, any position before that fails to retrieve $row.

ok, but with me external is not use
"STorrents2020, post: 68021, member: 20382":

$row = mysqli_fetch_assoc($res);

thank you one more addition to this hack
508 Resource Limit Is Reached
The website is temporarily unable to service your request as it exceeded resource limit. Please try again later.

[color=rgb(209, 72, 65)]Link >>[/color][url='https://github.com/TorrentW/Jckt'][color=rgb(209, 72, 65)] https://github.com/TorrentW/Jckt[/color][/url]
if you knew, does he have a correction based on tt? :unsure:

[color=rgb(184, 49, 47)]I highly recommend not to install jackett !! [/color]
With url after having added to your client url of annouce with ca passkey, its will allow you to share the promise.


to have the passkey at the end of the url on torrents-upload :

Search:
[php]
print ("<tr><td align='right' valign='top'>" . T_("ANNOUNCE_URL") . ": </td><td align='left'>");

while (list($key,$value) = thisEach($announce_urls)) {
   echo "<b>$value</b><br />";
}
[/php]

Replace for:

// Displaying the Ad URL              
print ("<tr><td align='center' valign='top' colspan='5' valign='top'><br/><font color='Orange'>" .T_("ANNOUNCE_URL"). "</font>: ");
while (list($key,$value) = thisEach($announce_urls)) {
   echo "<font color='AliceBlue' size='3'>".$value."?passkey=".$CURUSER['passkey']."</font><br/><br/>";
}
// End
thanks for the modification ?

error with this line  >>
$classy = DB::run


...my

#======================================================================#
# Start class_user function
#======================================================================#
function class_user($name)
{
   global $site_config;
   $a = "SELECT u.class, u.donated, u.warned, g.Color, g.level, u.uploaded, u.downloaded FROM `users` `u` INNER JOIN `groups` `g` ON g.group_id=u.class WHERE username ='" . $name . "'";
   //echo "Query a".$a."<br />";
   $res = SQL_Query_exec($a);
   $classy = @mysqli_fetch_array($res);
   $gcolor = $classy['Color'];
   if ($classy['donated'] > 0) {
       $star = "<img src='" . $site_config['SITEURL'] . "/images/donor.png' alt='fait_un_don' border='0' width='15' height='15'>";
   } else {
       $star = "";
   }
   if ($classy['warned'] == "yes") {
       $warn = "<img src='" . $site_config['SITEURL'] . "/images#warn.png' alt='Averti' border='0'>";
   } else {
       $warn = "";
   }
 
   return unesc("<font color='" . $gcolor . "'>" . $name . "" . $star . "" . $warn . "</font>");
}
#======================================================================#
# End Start class_user function
#======================================================================#
because it works well
guest — 2020-02-16 16:38:18 in v3 Support
[color=rgb(184, 49, 47)]===[/color]Resolved/Résolu[color=rgb(184, 49, 47)]===[/color]
guest — 2020-02-16 12:04:03 in v3 Support
Hi niki !

Search:
<?php if ($CURUSER){ ?>


Replace with:
<?php if (!$site_config["MEMBERSONLY"] || $CURUSER) { ?>


....member should be online to see it

@+
color thanks — 2020-02-10 01:03:19 in v3 Support
"niki, post: 67857, member: 20338":

merci de l'aide spiritblue mais je ne comprend pas se que tu veux dire ??

j'AI edité mon post ;)
color thanks — 2020-02-09 16:59:12 in v3 Support
"niki, post: 67855, member: 20338":

thanks for your help but with the change I have a blank page. :rolleyes:

search in torrents-details:
=================
dans torrents-details cherche :
($u == class_user($CURUSER["username"])

add sfter :
======
Ajoute après la paranthèse:
)


change for my file :
============
Utilise mon fichier thanks.php

...we are testing!
======
...juste un test!
"m-jay, post: 67852, member: 20288":

ive done basic on v3 to make it easier, you can just add to see if its working

your file has worked, but it from my site does not work and as soon as I add id2, it made the rating disappear

..for the account-details page, it works # 1, thanks again
Thanks but the JavaScript doesn't work?
hello m-jay
where is your JS at the header of the theme?
I see no problem ?
for those who want a nice button, use the button tag on your css to create something pretty  :geek:
"m-jay, post: 67834, member: 20288":

Thank you spirtblue, I got the idea off a old updated torrents-details.php i got from botanicar.
I will do account-details this weekend and share for anyone who wishes to use (y)

cool, and add the activation function on config.php to this multi menu or normal  lolll
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: 10

  • Online

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