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
Youtube in torrents detail
Controls ·  Search New posts · Mark unread

You are in: Forum / Forum / v2.08 / v2 Only Mods Complete

Unknown User
2010-10-18 01:06:36
add on end of

'".$tube."')");

'".$tube."')") or die (mysql_error());


then let me know
2010-10-18 01:18:35
"djhowarth, post: 66290":
add on end of


'".$tube."')");

'".$tube."')") or die (mysql_error());


then let me know


Yessssss [font='Comic Sans MS']you just made a happy[/font]



Thank you again!
Unknown User
2010-10-18 01:30:05
strange talliban?
Unknown User
2010-10-18 10:50:26
"tiloup, post: 66287":
Brayan thank you for your help, but my disorder is not made to see the video or not!
my mistake just after confirming my upload.

Trunk ... we understand! lol

yes, i know.. but i guess it's better don't show the video if it doesn't exists   :D

anyway, i think your problem is solved  :D
Unknown User
2010-12-19 19:25:26
"gandalf76, post: 48289":
i have find a "solution"? for me work now..
little modify without sense.. but work  :rolleyes:

in torrent upload:

move:

 if (!empty($_POST['tube']))

$tube = unesc($_POST['tube']);
after:


if (!empty($_POST["name"]))

$torrent = unesc($_POST["name"]);





find:



$ret = mysql_query("INSERT INTO torrents (filename, owner, name, tube......



move



,tube



after:



torrentlang, anon



example:



torrentlang, anon, tube





in same line find:



, '".$tube."'



move after:



, '".$langid."','$anon'



Example:



'".$langid."','$anon', '".$tube."'



for me now work.

first of this i have problem in upload.... description empty, no video (blank), no image upload..

try please.

i hope you understand


Thank you!

I was having all kinds of problems until I went back and rearranged everything this way!

V 2.06
Unknown User
2011-09-22 17:31:02
thanks for this... working well on 2.07..
Unknown User
2011-10-10 13:56:28
moved to mods complete
2012-01-16 00:23:46
this also works on 2.08. Just doing the search for things takes a bit of reading since the code is a little different in 2.08, but it works. Its not as simple as Control+F then paste in dreamwaver to locate code

Just make sure you do EXACTLY what DJ said a few posts up. The order those edits are in have to match up, so to be simple, just do what he posted above. I made that mistake earlier, but I found it and fixed it

In 2.08, it looks like this. I added the "tube" query 8th in line, so I had to add the value 8th in line also

Quote:
$ret = SQL_Query_exec("INSERT INTO torrents (filename, owner, name, descr, image1, image2, category, tube, added, info_hash, size, numfiles, save_as, announce, external, nfo, torrentlang, anon, last_action) VALUES (".sqlesc($fname).", '".$CURUSER['id']."', ".sqlesc($name).", ".sqlesc($descr).", '".$inames[0]."', '".$inames[1]."', '".$catid."', '".$tube."', '" . get_date_time() . "', '".$infohash."', '".$torrentsize."', '".$filecount."', ".sqlesc($fname).", '".$announce."', '".$external."', '".$nfo."', '".$langid."','$anon', '".get_date_time()."')");

TTv3 Micro Edition
Ubuntu 20.04.6 LTS Server
Mysql Version: 10.3.39-MariaDB-0ubuntu0.20.04.2
PHP Version: 7.4.3-4ubuntu2.20
Apache Version: Apache/2.4.59 (Ubuntu)
2012-01-17 13:29:21
maybe this is an issue. The mod appears to work, but this is what is in the sql error log

Quote:
Database Error in torrents-details.php on line 33: Unknown column 'torrents.tube' in 'field list'. Query was: SELECT torrents.anon, torrents.seeders, torrents.tube, torrents.banned, torrents.leechers, torrents.info_hash, torrents.filename, torrents.nfo, 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, 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 = 2.

TTv3 Micro Edition
Ubuntu 20.04.6 LTS Server
Mysql Version: 10.3.39-MariaDB-0ubuntu0.20.04.2
PHP Version: 7.4.3-4ubuntu2.20
Apache Version: Apache/2.4.59 (Ubuntu)
2012-06-17 05:24:08
Ello !!  :)

Je tente de mettre le mode tube pour les video sur la version 2.08 et quand  je  confirme mon upload sa dit comme erreur "Database Error. Please report this to an administrator."

?...  :blink:

///////////////////////////////////////////////¿\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\

I try to set the mode for tube video on version 2.08 and when I confirm my upload says its error as "Database Error. Please report this to administrator year."

? ...  :blink:

thank you for your help!

[url="http://devscorner.xyz/applications/core/interface/file/attachment.php?id=5800"]torrents-upload.php[/url]
torrents-upload.php
Download

Unknown User
2012-06-17 11:58:11
check your sql error in admincp
2012-06-17 16:27:45
"thib, post: 83630":
check your sql error in admincp

THANK THIB!

My version of TT was not in v.208 day!
Unknown User
2012-06-18 23:47:34
if i get chance ill re do this for 2.08 svn release ;)
2012-07-03 00:01:58
"thedarklord, post: 83664":
if i get chance ill re do this for 2.08 svn release  ;)
...yes! >> [url="http://devscorner.xyz/index.php?/topic/16916-youtube-in-torrents-detail-v208/"]http://devscorner.xyz/index.php?/topic/16916-youtube-in-torrents-detail-v208/[/url]

:D  B)
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