Bravo List
Register
Go Back   > Bravo List > Source Code > Archived Trackers > Torrent Strike
Reply
  #11  
Old 21st February 2010, 02:23
cekosexama cekosexama is offline
Senior Member
 
Join Date: Dec 2009
P2P
Posts: 21
Default
tells me on browse.php
PHP Code:
$res1 mysql_query("SELECT  torrents.id, torrents.size, torrents.name, torrents.filename,  torrents.poster, torrents.leechers, torrents.seeders,  torrents.times_completed, torrents.owner, users.username AS username,  users.class AS class FROM torrents INNER JOIN users ON torrents.owner =  users.id WHERE torrents.recommend='yes' ORDER BY  torrents.times_completed DESC LIMIT 3"); if (mysql_num_rows($res1) > 0) { begin_frame("Recommend Torrent",true,5); while ($arr1 mysql_fetch_assoc($res1)) { $dispname htmlspecialchars(trim($arr1["name"])); $count_dispname=strlen($dispname); $max_lenght_of_torrent_name="15"// maximum lenght if($count_dispname > $max_lenght_of_torrent_name){ $short_torrent_name_alt="title=\"$dispname \""; $dispname=substr($dispname, 0, $max_lenght_of_torrent_name) . "..."; }else $short_torrent_name_alt="$dispname"; echo " 
[IMG]http://212.233.212.154/%5C%22$arr1%5Bposter%5D%5C%22[/IMG] 
$dispname

Seed 
($arr1[seeders]) Leech  ($arr1[leechers]) Snatched  ($arr1[times_completed])
Size".mksize($arr1['size'])."
Upped by".$arr1['username']."
" . "
Download Torrent" . " 
Reply With Quote
  #12  
Old 21st February 2010, 02:42
Timisoreanul's Avatar
Timisoreanul Timisoreanul is offline
Senior Member
 
Join Date: Apr 2008
P2P
Posts: 211
Default
Quote:
Nicky
code used poster or remove in query
Code:
 torrents.poster,
and
Code:
<img src=\"$arr1[poster]\" border=\"0\" width=\"150\" height=\"150\">
in your case step 6:
Code:
$res1 = mysql_query("SELECT torrents.id, torrents.size, torrents.name, torrents.filename, torrents.leechers, torrents.seeders, torrents.times_completed, torrents.owner, users.username AS username, users.class AS class FROM torrents INNER JOIN users ON torrents.owner = users.id WHERE torrents.recommend='yes' ORDER BY torrents.times_completed DESC LIMIT 3");
or
Code:
$res1 = mysql_query("SELECT torrents.id, torrents.size, torrents.name, torrents.filename, <img src=\"$arr1[poster]\" border=\"0\" width=\"150\" height=\"150\">, torrents.leechers, torrents.seeders, torrents.times_completed, torrents.owner, users.username AS username, users.class AS class FROM torrents INNER JOIN users ON torrents.owner = users.id WHERE torrents.recommend='yes' ORDER BY torrents.times_completed DESC LIMIT 3");
__________________
only me
Reply With Quote
  #13  
Old 21st February 2010, 02:50
cekosexama cekosexama is offline
Senior Member
 
Join Date: Dec 2009
P2P
Posts: 21
Default
Can you explain it more easy.. (im litle indian :D)
btw i use code in takeupload.php
PHP Code:
$ret mysql_query("INSERT INTO torrents (search_text, filename, owner, visible, info_hash, name, size, numfiles, type, descr, ori_descr, description, category, save_as, added, last_action, nfo, poster, ori_descr, recommend) VALUES (" 
error comming from this?
Reply With Quote
  #14  
Old 21st February 2010, 03:02
Timisoreanul's Avatar
Timisoreanul Timisoreanul is offline
Senior Member
 
Join Date: Apr 2008
P2P
Posts: 211
Default
Well recommend must be afther type
Code:
$ret = mysql_query("INSERT INTO torrents (search_text, filename, owner, visible, info_hash, name, size, numfiles, type, recommend, descr, ori_descr, description, category, save_as, added, last_action, nfo, poster, ori_descr, recommend) VALUES (" .
If you have still problem, please explain more, what are you trying to do , whats the error, a screenshot will be nice. what version of torrentstrike are you using.
__________________
only me
Reply With Quote
  #15  
Old 21st February 2010, 03:13
cekosexama cekosexama is offline
Senior Member
 
Join Date: Dec 2009
P2P
Posts: 21
Default
Nao works :) but when i edit torrent it dissapears and i have 2 click on recomended again (btw i use Torrentstrike Fullymodded v1.0)
Click the image to open in full size.


can it be made to look like this:

Click the image to open in full size.
Reply With Quote
  #16  
Old 21st February 2010, 03:37
Timisoreanul's Avatar
Timisoreanul Timisoreanul is offline
Senior Member
 
Join Date: Apr 2008
P2P
Posts: 211
Default
Take a look in edit & takeedit maybe you do something wrong,end for screenshot 2 it looks like a normal torrent, but with some modifcation end put it on recommeded , maybe some one have the code . any way , good luck with your tracker
__________________
only me
Reply With Quote
Reply

Tags
engine , question , recommended , search , torrents

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

Similar Threads
Thread Thread Starter Forum Replies Last Post
Torrent search engine script movizdb Downloads 1 3rd November 2010 18:14
SEO - Optimization for Search Engine kp380lv Mods & Themes 0 27th September 2009 17:48
Bit torrent search engine atencorps Downloads 0 28th December 2008 02:40
meta search engine script(pirate search) movizdb Downloads 1 13th October 2008 15:19



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