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
User Posts

Go to Profile

vip access — 2021-10-16 21:30:31 in v3 Support
Now it works fine without any problem thanks a lot for the support M-jay and MicroMonkey   :thumb   :grin
vip access — 2021-10-16 18:05:43 in v3 Support
thanks i just did a test and it doesn't work all torrent categories are for vip members only, member class has no access to torrents  :unsure
vip access — 2021-10-16 16:01:29 in v3 Support
it's the same problem

thank you i just made the modification but when i put the piece of code in the config.php file i have a white page and the site is not accessible anymore and when i put the piece of code alone in the torrents details.php under dbconn(); file all the torrents are for vip ?

:help
vip access — 2021-10-16 15:47:26 in v3 Support
thank you i just made the modification but when i put the piece of code in the config.php file i have a white page and the site is not accessible anymore and when i put the piece of code alone in the torrents details.php file all the torrents are for vip?
vip access — 2021-10-16 15:16:36 in v3 Support
thank you for your help. can you tell me where I should put this piece of code, thank you in advance  :thumb

$mycats = array(22, 28);
if ($CURUSER['class'] <3 && !in_array($mycats, $mycats)) {
     autolink('index.php', 'Error For VIP');
}
vip access — 2021-10-16 11:12:23 in v3 Support
Hello everyone, I'm looking to modify to prohibit access to the details.php of the torrent for the member class for some category id of torrents, thank you for your help  :help

I put this in torrent.details.php but it doesn't work:


///////////////////////////////////////////////////////////////////////////////////////////////
//////////////// PORN VIP
if(($CURUSER["class"]<3) && ($row['category']) == 22){
show_error_msg("Error","you can't see the description of this torrent, it is for vip members.",1);
}
///////////////////////////////////////////////////////////////////////////////////////////////
//////////////// END PORN VIP

///////////////////////////////////////////////////////////////////////////////////////////////
//////////////// PORN VIP
if(($CURUSER["class"]<3) && ($row['category']) == 28){
show_error_msg("Error","you can't see the description of this torrent, it is for vip members.",1);
}
///////////////////////////////////////////////////////////////////////////////////////////////
//////////////// END PORN VIP



$res = SQL_Query_exec("SELECT filename, vip FROM torrents WHERE id = $id");
$arr = mysqli_fetch_assoc($res);
$name = $arr['filename'];
$vip = $arr['vip'];

if ($vip == "yes" && $CURUSER["class"]<3 ){
   show_error_msg("Error","<font color='#ff0000'><b>::: Ce Torrent est pour les membres VIP !!! :::</b></font>",1);
}


thank you works well now and can you tell me if it is possible to be redirected at the bottom of the page in the details of the torrent on the function and the comment box when you click on return to the torrent  :help


can be modify this part of the code but I don't see how ??

<a href=torrents-details.php?id=$id>





$fn = "$torrent_dir/$id.torrent";


$commented = get_row_count("comments", "WHERE torrent = $id AND user = $CURUSER[id]");

