Bravo List
Register
Go Back   > Bravo List > Source Code > Archived Trackers > TBDev
Reply
  #1  
Old 15th November 2015, 21:20
kira kira is offline
Senior Member
 
Join Date: Jul 2011
France
Posts: 69
Default Add last torrents - image not available
add block last torrents images in the homepage
error we see just 'image not available' and not the poster

PHP Code:
//== Latest torrents
if (($last5torrents $mc1->get_value('last5_tor_')) === false) {
$sql "SELECT t.id, t.category, t.owner, t.seeders, t.poster, t.leechers, t.name, t.description, t.dcredits, t.times_completed, t.nuked, nukereason, t.added, c.name AS cat_name, c.image AS cat_img FROM torrents AS t LEFT JOIN categories AS c ON c.id = t.category WHERE visible='yes' ORDER BY added DESC LIMIT {$TBDEV['latest_torrents_limit']}";
$result mysqli_query($GLOBALS["___mysqli_ston"], $sql) or sqlerr(__FILE____LINE__);
while (
$last5torrent mysqli_fetch_assoc($result)) $last5torrents[] = $last5torrent;
 
$mc1->cache_value('last5_tor_'$last5torrents$TBDEV['expires']['last5_torrents']);
}
$HTMLOUT.= "<div class='roundedCorners' style='background:#ECE9D8;text-align:left;width:85%;border:1px solid #C0C0C0;padding:3px;'>
<div style='background:transparent;height:20px;'><span style='font-weight:bold;font-size:10pt;'>Derniers Torrents</span></div><br />"
;
$HTMLOUT.= "<table align='center' width='100%' border='0' cellspacing='0' cellpadding='5'>";
$HTMLOUT.= empty($last5torrent["poster"]) ? "<img src='" $TBDEV['pic_base_url'] . "noposter.jpg' width='150' height='220' />" "<img src='" htmlsafechars($last5torrent['poster']) . "' width='150' height='220' />";
$HTMLOUT.= "</table></div><br />";
//== End Latest torrents 
Reply With Quote
  #2  
Old 17th November 2015, 17:06
firefly007's Avatar
firefly007 firefly007 is offline
SUPPORT GURU
 
Join Date: Jun 2010
P2P
Posts: 721
Default
Hey!

I will make it for you.. just give me a little time please:)
__________________




Please Support Majority Report


You can contact me on Skype live:phesadent.elect but please let me know first.


If you are ever need me desperately then please email me at dan.oak44@gmail.com and I will contact u within a week.


Due to free time I'm able to help interested member's with their tracker.

Please Note!
Depending on your requests I will charge you for my assistance for Tracker installs and mods.
All my mods are custom and prices will very depending on the request.
I'm able to install any tracker and mods including themes.

Please PM me

Reply With Quote
  #3  
Old 17th November 2015, 20:27
joeroberts's Avatar
joeroberts joeroberts is offline
BT.Manager Owner
 
Join Date: Jan 2008
United States
Posts: 2,113
Default
change
PHP Code:
$last5torrent["poster"
to
PHP Code:
$last5torrents["poster"
__________________
Do not ask me to help you work on your site that is not phpMyBitTorrent
Do not ask me to make a mod for any other source
Do not Ask me to setup your site.
I will no longer help you setup your site, there is a setup script if you have trouble with it post in the forum here or in BT.Manager™ forum
My Current Demo is here http://demo.btmanager.org/
Reply With Quote
  #4  
Old 17th November 2015, 21:16
DND DND is offline
VIP
 
Join Date: Dec 2008
Posts: 1,241
Default
hehehe that would do the trick, but i fixed his problem already..
__________________
Need HELP!? I can install:

  1. Server/VPS (Debian,CentOS,Ubuntu,Fedora, FreeBSD) Optimization and ... + Modules
  2. Webserver Windows/Linux (Apache/Lighttpd/Nginx/Mysql/PhpMyAdmin/SSL) Optimization and ... + Modules
  3. Seedbox Windows/Linux (uTorrent,rTorrent,libTorrent,ruTorrent) + Modules
  4. Multiple source code engines
  5. Linux Server Administration (security, cryptography/encryption, proxy, load balancer, custom ddos firewall)
Reply With Quote
The Following User Says Thank You to DND For This Useful Post:
nicukent (25th January 2016)
  #5  
Old 18th November 2015, 20:28
kira kira is offline
Senior Member
 
Join Date: Jul 2011
France
Posts: 69
Default
Thankx this problem is fixed
Reply With Quote
The Following User Says Thank You to kira For This Useful Post:
nicukent (25th January 2016)
Reply

Tags
add , image , 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



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