Bravo List

Bravo List (http://www.bvlist.com/index.php)
-   TBDev (http://www.bvlist.com/forumdisplay.php?f=20)
-   -   Recommendation torrents (http://www.bvlist.com/showthread.php?t=12326)

alexdinu05 17th January 2021 15:46

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




https://i.ibb.co/LnKp5Wz/Untitled.png

lukan87 19th February 2021 17:36

Use tmdb api.It will show you the recommended movies according to the imdb id taken from tmdb api

Bump: here is an example:

https://i.ibb.co/TMLRgpK/imdb-page.png

alexdinu05 19th February 2021 21:12

I'm interested in the script, and how it's implemented

Elena 20th February 2021 10:36

Quote:

Originally Posted by alexdinu05 (Post 55267)
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
https://i.ibb.co/LnKp5Wz/Untitled.png

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.="
\"".$ts['name']."\"
   ";
++$num_ps;}
if($num_ps>0){print("
Recommended releases:");print($onos);print("");
}}else{print("
");}
/////////////////////////////

Do it yourself according to your needs. :coffee:


All times are GMT +2. The time now is 12:09.

Powered by vBulletin® Version 3.8.11 Beta 3
Copyright ©2000 - 2024, vBulletin Solutions Inc.