if ($commented == 0
&& $CURUSER["id"] != $row["owner"] && $CURUSER["class"] < 7) {  
show_error_msg("Error", "::: You must add a comment before download</b>

<br /><br /><a href=torrents-details.php?id=$id>-- Click here to return to your Torrent page. --</a><br /><br />",1);

}
thanks M-jay like this with the code below it works fine now



$fn = "$torrent_dir/$id.torrent";


$commented = get_row_count("comments", "WHERE torrent = $id AND user = $CURUSER[id]");

if ($commented == 0
&& $CURUSER["id"] != $row["owner"] && $CURUSER["class"] < 7) {  
show_error_msg("Error", "::: You must add a comment before download</b>

<br /><br /><a href=torrents-details.php?id=$id>-- Click here to return to your Torrent page. --</a><br /><br />",1);

}
thank you M-jay i did like this and it doesn't work



$fn = "$torrent_dir/$id.torrent";


$commented = get_row_count("comments", "WHERE torrent = $id AND user = $CURUSER[id]");

if ($commented == 0
&& $CURUSER["id"] != $row["owner"] && $CURUSER["class"] < 7) {

if ($commented == 0) {      // or try if (!$commented ) {  
show_error_msg("Error", "::: You must add a comment before download</b>

<br /><br /><a href=torrents-details.php?id=$id>-- Click here to return to your Torrent page. --</a><br /><br />",1);

}

thank you for your help and can you tell me how to allow the administrator and uploader to upload without posting a comment, I added owner in the code as below and it does not work the uploader and administrator are required to respond to his upload to download  :help


$res = SQL_Query_exec("SELECT filename, banned, external, announce, thanks, owner,  category FROM torrents WHERE id =".intval($id));


thank you M-jay,  works well now and I have modified the code with a message for the return to the torrent and can you tell me how to modify the code below for a return to the torrent at the bottom of the page directly on the box to add a comment


$commented = get_row_count("comments", "WHERE torrent = $id AND user = $CURUSER[id]");
if ($commented == 0) {      // or try if (!$commented ) {  
show_error_msg("Error", "::: You must add a comment before download</b>

<br /><br /><a href=torrents-details.php?id=$id>-- Click here to return to your Torrent page. --</a><br /><br />",1);

}

Hello, I just tested the hack function "forced comment to download" of V2 and it does not work for V3, can you help me to make it work for v3 thank you in advance

url  hack  v2 >>>  https://torrenttrader.uk/topic?topicid=3209


I made the modification below and it doesn't work, when we made a comment on the torrent we can't download it..


open download.php

find :

$fn = "$torrent_dir/$id.torrent";



add after:

$com = mysqli_query("SELECT id FROM comments WHERE torrent =".intval($id)." and user ='" . $CURUSER["id"] ."'");

$verif_com = mysqli_num_rows($com);



find :

$name = $row['filename'];



add before:

if ($verif_com < 1 && $CURUSER["id"] != $row["owner"] && $row["owner"] != 0)

 show_error_msg("Error", "You must add a comment before download.",1);






groups — 2021-10-04 14:06:20 in v3 Support
thank you M-jay  works well
groups — 2021-09-30 15:43:55 in v3 Support
Hello, what I want to explain to you is that when you add a new group and you change the account of a member and you want to change his group status with the new group you created it is not possible because the new group is not visible, I created the premium member group and it is not visible in the groups below, the new premium member group created in the function "User Groups View" in admin cp is well visible in admin cp but not in the menu to change group to a member in account-details.php ?

Member
Power user
VIP
Uploader
Moderator
super moderator
Administrator
groups — 2021-09-28 15:33:01 in v3 Support
hello everyone, i have created a new group "vip premium" in admin cp
and it is not visible in the list of user groups on the site, can you tell me how to make it visible in the dropdown menu on the site, thank you in advance for your help.  :unsure
requète sql — 2021-08-31 18:35:34 in v3 Support
Hello and thank you for your help M-jay it works fine now  :thumb  :bigsmile
requète sql — 2021-08-29 11:50:38 in v3 Support
Hello to all the team, I am looking to modify this piece of code in the file mybonus.php so that when a member changes points to get a vip account, and I would like the upgrade of the ratio in download is reset to 0 on his account at the same time as his vip account when we click on update.

thank you in advance for your help


 case 'VIP':
               $days = $row->value;
               $vipuntil = ( $CURUSER["vipuntil"] > "0000-00-00 00:00:00" ) ? $vipuntil = get_date_time( strtotime( $CURUSER["vipuntil"] ) + ( $days*86400 ) ) : $vipuntil = get_date_time( gmtime() + ( $days*86400 ) );
               $oldclass = ( $CURUSER["vipuntil"] > "0000-00-00 00:00:00" ) ? $oldclass = $CURUSER["oldclass"] : $oldclass = $CURUSER["class"];
               SQL_Query_exec("UPDATE `users` SET `class` = '3', `oldclass`='$oldclass', `vipuntil` = '$vipuntil' WHERE `id` = '$CURUSER[id]'");
               break;  
}




I tried to add this piece of code below but it doesn't work

SQL_Query_exec("UPDATE `users` SET `class` = '3' WHERE `downloaded` = `0`;

Hello MicroMonkey and to all the team for your answer, so we will see if m-jay has an idea to configure this function  :bigsmile
Hi, can you look into making the change to enable or disable registration by invitation in the admin-cp panel?

thanks for your help

Here is the code of the conf.php file of the registration by invitation.

$site_config['INVITEONLY'] = false;			//Only allow signups via invite
$site_config['ENABLEINVITES'] = true; // Enable invites regardless of INVITEONLY setting



registration in the staff — 2021-08-18 16:27:33 in v3 Support
Hello everyone, I'm looking for the modification to add a function in the staff cp to activate and deactivate the registration per invitation in the staff cp :sleep

thank you in advance for your 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: 1
  • Members: 0
  • Guests online: 1
  • Comments: 3
  • Messages: 1,728