Thanks [url="
https://www.torrenttrader.org/user/53126-bigmax1/"]BigMax1[/url], MOD applied on v.2.08, looks great, little problem am facing if anyone can help.
After applying this Mod i found 2 Sql error's, here is in backend/function.php
Database Error in backendfunctions.php on line 1243: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near '' at line 1. Query was: SELECT torrentid FROM bookmarks WHERE torrentid = 750 AND userid = .
[color=rgb(0,0,0)][size=10px]Here is Line 1243-49 in function.php[/color][/size]
$bookt = SQL_Query_exec("SELECT torrentid FROM bookmarks WHERE torrentid = $id AND userid = $CURUSER[id]"); if (mysql_num_rows($bookt) > 0) { $bookmark = ""; } else { $bookmark = ""; }
2nd Error at torrents-detail.php here is:
Database Error in torrents-details.php on line 266: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near '' at line 1. Query was: SELECT torrentid FROM bookmarks WHERE torrentid = 89 AND userid = .
Line 266 of torrents-detail.php
$bookt = SQL_Query_exec("SELECT torrentid FROM bookmarks WHERE torrentid = $row[id] AND userid = $CURUSER[id]");
if (mysql_num_rows($bookt) > 0)
Cheer's
ThunderBot