View Single Post
  #1  
Old 7th October 2011, 12:39
smoky28's Avatar
smoky28 smoky28 is offline
Senior Member
 
Join Date: Aug 2010
Hungary
Posts: 82
Thumbs up Seed Speed & Seed Time - TSSE 5.6
Add upload.php
search the upload.php 510 line and put it under two lines


PHP Code:
'20'    =>     $lang->upload['seed time'],
        
'21'    =>     $lang->upload['seed speed'], 
'14' => '<input type="checkbox" name="scene" value="yes"'.($_GET['scene'] == 'yes' ? ' checked="checked"' : '').'> '.$lang->upload['scene2'],
put it in the next line

PHP Code:
'21'        =>    '<input type="text" name="sebesseg" id="specialboxg" size="70"><br />'.$lang->upload['seed speed'],
        
'20'        =>    '<input type="text" name="ido" id="specialboxg" size="70"><br />'.$lang->upload['seed time'], 
If this is done open your eztekez

the takeupload.php Search this line

PHP Code:
else
  {
    
$sticky 'no';
  } 
add this code
PHP Code:
$sebesseg $_POST["sebesseg"];



$ido $_POST["ido"]; 
add this detalis.php 49 lines

and this line to change this

561 lines
PHP Code:
$fname "[Site name]".$fname;$ret sql_query ('INSERT INTO  torrents (t_image, t_link, filename, genre, sebesseg, ido, seedbox,  youtube, owner, visible, anonymous, free, silver, sticky, offensive,  info_hash, name, size, numfiles, descr, category, added, ' $q1 .  'last_action' $sql1 ') VALUES (' implode (','array_map  ('sqlesc', array ((!empty ($t_image) ? $t_image : (!empty  ($cover_photo_name) ? $BASEURL '/' $cover_photo_name '')), (!empty  ($t_link) ? $t_link ''), $fname$genre$sebesseg$ido$seedbox,  $youtube$CURUSER['id'], $visible$anonymous$free$silver$sticky,  $offensive$infohash$torrent$totallencount ($filelist), $descr0  $_POST['type']))) . ', \'' get_date_time () . '\', ' $q2 '\'' .  get_date_time () . '\'' $sql2 ')'); 
t.name, After you do it

t.sebesseg, t.ido,
add detalis.php
PHP Code:
<tr>
        <
td style="padding-left: 5px;" class="subheader" valign="top" width="147">'.$lang->details['seed sped'].'</td>
        <
td valign="top" style="padding-left: 5px;">'.$torrent['sebesseg'].'</td>
    </
tr>
    <
tr>
        <
td style="padding-left: 5px;" class="subheader" valign="top" width="147">'.$lang->details['seed time'].'</td>
        <
td valign="top" style="padding-left: 5px;">'.$torrent['ido'].'</td>
    </
tr
execute this SQL code

PHP Code:
ALTER TABLE 'torrents' ADD `sebessegtext NOT NULL,
  
ALTER TABLE 'torrents' ADD `idotext NOT NULL,

ALTER TABLE torrents ADD `sebessegtext character set utf8 NOT NULL ;
ALTER TABLE torrents ADD `idotext character set utf8 NOT NULL 
add upload.lang.php and detalis.lang.php
'seed sped' =>'Seed speed',
'seed time' =>'Seed time',

and the code is ready to go

if something is good write pm or ask here but off Flee
__________________
Sky-Tech Developer Team Hungary


Last edited by smoky28; 12th October 2011 at 21:04.
Reply With Quote
The Following User Says Thank You to smoky28 For This Useful Post:
Marco (28th November 2012)