Login
Username: Password:
Remember me

[Sign Up] / [Recover Password]

Theme / Language

Popular
New Torrents
new name
Size: 18.40 MB
Most active
new name
S: 74 L: 3
New Posters
category picture
Controls ·  Search New posts · Mark unread

You are in: Forum / Forum / Torrent Trader / v3 Mods Requests

2020-02-29 21:48:07
Thanks, but it doesn't work, tempi, and thanks for your help anyway. (y):)
2020-02-29 22:50:06
find the large query in torrent-details.php, near the top of the file, then find
categories.name AS cat_name,

add after
categories.image AS cat_pic,


In the layout below you will use this to display the image. Mine is heavily modified so I cannot follow your code exactly, but this will display it
<img src =" . $site_config['SITEURL'] . "/images/categories/" . $row["cat_pic"] . "


Here is my full category layout line which will be different than yours most likely. I did this as a quick test. You can modify it so that it looks the way you would like it. I hope this helps :)
         <b><?php echo T_("CATEGORY"); ?></b><br /> <?php echo  $row["cat_parent"] . " > <img src =" . $site_config['SITEURL'] . "/images/categories/" . $row["cat_pic"] . " " . $row["cat_name"]; ?><br /><br />


Mine is not pretty since I only did this to test, but it works and can be edited
[ATTACH]5391[/ATTACH]
Capture.PNG
Capture.PNG

TTv3 Micro Edition
Ubuntu 20.04.6 LTS Server
Mysql Version: 10.3.39-MariaDB-0ubuntu0.20.04.2
PHP Version: 7.4.3-4ubuntu2.20
Apache Version: Apache/2.4.59 (Ubuntu)
2020-02-29 23:01:37
Merci pour votre aide:D(y) a vous tous  et sa fonctionne j'ai fait comme ceci...

Thank you for your help  has all of you and it works like this .



<img src=/images/languages/" . $row["lang_image"] . ">

<img src='images/categories/" . $row["cat_pic"] . "'>

et cela donne ceci:
and the result is this:

[ATTACH type="full" alt="5392"]5392[/ATTACH]
1583016723667.png
1583016723667.png
2020-02-29 23:34:52
Im happy you have it working as you wanted :)
TTv3 Micro Edition
Ubuntu 20.04.6 LTS Server
Mysql Version: 10.3.39-MariaDB-0ubuntu0.20.04.2
PHP Version: 7.4.3-4ubuntu2.20
Apache Version: Apache/2.4.59 (Ubuntu)
2020-03-01 00:09:39
super, ça fonctionne bien !
=================
cool, it works well!
Users online

No users online

Search



Statistics

    Torrents

  • Tracking: 3
  • Todays torrents: 0
  • Seeders: 0
  • Leechers: 0
  • Peers: 0
  • Downloaded: 89.96 GB
  • Uploaded: 9.86 GB

  • Members

  • We have: 838
  • New today: 0
  • Guest today: 9

  • Online

  • Total online: 1
  • Members: 0
  • Guests online: 1
  • Comments: 3
  • Messages: 1,728