Bravo List

Bravo List (http://www.bvlist.com/index.php)
-   Project U-232 (http://www.bvlist.com/forumdisplay.php?f=80)
-   -   U-232 V2 YouTube in details (http://www.bvlist.com/showthread.php?t=10152)

\n";

upload.php find
Code:

  1. <tr>

  2.       <td class='heading' valign='top' align='right'>{$lang['upload_description']}td>

  3.       <td valign='top' align='left'><textarea name='descr' rows='10' cols='80'>textarea>

  4.       <br />({$lang['upload_html_bbcode']})td>

  5.     tr>


under add:
Code:

  1. <tr>

  2.       <td class='heading' valign='top' align='right'>{$lang['upload_tube']}td>

  3.       <td valign='top' align='left'><input type='tube' name='tube' size='80'>

  4.       <br />({$lang['upload_tube_notice']})td>

  5.     tr>


takeupload.php find:
Code:

  1. $descr = unesc($_POST["descr"]);


under add:
Code:

  1. $tube = unesc($_POST["tube"]);


find big query:
Code:

  1. $ret = mysql_query("INSERT INTO torrents...


after
Code:

visible
add:
Code:

tube
after
Code:

  1. $CURUSER["id"], "no"


add:
Code:

$tube
lang_details.php add:
Code:

  1. 'details_tube' => "Youtube trailer.",


lang_upload.php add:
Code:

  1. 'upload_tube' => "Youtube link.",

  2. 'upload_tube_notice' => "For  Samples  Should be in the format of http://www.youtube.com/watch?v=TYxbGgeeVmI",


open edit.php add
Code:

  1. $HTMLOUT .= tr($lang['edit_tube'], "({$lang['edit_tube_notice']})", 1);


lang_edit.php add
Code:

  1. 'edit_tube' => "Youtube link.",

  2. 'edit_tube_notice' => "For Samples Should be in the format of http://www.youtube.com/watch?v=TYxbGgeeVmI",


open file takeedit.php and add
Code:

  1. $tube = $_POST["tube"];

  2. $updateset[] = "tube = " . sqlesc($tube);


Enjoy! :drink:
nicukent 10th December 2014 19:54

U-232 V2 YouTube in details
 
sql:
Code:

  1. ALTER TABLE `torrents` ADD `tube` varchar(80) NOT NULL default '';


details.php find big query:
Code:

  1. $res = mysql_query("SELECT torrents.seeders...


add:
Code:

torrents.tube
find:
Code:

  1. $HTMLOUT .= tr("{$lang['details_visible']}", "{$lang['details_no']}{$lang['details_dead']}", 1);


under add:
Code:

  1. if (!empty($row["tube"]))

  2.                 $HTMLOUT .= "
{$lang['details_tube']}\"application/x-shockwave-flash\" width=\"500\" height=\"410\">

DND 10th December 2014 20:42

and why do ya copy mods from there and post them here ? no credits, no nothing.. reason ?
i think people can go over there to read them :)

firefly007 14th December 2014 00:02

Quote:

Originally Posted by DND (Post 45740)
and why do ya copy mods from there and post them here ? no credits, no nothing.. reason ?
i think people can go over there to read them :)

I agree About crediting the coder but I see no problem in posting it here, to be honest!!


All times are GMT +2. The time now is 03:37.

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