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

error

             
[TABLE]
[TR]
[TD]Pays:[/TD]
[TD]                Erreur!: SQLSTATE[28000] [1045] Access denied for user 'username'@'localhost' (using password: YES)[/TD]
[/TR]
[/TABLE]



I added the server info and it still gives the same error

;)
ti-error ...in the account-signup part, an aportof is missing

seache: $user = 'username;

change...$user = 'username';
for spacing on the image for more style add to your css   style = ... margin-top: 5px;
===================================================================
pour un espacement sur l'image pour plus de style ajouter a votre css    style=... margin-top: 5px;

[ATTACH type="full" width="707px" alt="Capture.PNG"]5439[/ATTACH]
THANK YOU  (y)
ballon user TTV3 — 2020-04-09 09:00:57 in v3 Mods Requests
"STorrents2020, post: 68324, member: 20382":

Easy to do, including user details and options (friend, add, message, etc) - with my favorite friend: jQuery. Give me 10 mins tonight I'll squeeze it in.

cool! THANK YOU ;)
ballon user TTV3 — 2020-04-09 00:47:11 in v3 Mods Requests
Hi


...

thanks  :)
"niki, post: 68320, member: 20338":

voici mon code et sa ne fonctionne pas quand on click sur l'image ?? Merci pour votre aide.

here's my code and it doesn't work when you click on the image ?? Thanks for your help.


<?php
require_once("backend/functions.php");
dbconn();
stdhead(T_("SPOTLIGHT"));
begin_frame(T_("THE_GALLERY"));
?>


<h1 itemprop="name">
   <i class="material-icons">star</i> Spotlight
</h1>

   <script type="text/javascript">
       $(document).ready(function() {
           $("#cd-name").keyup(function() {
               var a = $(this).val().trim();
               if ("" != a) {
                   $("#uname_response").show();
                   $.ajax({
                       url: "https://WEBSITE.com/ajax_gallery.php",
                       type: "post",
                       data: {
                           username: a
                       },
                       success: function(a) {
                           $("#uname_response").html(a);
                           $(".comments").hide();
                       }
                   });
               } else $("#uname_response").hide();
               $(".comments").show();
           });
       });
   </script>


   <div style="padding-left:40px">
       <form class="cd-form floating-labels">

           <fieldset>
               <div class="icon">
                   <label class="cd-label" for="cd-name">History (beta)</label>
                   <input class="user" type="text" name="username" autocomplete="off" autocorrect="off" autocapitalize="off" spellcheck="false" id="cd-name" placeholder="Search Spotlight History">
               </div>
           </fieldset>
       </form>
   </div>
       <!-- AJAX Search/Response -->
       <center>
           <div id="uname_response"></div>
       </center>
       <br />
       <br />

       <!-- Spotlight Section -->

       <div class="card-action ng-scope" ng-if="item.comment_count">

       <!-- interactionCount -->
       <span itemprop="interactionCount" class="comments">
   
       <h1 itemprop="name" style="text-align:center;padding-bottom:23px">
           Last 50
       </h1>
           <center>
           <?
           $total_covers = 50;
           $query        = "SELECT id, name, image1, image2 FROM torrents ORDER BY id DESC LIMIT $total_covers";
           $res          = SQL_Query_exec($query);
           while ($arr = @mysqli_fetch_assoc($res)) {
               if (!$arr['image1'])
                   echo "<a title=\"" . $arr['name'] . "\" href=\"torrents-details.php?id=" . $arr['id'] . "/\"><img itemprop=\"image\" class=\"responsive-img\" src=\"" . $site_config['SITEURL'] . "/images/switch_cover_none.png\" alt=\"" . $arr['name'] . "\" style=\"width: 107px; height: 176px; margin-right: 10px\" border=\"0\" /></a>";
               else
                   echo "<a title=\"" . $arr['name'] . "\" href=\"" . $site_config['SITEURL'] . "/details/" . $arr['id'] . "/\"><img itemprop=\"image\" class=\"responsive-img\" src=\"" . $site_config['SITEURL'] . "/uploads/images/" . htmlspecialchars($arr["image1"]) . "\" alt=\"" . $arr['name'] . "\" style=\"width: 107px; height: 176px; margin-right: 10px\" border=\"0\" /></a>";
           }
           if ($CURUSER)
              SQL_Query_exec("UPDATE users SET last_browse=" . gmtime() . " WHERE id=$CURUSER[id]");
           ?>
           </center>
       </span>

       </div>



