Login
Username: Password:
Remember me

[Sign Up] / [Recover Password]

Theme / Language

Popular
New Torrents
new name
Size: 18.40 MB
Most active
new name
S: 74 L: 3
New Posters
Download for guests
Controls ·  Search New posts · Mark unread

You are in: Forum / Forum / Torrent Trader / v3 Support

2025-03-27 17:01:45
Hello to all of you, ...

The tracker is in deprivating mode and the torrents with Passkey and I am trying to modify the tracker's file (s) to be able to put it in public mode so that guests are not registered on the tracker can still download the torrents and I cannot find the solution and the files to modify to give access to download to the members who are not registered  😕

Thank you in advance for your help
2025-03-28 09:22:07
Hi Niki,
try to remove that part of code in torrent-datails.php and download.php
 loggedinonly(); 
...
check in config.php if this line is so...
 $site_config['MEMBERSONLY'] = false; 


Regards


www.exyusubs.com
TorrentTrader V3.8.3 (SE)
OS: AlmaLinux 9.9 (BC)
Apache version: 2.4.71
PHP version: 8.5.13 (PHP-FPM)
MySQL version: 10.11.18-MariaDB
2025-03-28 09:25:37
... and second one question to you:
Can you send us a structure for groups table from your SQL...

PS
My is so:


--
-- Table structure for table `groups`
--

CREATE TABLE `groups` (
 `group_id` int(10) NOT NULL,
 `level` varchar(50) NOT NULL DEFAULT '',
 `Color` varchar(7) NOT NULL DEFAULT '#856A00',
 `view_torrents` enum('yes','no') NOT NULL DEFAULT 'yes',
 `edit_torrents` enum('yes','no') NOT NULL DEFAULT 'no',
 `delete_torrents` enum('yes','no') NOT NULL DEFAULT 'no',
 `view_users` enum('yes','no') NOT NULL DEFAULT 'yes',
 `edit_users` enum('yes','no') NOT NULL DEFAULT 'no',
 `delete_users` enum('yes','no') NOT NULL DEFAULT 'no',
 `view_news` enum('yes','no') NOT NULL DEFAULT 'yes',
 `edit_news` enum('yes','no') NOT NULL DEFAULT 'no',
 `delete_news` enum('yes','no') NOT NULL DEFAULT 'no',
 `can_upload` enum('yes','no') NOT NULL DEFAULT 'no',
 `can_download` enum('yes','no') NOT NULL DEFAULT 'yes',
 `view_forum` enum('yes','no') NOT NULL DEFAULT 'yes',
 `edit_forum` enum('yes','no') NOT NULL DEFAULT 'yes',
 `delete_forum` enum('yes','no') NOT NULL DEFAULT 'no',
 `control_panel` enum('yes','no') NOT NULL DEFAULT 'no',
 `staff_page` enum('yes','no') NOT NULL DEFAULT 'no',
 `staff_public` enum('yes','no') NOT NULL DEFAULT 'no',
 `staff_sort` tinyint(3) UNSIGNED NOT NULL DEFAULT 0,
 `can_pp` enum('yes','no') NOT NULL DEFAULT 'no',
 `can_fp` enum('yes','no') NOT NULL DEFAULT 'yes'
) ENGINE=MyISAM DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;



www.exyusubs.com
TorrentTrader V3.8.3 (SE)
OS: AlmaLinux 9.9 (BC)
Apache version: 2.4.71
PHP version: 8.5.13 (PHP-FPM)
MySQL version: 10.11.18-MariaDB
2025-03-28 19:31:20
Thank you Botanicar and I just reinforced work and I look to make the modification this weekend  😊
2025-03-30 19:43:14
Hello Botanicar and when I change this

$site_config['MEMBERSONLY'] = false;

Members are no longer the passkey and impossible to download and the guests do not know how to download there is this error message

Database Error. Please report this to an administrator.



The error message in Admin-CP SQL Error is:

Database Error in backend/functions.php on line 1267: You have an error in your SQL syntax; check the manual that corresponds to your MariaDB server version for the right syntax to use near '' at line 1. Query was: SELECT COUNT(*) FROM comments WHERE torrent = 30191 AND user = .



TRACKER URL to give you a test to download as a guest

https://www.tigers-dl.net







--
-- Structure de la table `groups`
--

