Bravo List

Bravo List (http://www.bvlist.com/index.php)
-   Mods & Themes (http://www.bvlist.com/forumdisplay.php?f=93)
-   -   YouTube in torrent details (http://www.bvlist.com/showthread.php?t=5762)

";
add above

Code:

echo "
\n";
open taketorrent.php

find
Code:

$f = $_FILES["filex"];
add above
Code:

if(strlen($tube) > 1)$tube = $tube;
else
$tube = '';

find
Code:

$torrentfields[] = "last_action";
$torrentvalues[] = "NOW()";

add below
Code:

if(strlen($tube) > 1){
$torrentfields[] = "tube";
$torrentvalues[] = "'".$tube."'";
}

Now open edit.php and find

Code:

              ratiobuild = '".$build."',
add below
Code:

              tube = '".$tubelink."',
now find
Code:

                echo "
\n";
add below
Code:

echo "
\n";
now open ajax.php

find
Code:

#Info Hash & Tracker
add above
Code:

if ($torrent["tube"]=='') {
print ("
");
}else{
print ("
"); 

}

dont forget this is in 2 places

now save image to images/

if i have missed something let me know, im a little high atm hahahaha

http://i52.tinypic.com/mcykp2.jpg

Screenshot
without youtube
http://i56.tinypic.com/2w1y2wy.jpg

without youtube
http://i54.tinypic.com/vxgebr.jpg
daffy 26th November 2010 01:04

YouTube in torrent details
 
adds youtube to details :d

SQL
Code:

ALTER TABLE `torrent_torrents` ADD `tube` varchar(225) NOT NULL DEFAULT '',
now open upload/torrent.php

find
Code:

echo "

"._btdescription."

Youtube Link :

(Add youtube trailer to details page By providing a youtube link or youtube NUMBER)

\n

"._bttorrentname."

\n

Youtube Link

\n

Youtube:

Youtube:


Giorgatzelos 28th August 2012 14:03

i did everything you said to the letter but the video never shows, just the novideo.jpg...any ideas? i am using the pmbt 2.04
i tried full link or just id of the link...nothing!


also found something about it here https://www.phpmybittorrent.com/foru...utube#msg_5433 but still nothing!


All times are GMT +2. The time now is 13:45.

Powered by vBulletin® Version 3.8.11 Beta 3
Copyright ©2000 - 2024, vBulletin Solutions Inc.