in both places ..
<a title=\"" . $arr['name'] . "\" href=\"torrents-details.php?id=" . $arr['id'] . "/\">
Hi STorrents2020

first thank you for sharing
I found some small error I share you for the correction:

Search in gallery :

cover1


Replace with:
image1


Search:
margin-right: 10px


Replace with:
margin-right: 10px;margin-top: 10px;


Search:
@mysql_fetch_assoc


Replace with:
@mysqli_fetch_assoc


Search multiple times (gallery.php and ajax_gallery.php):
<?


Replace with:
<?php


Search:
stdhead(T_("SPOTLIGHT"));


Add after:
begin_frame(T_("THE_GALLERY"));


Search:
stdfoot(); 


Add before:
end_frame();


I see no input bar in type = text ?

...when I click on an image it tells me that it cannot find the ID not found
Search 2x:

<a id=\"tips\" title=\"" . $arr['name'] . "\" href=\"" . $site_config['SITEURL'] . "/details/" . $arr['id'] . "/\">


Replace with:
<a title=\"" . $arr['name'] . "\" href=\"torrents-details.php?id=" . $arr['id'] . "/\">


...Thanks (y)


[ATTACH type="full" width="508px" alt="Captu43re.PNG"]5431[/ATTACH]
Mod TMDB — 2020-04-07 22:38:45 in v3 Mods Requests
"ambrosia, post: 68301, member: 20305":

Je veux le mod TMDB, et non pas imdb

ok  je  me suis trompé :)
thanks guys for being cool! (y)

m-jay...
it doesn't work, I have no message on the shoutbox as soon as the "xxx_filter" is engaged

I use this shoutbox there ..
[URL unfurl="true"]https://www.torrenttrader.xyz/index.php?threads/hide-section-3x-ttv3.9837/#post-68294[/url]

=======================================================//

STorrents2020...

I activate on my iniphp error_reporting (E_ALL); but no error link to this problem and the same for erroSQL
Mod TMDB — 2020-04-07 17:36:07 in v3 Mods Requests
Voilà... ;)
"STorrents2020, post: 68291, member: 20382":

I must of been focusing on functions, in order to hide the cat pics. For the message this should be all that is needed.


//Message sur shout nouveau torrent
if ($CURUSER["xxx_filter"]){
   $image = $inames[0];
   $membre = ( $anon == 'yes' || $CURUSER['privacy'] == 'strong' ) ? 'Anonyme' : $CURUSER['username'];
   $insert = sqlesc("
[img]http://".$site_config["SITEURL"]."/images/Torrents/NouveauTorrent.png[/img]\n".$torrent."\r[img1]".$site_config["SITEURL"]."/images/Torrents/3X.png[/img1]\nPartagé ".($anon == 'no' ? "Par " .$CURUSER['username']. "" : "")."

");
}else{
   $insert = sqlesc("
[img]http://".$site_config["SITEURL"]."/images/Torrents/NouveauTorrent.png[/img]\n".$torrent."\r[img1]".$site_config["SITEURL"]."/uploads/images/".$image."[/img1]\nPartagé ".($anon == 'no' ? "Par " .$CURUSER['username']. "" : "")."

");    
   SQL_Query_exec("INSERT INTO ajshoutbox (uid, date, name, text) VALUES(0,NOW(), 'Robot Crazy' ,".$insert."".$wherex.")");
}
// Fin



it no longer shows the message, even if it is not of the 3x categories
"STorrents2020, post: 68288, member: 20382":

First problem: iframe. You should get rid of this and embed the code properly. iFrames are dying, too many cross-origin exploits sending Chrome and others in a frenzy of updates the past 5 years.

Solution: Okay, so you will want to use a url query and pick up on that, and if seen in Url, then hide message in shout box. I just did this last night for something (introduction mod, see comments).

I don't use Shoutbox anymore, but this should do the trick. ** Please post the 3X Url without the TLD (top level domain) ** so I can better help you.

There are two ways to go:
1 ) Detect url query - isset()
2 ) Pass query params back - parse_url()

If you want to hide anything like.. /torrents.php?cat=1 then we use this to find the ID specifically:

if (array_key_exists("id", $_GET)) && trim($_GET["id"]) == 'YOUR-3X-CAT-ID-GOES-HERE' && $CURUSER["xxx_filter" == 'yes') {
   // Hide category
}else{
   // Show category
}

Let me know what that does, I haven't tested.

Next for category covers, this bit will need to be updated - functions.php (line 927 stock):


