|
#1
|
||||
|
||||
Seed Speed & Seed Time - TSSE 5.6
Add upload.php
search the upload.php 510 line and put it under two lines PHP Code:
put it in the next line PHP Code:
the takeupload.php Search this line PHP Code:
PHP Code:
and this line to change this 561 lines PHP Code:
t.sebesseg, t.ido, add detalis.php PHP Code:
PHP Code:
'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. |
The Following User Says Thank You to smoky28 For This Useful Post: | ||
Marco (28th November 2012)
|
#2
|
|||
|
|||
re
Hi
add these two lines are the details into lang.php 'seed speed' =>'Seed speed', 'seed time' =>'Seed time', and there is more than a mysql problem, at least for me, but I solved it I was so good ALTER TABLE `torrents` ADD `ido` text CHARACTER SET latin1 COLLATE latin1_general_ci NOT NULL; ALTER TABLE `torrents` ADD `sebesseg` text CHARACTER SET latin1 COLLATE latin1_general_ci NOT NULL; otherwise perfect mod thanks to the well was Last edited by Omenke; 8th October 2011 at 16:50. |
#3
|
||||
|
||||
|
#4
|
|||
|
|||
Re
upload.php file to open it, and then locate the following line
PHP Code:
The number may vary. PHP Code:
PHP Code:
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'], This finds else Code:
{ $sticky = 'no'; } Code:
$sebesseg = $_POST["sebesseg"]; $ido = $_POST["ido"]; Code:
sql_query ('INSERT INTO torrents (t_image, t_link, Code:
t.sebesseg, t.ido, and find it Code:
<td colspan="3" class="thead">'.$isfree.$issilver.$isdoubleupload.' '.htmlspecialchars_uni($torrent['name']).'</td> 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> Code:
ALTER TABLE `torrents` ADD `ido` text CHARACTER SET latin1 COLLATE latin1_general_ci NOT NULL; ALTER TABLE `torrents` ADD `sebesseg` text CHARACTER SET latin1 COLLATE latin1_general_ci NOT NULL; Code:
'seed speed' =>'Seed speed', 'seed time' =>'Seed time', Last edited by Omenke; 13th October 2011 at 19:30. |
The Following 2 Users Say Thank You to Omenke For This Useful Post: | ||
Marco (13th October 2011),
mmisu120000 (13th October 2011)
|
#5
|
|||
|
|||
i think i have added as you both explain.
fields are there. f.e. i have added fpr speed 200 and for time 12-18. then i get an error when i try to upload: Mysql puked: Column count doesn't match value count at row 1 may be some1 has an idea whats wrong. gr. eckeO5 |
#6
|
|||
|
|||
Hi all!
Thx for sharing! How can i insert this code to edit and takeedit.php in v 5.6? Thx for the help! |
#7
|
|||
|
|||
Quote:
Hi! Above it is described in detail, what to be and what to do. Se in the edit and not edit the take is not to be edited. Szia! Fentebb le van írva részletesen, hogy mit hova kell és mit kell csinálni. Se az edit és se a takeedit et nem kell szerkeszteni. |
The Following User Says Thank You to Omenke For This Useful Post: | ||
Marco (28th June 2012)
|
#8
|
|||
|
|||
Quote:
Mindegy,már megoldottam,a seedidő és a seedsebesség torrentadatlapi szerkesztési lehetősége volt a cél!;) Last edited by trance4life; 29th December 2011 at 08:39. |
#9
|
|||
|
|||
Quote:
Otherwise, you can share if you think, I think many people would be happy for him. |
#10
|
||||
|
||||
:( I also get mysql error
any help ? Mysql puked: Column count doesn't match value count at row 1 |
Tags |
56 , mod , seed , speed , time , tsse |
Thread Tools | |
|
|