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

upload images webp — 2021-02-14 05:29:23 in v2.08 Support
Hello and thank you ,
I believe that it is on the server side that you need to add, or activate a php extension !?
What do you think ?
upload images webp — 2021-02-12 09:48:04 in v2.08 Support
up ^^
Hello,
you can try with a smilie instead of an image!

//shout
$date=time();
$text = "Shoutbox vidée =balai ";
SQL_Query_exec("INSERT INTO `shoutbox` (id, userid, date, text, box) VALUES(null, 'System', $date,'$text', '1')");
//End Shout
upload images webp — 2020-11-04 12:10:02 in v2.08 Support
Hello
I would like to be able to upload an image with the webp extension.
here are my changes made:

config.php
$site_config['allowed_image_types'] = array(
                   // "mimetype" => ".ext",
                   "image/gif" => ".gif",
                   "image/pjpeg" => ".jpg",
                   "image/jpeg" => ".jpg",
                   "image/jpg" => ".jpg",
                   "image/png" => ".png",
                   "image/webp" => ".webp"
               );


fonctions.php
    // [img=http://www/image.gif] taille img shout
     $s = preg_replace("/\[img1=((https):\/\/[^\s'\"<>]+(\.gif|\.jpg|\.png|\.bmp|\.jpeg|\.webp))\]/i", "<img class='img1-shout' border='0' src=\"\\1\" width=\"100\" alt='&#9888; Auncune Pochette ! &#9904;' />", $s);    


     // by spiritblue
     $s = preg_replace("/\[img\]((https):\/\/[^\s'\"<>]+(\.gif|\.jpg|\.png|\.bmp|\.jpeg|\.webp))\[\/img\]/i", "<img border=\"0\" src=\"\\1\" alt=\"\" onload=\"NcodeImageResizer.createOn(this);\">", $s);

   // [imgsmall]http://www/image.gif[/img]
   $s = preg_replace("/\[imgsmall\]((https):\/\/[^\s'\"<>]+(\.gif|\.jpg|\.png|\.bmp|\.jpeg|\.webp))\[\/img\]/i", "<img border=\"0\" src=\"\\1\" height=\"150px\" alt=\"\" onload=\"NcodeImageResizer.createOn(this);\">", $s);

   // [img=http://www/image.gif]
   $s = preg_replace("/\[img=((https):\/\/[^\s'\"<>]+(\.gif|\.jpg|\.png|\.bmp|\.jpeg|\.webp))\]/i", "<img border=\"0\" src=\"\\1\" alt=\"\" onload=\"NcodeImageResizer.createOn(this);\">", $s);


torrents-uploads.php

    //upload images
   $allowed_types = &$site_config["allowed_image_types"];
   $inames = array();
   for ($x=0; $x < 2; $x++) {
       if (!($_FILES[image.$x]['name'] == "")) {
           $y = $x + 1;
           if (!preg_match('/^(.+)\.(jpg|gif|png|webp)$/si', $_FILES[image.$x]['name']))
           show_error_msg(T_("INVAILD_IMAGE"), T_("THIS_FILETYPE_NOT_IMAGE"), 1);
           if ($_FILES['image$x']['size'] > $site_config['image_max_filesize'])
               show_error_msg(T_("ERROR"), T_("INVAILD_FILE_SIZE_IMAGE"), 1);
           $uploaddir = $site_config["torrent_dir"]."/images/";
           $ifile = $_FILES[image.$x]['tmp_name'];
           $im = getimagesize($ifile);
           if (!$im[2])
               show_error_msg(T_("ERROR"), sprintf(T_("INVALID_IMAGE"), $y), 1);
           if (!array_key_exists($im['mime'], $allowed_types))
               show_error_msg(T_("ERROR"), T_("INVALID_FILETYPE_IMAGE"), 1);
           $ret = SQL_Query_exec("SHOW TABLE STATUS LIKE 'torrents'");
           $row = mysql_fetch_array($ret);
           $next_id = $row['Auto_increment'];
           $ifilename = $next_id . $x . $allowed_types[$im['mime']];
           $copy = copy($ifile, $uploaddir.$ifilename);
           //if (!$copy)
           //    show_error_msg(T_("ERROR"), sprintf(T_("IMAGE_UPLOAD_FAILED"), $y), 1);
           $inames[] = $ifilename;
       }}
   //end upload images


Erreur: Invalid image 1

Have any idea of the problem !?
Thanks
Api discogs — 2020-11-02 08:21:07 in v2.08 Support
Bonjour,
avant a l'upload je pouvais allez chercher les infos automatiquement sur h ** ps: //www.discogs.com/
la description etait rempli de facon automatique.
il suffisait de mettre un lien par exemple h**ps://www.discogs.com/fr/Ace-Of-Base-Happy-Nation/release/1946791
fait un moment que cela ne cela fonctionne plus !!
je vous joint deux fichiers

J'espere que vous comprenez


Bonjour,

avant de télécharger, je pouvais obtenir les informations automatiquement sur h ** ps: //www.discogs.com/

la description a été remplie automatiquement.

il suffisait de mettre un lien par exemple h ** ps: //www.discogs.com/fr/Ace-Of-Base-Happy-Nation/release/1946791

ça n'a pas marché depuis un moment !!

Je vous attache deux fichiers

J'espère que tu comprends
tu es avec quelle version de tt  ?
attrapes et fait toi plaisir ^^
kikoo niki je te joint mon fichiers !
define('ALLOCINE_SECRET_KEY', '1a1ed8c1bed24d60ae3472eed1da33eb');
define('ALLO_PARTNER', '000042532791');

Ca fonctionne !!
Hello,
For a few days Allociné has stopped working,
Some sysop have successfully repaired,
Do you have any info about this?
Thanks.

Bonjour,
Depuis quelques jours Allociné ne fonctionne plus,
Certains sysop ont réussi a réparer,
Auriez vous des infos a se sujet ?
good evening
this day I managed to ban via the waiter the company, without however ban the customer!
I added this command to the server:
iptables -A INPUT -m iprange -src-range 62.210.128.0-62.210.255.255 -j DROP

The client can no longer download on the tk for now!
To my knowledge the only Tk that has managed to counter this site is: torrentleech

excuse my english I use G..gle translate
One of the companies that allows this: https://alldebrid.com
Confirmation email — 2019-06-02 06:59:29 in v2.08 Support
Hello ,
I did not notice anything abnormal in the database,
What is odd is that to regain his password, the id that the Tk sending is good.
I do not have any holes in the user table!
I continue my research!
Thank you
Confirmation email — 2019-05-27 09:28:40 in v2.08 Support
Hello
On my tk, I just activated the registration confirmation by email (I had never activated).
The problem is that for example a member registers, he has id 4000 and the email he receives is: /account-confirm.php?id=1352&secret=d5d20bede317bf8e9e6eefa3508f2a15.

The id is different here 1352 instead of 4000.
Do you have an idea ?

Thank you
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