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
Check if email is duplicate in account-d
Controls ·  Search New posts · Mark unread

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

Unknown User
2019-07-15 15:26:21
Like on account-signup.php we have:
   // check if email addy is already in use
         $a = (@mysqli_fetch_row(@SQL_Query_exec("select count(*) from users where email='$mail'")));
         if ($a[0] != 0)
           $message = sprintf(T_("EMAIL_ADDRESS_INUSE_S"), $email);


How to include this into account.php and account-details.php when staff is changing mail?
Unknown User
2019-07-18 10:42:06
Bumping this. Still can't solve it.
2019-07-18 13:59:53
Where and what have you tried m8 for account it would be just under this line
        $email = $_POST["email"];
For account details I think it might be admin-modtasks
Unknown User
2019-07-18 14:13:36
"m-jay, post: 66962, member: 20288":

Where and what have you tried m8 for account it would be just under this line
        $email = $_POST["email"];
For account details I think it might be admin-modtasks

I have tried, but it doesn't work. Maybe because of email encrypt?
2019-07-19 03:36:11
I see what you mean cant get it working, encrypt maybe effecting it,  I'll try again today and post what I've tried
Unknown User
2019-07-19 14:28:55
"m-jay, post: 66964, member: 20288":

I see what you mean cant get it working, encrypt maybe effecting it,  I'll try again today and post what I've tried

When testing directly via SQL
select count(*) from users where email='your_email' != 'input_mail';

It works perfectly, but i don't know why it doesn't work in account.php
Unknown User
2019-07-21 14:38:25
Did you find some way at this [USER=20288]@m-jay[/USER]?
2019-07-21 15:18:45
No I tried a few times but couldn't get it working, spent most of weekend working on moving the backend, might try replacing account.php with original to see if I can get it to work
Unknown User
2019-07-23 08:26:16
"m-jay, post: 66981, member: 20288":

No I tried a few times but couldn't get it working, spent most of weekend working on moving the backend, might try replacing account.php with original to see if I can get it to work

I tried almost anything with many variations, the closest I got is that all emails are already in use when saving settings ??
Unknown User
2019-08-05 12:00:12
Bump
Unknown User
2019-08-16 21:20:36
[USER=20288]@m-jay[/USER] can you please try adding encrypt mail option to this, I think that is the issue.
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