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
Invite Code System [v3.0 Port]
Controls ·  Search New posts · Mark unread

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

Unknown User
2019-04-30 23:17:52
If this is possible to be ported on 3.0 it would be golden as this is very powerful mod.

https://www.torrenttrader.xyz/index.php?threads/invite-code-system.3246/
2019-05-07 22:04:17
could you help me, I have a problem with the invitation mode, it generates a msyql error

Database Error in account-signup.php on line 196: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near ' confirmed='no' WHERE invite= '616c176464f3ec232802c82eb29d7617'' at line 1. Query was: UPDATE invites SET inviteid = , confirmed='no' WHERE invite= '616c176464f3ec232802c82eb29d7617'.
account-signup.txt
Download
Unknown User
2019-05-08 18:47:49
"ambrosia, post: 66557, member: 20305":

could you help me, I have a problem with the invitation mode, it generates a msyql error

Database Error in account-signup.php on line 196: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near ' confirmed='no' WHERE invite= '616c176464f3ec232802c82eb29d7617'' at line 1. Query was: UPDATE invites SET inviteid = , confirmed='no' WHERE invite= '616c176464f3ec232802c82eb29d7617'.


It's not compatible with 3.0, it needs a rewrite.
Unknown User
2019-06-18 16:48:37
Bump
Unknown User
2019-07-02 05:08:27
this works on v2.08 heavy modded and php 7.2  php7.2-fpm and maria 10.4 dont know about version ttv3 but should if ive missed anything let me know if anyone wants to improve go on ahead and if someone wants to add syles etc

edit ive removed the files as they were using clean urls and would not work correctly
Unknown User
2019-07-02 09:21:10
Will test it and report here back.

[USER=1398]@serph[/USER] seems like it's broken on php 7.2

1. Warning: implode(): Invalid arguments passed in D:\xampp\htdocs\takeconfirm.php on line 6
2. After signup, it shows "Database Error. Please report this to an administrator." (the account is being created)
3. One invitation code can be used unlimited times (bug).
4. You can delete and recreate 1 invitation code and confirm accounts and it will be always there...
Unknown User
2019-07-02 14:02:33
whats the db error your getting ? and what version of tt are you using ?
and yeah ive just noticed its not deleteing the invite after confirm user mmm was working this morning
tbh i dont have alot of time to debug but im sure its to do with the $id = (int) $_GET["id"]; (not getting the id )
if anyone wants to give a hand its been a number of years since i messed with code
Unknown User
2019-07-02 14:41:52
"serph, post: 66751, member: 1398":

whats the db error your getting ? and what version of tt are you using ?
and yeah ive just noticed its not deleteing the invite after confirm user mmm was working this morning
tbh i dont have alot of time to debug but im sure its to do with the $id = (int) $_GET["id"]; (not getting the id )
if anyone wants to give a hand its been a number of years since i messed with code

tt 3.0 default from here. no error logs given other than this implode.

If someone knows how to fix those issue it would be so good.
Unknown User
2019-07-02 15:05:54
problem is mate this mod was made for tbdev about 10 years ago i modded it to work with v2.05 nearly 9 yrs ago wow takes me back
needs a proper updating to newest version and im rusty as get out ill tinker with it if i get it ill post but wont be till weekend need to set a dev site up etc
and you said you had a
2. After signup, it shows "Database Error. Please report this to an administrator." (the account is being created)
and theres nothing in the sqlerr log in admincp?
Unknown User
2019-07-02 15:16:20
"serph, post: 66753, member: 1398":

problem is mate this mod was made for tbdev about 10 years ago i modded it to work with v2.05 nearly 9 yrs ago wow takes me back
needs a proper updating to newest version and im rusty as get out ill tinker with it if i get it ill post but wont be till weekend need to set a dev site up etc
and you said you had a
2. After signup, it shows "Database Error. Please report this to an administrator." (the account is being created)
and theres nothing in the sqlerr log in admincp?

It shows only date with empty column

2019-07-02 21:58:56
the files have a few short open php tags. Will cause issues if your php is set to not use open tags. Close the tags ie:<?php, not <? . I only saw this by looking at the code. I did not test this mod yet, so maybe after I give it a try I can help more, but I would start there
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)
Unknown User
2019-07-03 06:16:55
"MicroMonkey, post: 66755, member: 311":

the files have a few short open php tags. Will cause issues if your php is set to not use open tags. Close the tags ie:<?php, not <? . I only saw this by looking at the code. I did not test this mod yet, so maybe after I give it a try I can help more, but I would start there

Its just a rendering, yeah it may or may not cause code to be rendered. Depends on a version.
2019-07-03 11:00:02
also, I guess you have to use the edits listed in the original mod? https://www.torrenttrader.xyz/index.php?threads/invite-code-system.3246/ There are quite a few edits that need to be done to that also. mysql_query needs changed, mysql_insert_id, etc
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)
Unknown User
2019-07-03 11:01:10
"MicroMonkey, post: 66757, member: 311":

also, I guess you have to use the edits listed in the original mod? https://www.torrenttrader.xyz/index.php?threads/invite-code-system.3246/ There are quite a few edits that need to be done to that also. mysql_query needs changed, mysql_insert_id, etc

It's already changed in the archive provided by [USER=1398]@serph[/USER] at post #5
2019-07-03 20:37:20
Oh, ok , very well then. 1 mistake found. In account-signup.php
find
    $id = mysqli_insert_id($GLOBALS[DBconnector]);

change to
   $id = mysqli_insert_id($GLOBALS["DBconnector"]);

double quotes missing. It would screw up everything if it cant connect to the database.
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)
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