if (!empty($row["cat_name"])) {
                   print("<a href=\"torrents.php?cat=" . $row["category"] . "\">");
                   if (!empty($row["cat_pic"]) && $row["cat_pic"] != "")
                       print("<img border=\"0\"src=\"" . $site_config['SITEURL'] . "/images/categories/" . $row["cat_pic"] . "\" alt=\"" . $row["cat_name"] . "\" />");
                   else
                       print($row["cat_parent"].": ".$row["cat_name"]);
                   print("</a>");
               } else
                   print("-");
               print("</td>\n");


I'll update bit in functions today, its best I actually test this.


Yes #1  fonctions..
[php]
           case 'category':
               print("<td class='ttable_col$x' align='center' valign='middle'>");
               if (!empty($row["cat_name"])) {
                   print("<a href=\"torrents.php?cat=" . $row["category"] . "\">");
                   if (!empty($row["cat_pic"]) && $row["cat_pic"] != "")
                       print("<img border=\"0\"src=\"" . $site_config['SITEURL'] . "/images/categories/" . $row["cat_pic"] . "\" alt=\"" . $row["cat_name"] . "\" height=\"45\" width=\"150\" style=\"padding: 3px 0px 3px 0px;\"/>");
                   else
                       print($row["cat_parent"].": ".$row["cat_name"]);
                   print("</a>");
               } else
                   print("-");
               print("</td>\n");
           break;
[/php]


for the paretie of sending the message, planted my page fell blank
[php]
   //Message sur shout nouveau torrent
if (array_key_exists("id", $_GET)) && trim($_GET["id"]) == '1,2,3' && $CURUSER["xxx_filter" == 'yes') {
   $image = $inames[0];
   $membre = ( $anon == 'yes' || $CURUSER['privacy'] == 'strong' ) ? 'Anonyme' : $CURUSER['username'];  
   $insert = sqlesc("
[img]http://".$site_config["SITEURL"]."/images/Torrents/NouveauTorrent.png[/img]\n".$torrent."\r[img1]".$site_config["SITEURL"]."/images/Torrents/3X.png[/img1]\nPartagé ".($anon == 'no' ? "Par " .$CURUSER['username']. "" : "")."

");
   }else{  
   $insert = sqlesc("
[img]http://".$site_config["SITEURL"]."/images/Torrents/NouveauTorrent.png[/img]\n".$torrent."\r[img1]".$site_config["SITEURL"]."/uploads/images/".$image."[/img1]\nPartagé ".($anon == 'no' ? "Par " .$CURUSER['username']. "" : "")."

");      
   SQL_Query_exec("INSERT INTO ajshoutbox (uid, date, name, text) VALUES(0,NOW(), 'Robot Crazy' ,".$insert."".$wherex.")");
   }
   // Fin
[/php]
"STorrents2020, post: 68286, member: 20382":

I would to do this for you on my time today, but having trouble understanding the purpose of this modification. Is this a custom category type in a new field? Is this for the purpose of filtering out against other cat results? Then I see about Shoutbox, and I get a bit lost.

Let me know :)

Allo  (y)

this line is on upload and it sends a message to the shoutbox, and it gives this ...
[ATTACH type="full" width="586px"]5423[/ATTACH]

once you have activated on your account not to see any more the categories of torrent 3X (porn) I want who recognizes the ID of the categories not to see the message or that the image of the covers 3x is not visible or to replace by} esle {

The work of all its is not to see the message to the shoutbox if it is 3x
thanks your help friends, ;)

m-jay, I applied your recommendation but I have more messages on the shoutbox, it does not take into account the 3x categories and their ID

