Bravo List
Register
Go Back   > Bravo List > Source Code > Archived Trackers > TBDev
Reply
  #1  
Old 17th January 2021, 15:46
alexdinu05 alexdinu05 is offline
Member
 
Join Date: Oct 2011
P2P
Posts: 9
Default Recommendation torrents
Hello guys I also need a script for recommended torrents, to be displayed on the details page, something similar to the one in the picture below thanks




Click the image to open in full size.
Reply With Quote
  #2  
Old 19th February 2021, 17:36
lukan87 lukan87 is offline
Senior Member
 
Join Date: Sep 2010
P2P
Posts: 17
Default
Use tmdb api.It will show you the recommended movies according to the imdb id taken from tmdb api

Bump: here is an example:

Click the image to open in full size.
Reply With Quote
  #3  
Old 19th February 2021, 21:12
alexdinu05 alexdinu05 is offline
Member
 
Join Date: Oct 2011
P2P
Posts: 9
Default
I'm interested in the script, and how it's implemented
Reply With Quote
  #4  
Old 20th February 2021, 10:36
Elena Elena is offline
Senior Member
 
Join Date: Sep 2010
P2P
Posts: 111
Default
Quote:
Originally Posted by alexdinu05 View Post
Hello guys I also need a script for recommended torrents, to be displayed on the details page, something similar to the one in the picture below thanks
Click the image to open in full size.
Quote:
searches for releases similar in GENRE, through Tags, which must be filled in when registering a release in the torrent table, in the description cell
Code:
////////////////////////////////
if(!empty($row["description"])){$names = str_replace("'", "%", $row["description"]);$exps = ",";$explNames = explode($exps, $names);
$sqlss = sql_query("SELECT name, id, images_sm FROM torrents WHERE description LIKE '".$explNames[0]."%' AND id <>'".$row["id"]."' ORDER BY rand() LIMIT 10");
$num_ps=0;$onos="";while($ts = mysql_fetch_array($sqlss)){if (!empty($onos)) $onos.="";
$onos.="<a href=\"details_".$ts['id']."\">
<img height='80' src=\"torrents/images_smals/".$ts["images_sm"]."\" border=\"0\" alt=\"".$ts['name']."\" title='".$ts['name']."'></a>&nbsp;&nbsp;&nbsp;";
++$num_ps;}
if($num_ps>0){print("<hr><font size=2 color=#999966><u><b>Recommended releases:</b></u></font><br><br>");print($onos);print("<br>");
}}else{print("<hr><br>");}
/////////////////////////////
Do it yourself according to your needs.
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:06. vBulletin skin by ForumMonkeys. Powered by vBulletin® Version 3.8.11 Beta 3
Copyright ©2000 - 2024, vBulletin Solutions Inc.