Bravo List
Register
Go Back   > Bravo List > Source Code > Archived Trackers > TBDev
Reply
  #1  
Old 8th December 2019, 17:46
Elena's Avatar
Elena Elena is online now
Senior Member
 
Join Date: Sep 2010
Korea South
Posts: 40
Thumbs up Related Releases
This mod displays 100% match for the names in the torrent (release / distribution).
To display everything correctly, use the following spelling rule:
Quote:
Star Wars: Episode VIII - The Last Jedi (2017) 720p WEB-DL
That is, it should be like this:
English name (year of release) video quality

For series, it should be like this (example):
Quote:
The Marvelous Mrs. Maisel [S01] (2017) 720p WEB-DL
That is, it should be like this:
English name [season] (year of release) video quality

The mod searches for all matches to the closed bracket of the year of release, taking into account the year itself, so you can not write the names of distributions like this:
The Amazing Mrs. Maisel (The Marvelous Mrs. Maisel) S01 (2017) 720p WEB-DL

Otherwise, there will be a search for the English, excluding the year (my version on utf8 shows similarities even with the Asian alphabet - hieroglyphs, etc.) as a result, you can see in the Star Wars release, a thuja heap of films of different years, and not one and the same same year. : haha: This is a Bluebird sore, they have not been repaired there.
Paste in the detail or brows, think for yourself where it will be more convenient for you, here is this code.
PHP Code:
$name str_replace("'""%"$row["name"]);
$exp ")"#what sign to divide the name
$explName explode($exp$name);
$sqls mysql_query("SELECT name, id FROM torrents WHERE name LIKE '".$explName[0]."%' AND id <>'".$row["id"]."' LIMIT 10");
   
$num_p=0;
    
$ono="";       
    while(
$t mysql_fetch_array($sqls)) {   
    if (!empty(
$ono))
    
$ono.="";         
    
$ono.="<a href=\"details.php?id=".$t['id']."\" alt=\"".$t['name']."\"><b><font color=#006699>".htmlspecialchars_uni($t['name'])."</font></b></a><hr>";
++
$num_p;
}
 if (
$num_p>0){
print (
"<hr><font size=2 color=#999966><u><b>All similar releases on our website:</b></u></font><br><br>");
print (
$ono);
print (
"<br>"); }else{
print (
"<hr><br>"); } 
Reply With Quote
Reply

Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump



All times are GMT +2. The time now is 20:58. vBulletin skin by ForumMonkeys. Powered by vBulletin® Version 3.8.11 Beta 3
Copyright ©2000 - 2020, vBulletin Solutions Inc.