torrents-upload...

   //Message sur shout nouveau torrent
   if( $CURUSER['xxx_filter'] == 'yes'){    
   $image = $inames[0];
   $membre = ( $anon == 'yes' || $CURUSER['privacy'] == 'strong' ) ? 'Anonyme' : $CURUSER['username'];    
   $insert = sqlesc("
[img]".$site_config["SITEURL"]."/images/Torrents/NouveauTorrent.png[/img]\n[url=".$site_config['SITEURL']."/torrents-details.php?id=".$id."]".$torrent."[/url]\r[img1]".$site_config["SITEURL"]."/images/Torrents/3X.png[/img1]\nPartagé ".($anon == 'no' ? "Par [url=".$site_config['SITEURL']."/account-details.php?id=".$CURUSER['id']."]" .$CURUSER['username']. "[/url]" : "")."
");
   }else{    
   $insert = sqlesc("
[img]".$site_config["SITEURL"]."/images/Torrents/NouveauTorrent.png[/img]\n[url=".$site_config['SITEURL']."/torrents-details.php?id=".$id."]".$torrent."[/url]\r[img1]".$site_config["SITEURL"]."/uploads/images/".$image."[/img1]\nPartagé ".($anon == 'no' ? "Par [url=".$site_config['SITEURL']."/account-details.php?id=".$CURUSER['id']."]" .$CURUSER['username']. "[/url]" : "")."
");        
   SQL_Query_exec("INSERT INTO ajshoutbox (uid, date, name, text) VALUES(0,NOW(), 'Robot Crazy' ,".$insert."".$wherex.")");
   }
   // Fin    
hello I would like to know if it is possible to hide the 3x category for the message to the shoutbox?


   //Message sur shout nouveau torrent
   if( $CURUSER['xxx_filter'] == 'yes'){
   $ressa = SQL_Query_exec("SELECT * FROM xxx_filter");
   while($datas =  mysqli_fetch_array($ressa)){
   $wherex .= "AND categories.id != '".$datas["cat"]."' ";
       }
   }  
   $image = $inames[0];
   $membre = ( $anon == 'yes' || $CURUSER['privacy'] == 'strong' ) ? 'Anonyme' : $CURUSER['username'];  
   $insert = sqlesc("
[img]".$site_config["SITEURL"]."/images/Torrents/NouveauTorrent.png[/img]\n[url=".$site_config['SITEURL']."/torrents-details.php?id=".$id."]".$torrent."[/url]\r[img1]".$site_config["SITEURL"]."/images/Torrents/3X.png[/img1]\nPartagé ".($anon == 'no' ? "Par [url=".$site_config['SITEURL']."/account-details.php?id=".$CURUSER['id']."]" .$CURUSER['username']. "[/url]" : "")."
");
   }else{  
   $insert = sqlesc("
[img]".$site_config["SITEURL"]."/images/Torrents/NouveauTorrent.png[/img]\n[url=".$site_config['SITEURL']."/torrents-details.php?id=".$id."]".$torrent."[/url]\r[img1]".$site_config["SITEURL"]."/uploads/images/".$image."[/img1]\nPartagé ".($anon == 'no' ? "Par [url=".$site_config['SITEURL']."/account-details.php?id=".$CURUSER['id']."]" .$CURUSER['username']. "[/url]" : "")."
");      
   SQL_Query_exec("INSERT INTO ajshoutbox (uid, date, name, text) VALUES(0,NOW(), 'Robot Crazy' ,".$insert."".$wherex.")");
   // Fin  


...your help would be much appreciated!

Thanks You!
"niki, post: 68276, member: 20338":

it does not work the update remains at 0 when you click on the images would you have an idea to make this module work, thank you in advance

il ne fonctionne pas la mise à jour reste à 0 lorsque vous cliquez sur les images auriez-vous une idée pour faire fonctionner ce module, merci d'avance


when you click on an image like or other there is a message that says that you have already voted for this torrent and the update of the counter remains at 0

lorsque vous cliquez sur une image like ou autres il y a un message qui dit que vous avez déjà voté pour ce torrent et la mise à jour du compteur reste à 0

oui  d'ou  se mode est dans  la sélection "[url='https://www.torrenttrader.xyz/index.php?forums/v3-0-mods-in-progress.102/']Mods in Progress"  ;)[/url]
====================================================
yes or where is mode is in the selection "Mods in Progress"
"niki, post: 68271, member: 20338":

thank you and everything's working fine now :p

cool !, what was your mistake? ¿
Rating: Why half working? — 2020-04-01 15:55:43 in v3 Support
"STorrents2020, post: 68268, member: 20382":

This has been updated with tooltips and fixes for if logged in or not, if anyone wants

yesss, I'm taker please ;)
Rating: Why half working? — 2020-03-30 14:33:44 in v3 Support
allo STorrents2020

You have to bandage to test with this renge there for the non vote?


// Rating
if ($count >= 1){
$rater .= '<span class="stars-rating" style="--rating: ' . $rating_1 . '"></span>Total: ' . $count . ' ' . $tense;
}elseif ($count == 0){
$rater .= '<span class="stars-rating" style="--rating: 0.0"></span>';
}else{
$rater .= '<span class="stars-rating" style="">0.0</span>';
}
//


I haven't tested your code on my test site, but it's an idea lol (y)
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: 10

  • Online

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