CREATE TABLE `groups` (
 `group_id` int(10) NOT NULL,
 `level` varchar(50) NOT NULL DEFAULT '',
 `Color` varchar(7) NOT NULL DEFAULT '#856A00',
 `view_torrents` enum('yes','no') NOT NULL DEFAULT 'yes',
 `edit_torrents` enum('yes','no') NOT NULL DEFAULT 'no',
 `delete_torrents` enum('yes','no') NOT NULL DEFAULT 'no',
 `view_users` enum('yes','no') NOT NULL DEFAULT 'yes',
 `edit_users` enum('yes','no') NOT NULL DEFAULT 'no',
 `delete_users` enum('yes','no') NOT NULL DEFAULT 'no',
 `view_news` enum('yes','no') NOT NULL DEFAULT 'yes',
 `edit_news` enum('yes','no') NOT NULL DEFAULT 'no',
 `delete_news` enum('yes','no') NOT NULL DEFAULT 'no',
 `can_upload` enum('yes','no') NOT NULL DEFAULT 'no',
 `can_download` enum('yes','no') NOT NULL DEFAULT 'yes',
 `view_forum` enum('yes','no') NOT NULL DEFAULT 'yes',
 `edit_forum` enum('yes','no') NOT NULL DEFAULT 'yes',
 `delete_forum` enum('yes','no') NOT NULL DEFAULT 'no',
 `control_panel` enum('yes','no') NOT NULL DEFAULT 'no',
 `staff_page` enum('yes','no') NOT NULL DEFAULT 'no',
 `staff_public` enum('yes','no') NOT NULL DEFAULT 'no',
 `staff_sort` tinyint(3) UNSIGNED NOT NULL DEFAULT 0
) ENGINE=MyISAM DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci;

Last edited by niki on 2025-03-30 19:49:31
2025-03-31 17:05:13
check in groups (admin panel or phpmyadmin) that guset "can download" YES is checked....


www.exyusubs.com
TorrentTrader V3.8.3 (SE)
OS: AlmaLinux 9.9 (BC)
Apache version: 2.4.71
PHP version: 8.5.13 (PHP-FPM)
MySQL version: 10.11.18-MariaDB
Last edited by Botanicar on 2025-03-31 17:06:57
2025-03-31 18:22:49
I have created an invited account in the group as below and always the same the guests do not know how to download, when I click on Download as guest I have this error message, ..

Database Error. Please report this to an administrator.


And in the SQL Admin Error panels the error message is this:

Database Error in backend/functions.php on line 1267: You have an error in your SQL syntax; check the manual that corresponds to your MariaDB server version for the right syntax to use near '' at line 1. Query was: SELECT COUNT(*) FROM comments WHERE torrent = 30278 AND user = .




and on line 1267 of the Function.Php file there is this part of the code:

Here line 1267  >>>>  function get_row_count($table, $suffix = "") {

   $res = SQL_Query_exec("SELECT COUNT(*) FROM $table $suffix");

   $row = mysqli_fetch_row($res);

   return $row[0];

}


--
-- Structure de la table `groups`
--

CREATE TABLE `groups` (
 `group_id` int(10) NOT NULL,
 `level` varchar(50) NOT NULL DEFAULT '',
 `Color` varchar(7) NOT NULL DEFAULT '#856A00',
 `view_torrents` enum('yes','no') NOT NULL DEFAULT 'yes',
 `edit_torrents` enum('yes','no') NOT NULL DEFAULT 'no',
 `delete_torrents` enum('yes','no') NOT NULL DEFAULT 'no',
 `view_users` enum('yes','no') NOT NULL DEFAULT 'yes',
 `edit_users` enum('yes','no') NOT NULL DEFAULT 'no',
 `delete_users` enum('yes','no') NOT NULL DEFAULT 'no',
 `view_news` enum('yes','no') NOT NULL DEFAULT 'yes',
 `edit_news` enum('yes','no') NOT NULL DEFAULT 'no',
 `delete_news` enum('yes','no') NOT NULL DEFAULT 'no',
 `can_upload` enum('yes','no') NOT NULL DEFAULT 'no',
 `can_download` enum('yes','no') NOT NULL DEFAULT 'yes',
 `view_forum` enum('yes','no') NOT NULL DEFAULT 'yes',
 `edit_forum` enum('yes','no') NOT NULL DEFAULT 'yes',
 `delete_forum` enum('yes','no') NOT NULL DEFAULT 'no',
 `control_panel` enum('yes','no') NOT NULL DEFAULT 'no',
 `staff_page` enum('yes','no') NOT NULL DEFAULT 'no',
 `staff_public` enum('yes','no') NOT NULL DEFAULT 'no',
 `staff_sort` tinyint(3) UNSIGNED NOT NULL DEFAULT 0
) ENGINE=MyISAM DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci;

--
-- Déchargement des données de la table `groups`
--

