|
#11
|
||||
|
||||
torrent-edit
Hi to all, here comes torrent-edit.php, torrents-upload.php and function.php
Version: 2.5 PHP: 5.6.4 Apache: 2.4.39 MariaDB: 10.2.36 torrent-edit.php
Code:
<?php if ($CURUSER["edit_torrents"] == "yes") $updateset[] = "freeleech = '".$_POST["freeleech"]."'"; //webseed if ($CURUSER["edit_torrents"] == "yes") $updateset[] = "webseed = '".$_POST["webseed"]."'"; //webseed stdfoot(); ?> Last edited by Botanicar; 11th February 2021 at 20:13. |
#12
|
||||
|
||||
fined
Code:
$updateset[] = "freeleech = '".$_POST["freeleech"]."'"; Code:
$updateset[] = "freeleech = " . ($_POST["freeleech"] ? '1' : '0'); Code:
$updateset[] = "webseed = '".$_POST["webseed"]."'"; Code:
$updateset[] = "webseed = " . ($_POST["webseed"] ? '1' : '0');
__________________
Do not ask me to help you work on your site that is not phpMyBitTorrent Do not ask me to make a mod for any other source Do not Ask me to setup your site. I will no longer help you setup your site, there is a setup script if you have trouble with it post in the forum here or in BT.Manager™ forum My Current Demo is here http://demo.btmanager.org/ |
The Following User Says Thank You to joeroberts For This Useful Post: | ||
Botanicar (11th February 2021)
|
#13
|
||||
|
||||
Thanks Joe and other guys
Have fixed that on my own way, don't ask how and whay but it works right now Code:
$updateset[] = "freeleech = '" . ($_POST["freeleech"] ? "1" : "0") . "'"; Code:
$updateset[] = "webseed = '" . ($_POST["webseed"] ? "1" : "0") . "'"; |
#14
|
||||
|
||||
just for a future reference to whomever may read this. My torrents-upload.php has this
Quote:
Quote:
__________________
More torrenttrader stuff at https://torrenttrader.uk |
#15
|
||||
|
||||
Quote:
So that makes your post not needed or helpful in any way!
__________________
Do not ask me to help you work on your site that is not phpMyBitTorrent Do not ask me to make a mod for any other source Do not Ask me to setup your site. I will no longer help you setup your site, there is a setup script if you have trouble with it post in the forum here or in BT.Manager™ forum My Current Demo is here http://demo.btmanager.org/ |
#16
|
||||
|
||||
Ok then Mr happy. Just posted some code that I thought could be useful. Sorry for that. I wont do it again. geez this place is volatile
__________________
More torrenttrader stuff at https://torrenttrader.uk |
#17
|
||||
|
||||
Your Post seems like your trying to make hem Look like he don't know what he is doing or posting the wrong code because your file dose not have the same code as what his has with out stating the fact that you are using a different or maybe a newer version then what he is using. What your post may have said was that maybe this was repaired in a later version and that he may want to look into upgrading.
__________________
Do not ask me to help you work on your site that is not phpMyBitTorrent Do not ask me to make a mod for any other source Do not Ask me to setup your site. I will no longer help you setup your site, there is a setup script if you have trouble with it post in the forum here or in BT.Manager™ forum My Current Demo is here http://demo.btmanager.org/ |
The Following User Says Thank You to joeroberts For This Useful Post: | ||
papad (24th March 2021)
|
#18
|
||||
|
||||
ok, fair enough, but I can promise you I wasnt trying to make him look bad. Why would I do that? I was just thinking I was helping, but I guess Its not perceived that way sadly. I have done a slew of editing over the years on this script, so apparently the intval was put there by me some time ago, so its not a different version, it was apparently a problem that I must have found some time ago and was just passing some info along. But no worries, all is well :)
__________________
More torrenttrader stuff at https://torrenttrader.uk |
The Following User Says Thank You to MicroMonkey For This Useful Post: | ||
papad (24th March 2021)
|
#19
|
||||
|
||||
OK guys think I have to get involved in this discussion a little bit, thanks to you both, you are both right in your statement, it is true that I myself use a "modified" version of TT and it does not differ much of the original version with some things I have modified myself for my own needs.
Sometimes it is the case that some posts help and sometimes it is not in life as well. I have tested both scripts you are involved in and think you do an extremely strong job in this area and really appreciate it I have chosen one of them and think it works according to my needs Wish you all the best in further script development |
#20
|
|||
|
|||
hey guys , can anyone send me the latest torrent trader source , let me see what i can do in it.
Bump: is there a version that will support php 7.4 ? |
|
|