![]() |
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:drink: |
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 |
Quote:
|
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' => ''.$lang->upload['seed speed'], This finds else Code:
{ Code:
$sebesseg = $_POST["sebesseg"]; Code:
sql_query ('INSERT INTO torrents (t_image, t_link, Code:
t.sebesseg, t.ido, and find it Code:
Code:
<tr> Code:
ALTER TABLE `torrents` ADD `ido` text CHARACTER SET latin1 COLLATE latin1_general_ci NOT NULL; Code:
'seed speed' =>'Seed speed', |
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 |
2 Attachment(s)
Hi all!
Thx for sharing! How can i insert this code to edit and takeedit.php in v 5.6? Thx for the help! |
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. |
Quote:
Mindegy,már megoldottam,a seedidő és a seedsebesség torrentadatlapi szerkesztési lehetősége volt a cél!;) |
Quote:
Otherwise, you can share if you think, I think many people would be happy for him. :ok: |
:( I also get mysql error
any help ? Mysql puked: Column count doesn't match value count at row 1 |
This is because something can not be sent to mysql mysql takeupload.php look att the input line because something is missing or not correctly placed in the top.
|
Mysql puked: Column count doesn't match value count at row 1 .
something is missing, that's for sure, but what is missing in the database? I do not know :sos: CREATE TABLE IF NOT EXISTS `torrents` ( `id` int(10) unsigned NOT NULL AUTO_INCREMENT, `info_hash` char(20) NOT NULL DEFAULT '', `name` varchar(255) NOT NULL DEFAULT '', `filename` varchar(255) NOT NULL DEFAULT '', `descr` text NOT NULL, `category` int(10) unsigned NOT NULL DEFAULT '0', `size` bigint(20) unsigned NOT NULL DEFAULT '0', `added` datetime NOT NULL DEFAULT '0000-00-00 00:00:00', `numfiles` int(10) unsigned NOT NULL DEFAULT '0', `comments` int(10) unsigned NOT NULL DEFAULT '0', `hits` int(10) unsigned NOT NULL DEFAULT '0', `times_completed` int(10) unsigned NOT NULL DEFAULT '0', `leechers` int(10) unsigned NOT NULL DEFAULT '0', `seeders` int(10) unsigned NOT NULL DEFAULT '0', `last_action` datetime NOT NULL DEFAULT '0000-00-00 00:00:00', `visible` enum('yes','no') NOT NULL DEFAULT 'yes', `banned` enum('yes','no') NOT NULL DEFAULT 'no', `owner` int(10) unsigned NOT NULL DEFAULT '0', `free` enum('yes','no') DEFAULT 'no', `anonymous` enum('yes','no') NOT NULL DEFAULT 'no', `sticky` enum('yes','no') NOT NULL DEFAULT 'no', `offensive` enum('yes','no') NOT NULL DEFAULT 'no', `silver` enum('yes','no') NOT NULL DEFAULT 'no', `t_image` varchar(255) NOT NULL DEFAULT '', `t_link` text NOT NULL, `isnuked` enum('yes','no') NOT NULL DEFAULT 'no', `WhyNuked` varchar(255) NOT NULL DEFAULT 'Bad quality!', `isrequest` enum('yes','no') NOT NULL DEFAULT 'no', `ts_external` enum('yes','no') NOT NULL DEFAULT 'no', `ts_external_url` varchar(128) NOT NULL DEFAULT '', `ts_external_lastupdate` int(10) unsigned NOT NULL DEFAULT '0', `allowcomments` enum('yes','no') NOT NULL DEFAULT 'yes', `doubleupload` enum('yes','no') NOT NULL DEFAULT 'no', `isScene` int(11) unsigned NOT NULL DEFAULT '0', `moderated` enum('yes','error','no') NOT NULL DEFAULT 'no', `moderator` varchar(40) CHARACTER SET latin1 COLLATE latin1_general_ci NOT NULL, `error` varchar(40) CHARACTER SET latin1 COLLATE latin1_general_ci NOT NULL, `genre` varchar(255) NOT NULL DEFAULT 'genre', `Torrent név Eng` varchar(80) DEFAULT NULL, `ido` text CHARACTER SET latin1 COLLATE latin1_general_ci NOT NULL, `sebesseg` text CHARACTER SET latin1 COLLATE latin1_general_ci NOT NULL, PRIMARY KEY (`id`), KEY `info_hash` (`info_hash`), KEY `category` (`category`), KEY `times_completed` (`times_completed`,`leechers`,`seeders`), KEY `visible` (`visible`,`banned`), KEY `t_image` (`t_image`) ) ENGINE=MyISAM DEFAULT CHARSET=utf8 AUTO_INCREMENT=929 ; |
PHP Code:
PHP Code:
PHP Code:
|
1 Attachment(s)
thank you very much for the information, tonight I experimented and check. I greet :friend:
upgraded base, tomorrow they're going to be a script, yesterday did not give advice ... Bump: smoky28 i can't deal with file takeupload.php, i make a mistake somewhere in code. I ask for help to fix this problem, I don't know what I did wrong. :sos: ps. I can't edited preview post, so i write under the next post`sorry |
1 Attachment(s)
Quote:
Hi! Fixed a bug in it for you |
Step 2 is fine, but step 3 = white page :sos:
Bump: done step by step and nothing .. hheeheh, does not work. horror ... heheheee, any idea? |
All times are GMT +2. The time now is 01:19. |
Powered by vBulletin® Version 3.8.11 Beta 3
Copyright ©2000 - 2024, vBulletin Solutions Inc.