INSERT INTO `groups` (`group_id`, `level`, `Color`, `view_torrents`, `edit_torrents`, `delete_torrents`, `view_users`, `edit_users`, `delete_users`, `view_news`, `edit_news`, `delete_news`, `can_upload`, `can_download`, `view_forum`, `edit_forum`, `delete_forum`, `control_panel`, `staff_page`, `staff_public`, `staff_sort`) VALUES
(1, 'Membres', '#868F95', 'yes', 'no', 'no', 'yes', 'no', 'no', 'yes', 'no', 'no', 'yes', 'yes', 'yes', 'no', 'no', 'no', 'no', 'no', 7),
(2, 'Premium', '#D358F7', 'yes', 'no', 'no', 'yes', 'no', 'no', 'yes', 'no', 'no', 'yes', 'yes', 'yes', 'no', 'no', 'no', 'no', 'no', 6),
(3, 'VIP', '#188CD9', 'yes', 'no', 'no', 'yes', 'no', 'no', 'yes', 'no', 'no', 'yes', 'yes', 'yes', 'no', 'no', 'no', 'no', 'no', 5),
(4, 'Uploader', '#00C000', 'yes', 'no', 'no', 'yes', 'no', 'no', 'yes', 'no', 'no', 'yes', 'yes', 'yes', 'no', 'no', 'no', 'yes', 'no', 4),
(5, 'Moderator', '#007F00', 'yes', 'yes', 'no', 'yes', 'yes', 'no', 'yes', 'yes', 'no', 'yes', 'yes', 'yes', 'yes', 'no', 'no', 'yes', 'yes', 3),
(6, 'super moderator', '#00ABA6', 'yes', 'no', 'no', 'yes', 'no', 'no', 'yes', 'no', 'no', 'yes', 'yes', 'yes', 'no', 'no', 'no', 'no', 'no', 2),
(7, 'Administrator', '#FF5E00', 'yes', 'yes', 'yes', 'yes', 'yes', 'yes', 'yes', 'yes', 'yes', 'yes', 'yes', 'yes', 'yes', 'yes', 'yes', 'yes', 'no', 1),
(0, 'guests', '#856A00', 'yes', 'no', 'no', 'no', 'no', 'no', 'yes', 'no', 'no', 'no', 'yes', 'yes', 'no', 'no', 'no', 'no', 'no', 0);

--
-- Index pour les tables déchargées
--

--
-- Index pour la table `groups`
--
ALTER TABLE `groups`
 ADD UNIQUE KEY `base` (`group_id`);

--
-- AUTO_INCREMENT pour les tables déchargées
--

--
-- AUTO_INCREMENT pour la table `groups`
--
ALTER TABLE `groups`
 MODIFY `group_id` int(10) NOT NULL AUTO_INCREMENT, AUTO_INCREMENT=17;
COMMIT;

/*!40101 SET CHARACTER_SET_CLIENT=@OLD_CHARACTER_SET_CLIENT */;
/*!40101 SET CHARACTER_SET_RESULTS=@OLD_CHARACTER_SET_RESULTS */;
/*!40101 SET COLLATION_CONNECTION=@OLD_COLLATION_CONNECTION */;

2025-03-31 18:56:27
I've just done a test and when I replace my download.php with the Torrent Trader V3 one, the Torrent file downloads when you click on Download as a guest, but the torrent no longer downloads because the Torrent Passkey has disappeared in Utorrent when you set this part of the code in conf.php to false.

$ site_config ['Membersonly'] = false ;

Do you have any idea how unregistered members can download torrents with Passkey so that the torrent starts in Utorrent?
Last edited by niki on 2025-03-31 19:06:31
2025-03-31 23:52:25
Sorry mate but I don't think we can fix it the way you wanted it.

I think (but I'm not as knowledgeable as the owner of this script) that the actual structure of the code is that it will be a private tracker and everything is based on a passkey that is tied to each registered individual...


As I said I may have the wrong assessment


www.exyusubs.com
TorrentTrader V3.8.3 (SE)
OS: AlmaLinux 9.9 (BC)
Apache version: 2.4.71
PHP version: 8.5.13 (PHP-FPM)
MySQL version: 10.11.18-MariaDB
2025-04-01 16:16:23
Ok and thank you for the Botanicar info so I leave it like that since the guests do not know how to download the torrent with the Passkey  😊 Thank you anyway for the help  👍
Users online

No users online

Search



Statistics

    Torrents

  • Tracking: 3
  • Todays torrents: 0
  • Seeders: 0
  • Leechers: 0
  • Peers: 0
  • Downloaded: 89.96 GB
  • Uploaded: 9.86 GB

  • Members

  • We have: 838
  • New today: 0
  • Guest today: 9

  • Online

  • Total online: 2
  • Members: 0
  • Guests online: 2
  • Comments: 3
  • Messages: 1,728