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

You are in: Forum / Forum / General / General Chat

2022-11-07 21:52:33
Take back your "old" account.php and try it again

PS
File I send to you was from MM-moded TT-V3, original file from here


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
2022-11-07 22:02:28
ok save settings is back, still no submit button though
2022-11-07 22:46:23
I install @MicroMonkey moded script on my test site

https://macak-louie.eu.org
User: demo
password: abcd1234

and all things working like charm



Never hesitate on M-Jay or MicroMonkey script mate (never)


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 2022-11-07 22:51:56
2022-11-07 23:00:55
It's something wrong after this line:

print("<tr><td align='right' class='table_col2'><b>" . T_("EMAIL") . ":</b> </td><td align='left' class='table_col2'><input type=\"text\" name=\"email\" size=\"50\" value=\"" . htmlspecialchars($CURUSER["email"]) .
 "\" /><br />\n<i>".T_("REPLY_TO_CONFIRM_EMAIL")."</i><br /></td></tr>");



check that:


ksort($tzs);
reset($tzs);
while (list($key, $val) = thisEach($tzs)) {
if ($CURUSER["tzoffset"] == $key)
$tz .= "<option value=\"$key\" selected='selected'>$val[0]</option>\n";
else
$tz .= "<option value=\"$key\">$val[0]</option>\n";
}

print("<tr><td align='right' class='table_col1'><b>".T_("TIMEZONE").":</b> </td><td align='left' class='table_col1'><select name='tzoffset'>$tz</select></td></tr>");

?>
<tr><td colspan="2" align="center"><input type="submit" value="<?php echo T_("SUBMIT");?>" /> <input type="reset" value="<?php echo T_("REVERT");?>" /></td></tr>
</table></form>



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
2022-11-08 17:46:22
this doesnt help - i ain't running any modded version, everything on site was added one by one, i got a site running basic TT v3 with next to no mods and same issue....
2022-11-09 22:02:43
Does my account.php file help any? Im not sure what the issue is, so Im just fishing. There may be things in my file that you dont use, but that shouldnt matter.
account.zip
Download

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)
2022-11-10 10:10:26
your file seems to have worked perfectly, its got a few things extra like browser, operating system and delete account but nothing that bothers me lol
2022-11-10 21:54:03
That is a very old way of sorting array keys and listing, also depreciated.

You want to foreach that and work with the keys correctly, and sort accordingly or use a &array pointer to the foreach call and go that route. PHP will complain about that
2022-11-11 20:50:39
In my files, and in the V3 on github, the thisEach() was rewritten, example in this file
while (list($key, $val) = thisEach($tzs))

to this
foreach($tzs as $key => $val)

thisEach() was a temp band-aid a few years ago, and was repaired with m-jay's help
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 2022-11-11 20:52:30
2022-11-27 05:54:43
UNIT3D is a joke. I’ll explain. That overbloated horse with the strict development policy of “latest breaking PHP features” almost no one has access to or default, runs like a snail on a quarter mile track.

I ported several visual features out of that script and tossed the rest. The performance load is just ridiculous. It is however, very well structured.

My guess is, they can only contribute so much to an empty CMS before it’s up to the community to use it. For the fact that they had numerous sponsors funding the project to call it quits seems like someone employed the guy for their own company.

All of that can be accomplished alone, and a lot faster without the crazy syntax sugar.
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