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
New_Theme
Controls ·  Search New posts · Mark unread

You are in: Forum / Forum / Torrent Trader / v3 Themes

2023-03-22 15:06:43
@Botanicar
It has to be something so silly, but I'll be damned if I can find it. The default theme works but nothing else does? If you have any luck, let me know. I'll keep checking
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)
2023-03-22 15:52:38
@MicroMonkey

it is simply easy…
you have the script WITHOUT any modifications (a clean script)
the theme is built for a modified script with some improvements

in line 111

print (" <a href=\"account-details.php?id=" . $CURUSER["id"] . "\"><b>" . class_user($CURUSER["username"]) . "</b></a>   ");


there we have "user class MOD", so we need to remove that part so theme works on your PURE script, so your script is OK no problems on it ...

in NEW_THEME header on line 111:

change it to this

print (" <a href=\"account-details.php?id=" . $CURUSER["id"] . "\"><b>" . $CURUSER["username"] . "</b></a>   ");


Have a nice day girls and boys




www.exyusubs.com
TorrentTrader V3.8.3 (SE)
OS: AlmaLinux 9.9 (BC)
Apache version: 2.4.71
PHP version: 8.5.13 (PHP-FPM)
MySQL version: 10.11.18-MariaDB
Last edited by Botanicar on 2023-03-22 15:58:10
2023-03-22 16:08:58
I knew it was going to be silly. Thanks so much for finding that. I didnt even think of that. I was sitting here getting a headache looking through the debugger banging my head on the desk haha.  Its always nice to have someone else look at stuff, too much to catch for one person most times
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)
Last edited by MicroMonkey on 2023-03-22 16:18:34
2023-03-22 16:21:25
It would be a good idea but there are people who want a clean script and play with it on their own.

I'm glad I could help with the problem mate


www.exyusubs.com
TorrentTrader V3.8.3 (SE)
OS: AlmaLinux 9.9 (BC)
Apache version: 2.4.71
PHP version: 8.5.13 (PHP-FPM)
MySQL version: 10.11.18-MariaDB
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