Youtube icon in browse.php?How?
How i can put a youbube icon in browse.php to show if there was a link in upload.php ... >>
http://i.imgur.com/lELf0Ks.jpg I use that code if in upload.php check BG Subtitles and in browse.php shows the flag :) but how do i do it for youtube trailer >> PHP Code:
|
Pretty much the same. Just put place where people can enter YouTube link in upload.php and then in file which shows torrenttable (I think in TBDev it was functions_torrenttable.php just like in YSE but not sure) add this:
Or something like that. Haven't used TBDev for a good time so not sure about syntax and stuff but I think you can figure it out. Of course, don't forget to add new row in database otherwise this definitely won't work. In takeupload.php you can add that it make it so if there is something in YouTube link field that it puts "ytube" in databse to "Yes" but otherwise it's "No". Just play with this code and you'll figure it out.:) |
Quote:
|
Quote:
Or even Better... Give me the link to the tbdev source you using.. |
Code:
ALTER TABLE `torrents` ADD `tube` varchar(80) NOT NULL default ''; Code:
$tube = ($row[tube]=="yes" ? " " : ""); @BITTORRENT.PHP FIND Code:
if (sql_timestamp_to_unix_timestamp($row["added"]) >= $last_browse) DO NOT COPY AND PAST THIS PART Code:
print("\" $tube,$description\n"); Code:
$tube, |
?????
|
All times are GMT +2. The time now is 17:28. |
Powered by vBulletin® Version 3.8.11 Beta 3
Copyright ©2000 - 2024, vBulletin Solutions Inc.