Przesunięty przez: Matteo 09-11-2013, 09:36 |
Logowanie si? na forum. Email lub nazwa |
Autor |
Wiadomość |
kooza

Pomógł: 486 razy Posty: 2401
|
|
|
|
 |
Gadatliwa Kasia
|
|
|
|
Kobys

Pomógł: 49 razy Posty: 105
|
Wysłany: 10-03-2012, 13:38
|
|
|
Fajna sprawa. |
|
|
|
 |
Deotho

Pomógł: 176 razy Posty: 610
|
Wysłany: 11-03-2012, 09:13
|
|
|
Niby fajna sprawa, ale według mnie jest to zbędne. Od zawsze było na nick i bylo ok. |
_________________
Poza forum pomagam odpłatnie. |
|
|
|
 |
japi55

Pomógł: 570 razy Posty: 1447
|
Wysłany: 11-03-2012, 12:54
|
|
|
Cytat: | Niby fajna sprawa, ale według mnie jest to zbędne. Od zawsze było na nick i bylo ok. |
Nie pisz postów po to, by je tylko napisać
Jest to przydatne, każdy użytkownik powinien znać swój e-mail. |
|
|
|
 |
DILL

Posty: 87
|
Wysłany: 31-03-2013, 12:27
|
|
|
Zainstalowałem i mam tylko logowanie przez mail teraz .. |
|
|
|
 |
SeNioR [Usunięty]
|
Wysłany: 31-03-2014, 08:19
|
|
|
Poprawka na 1.12.8 i dla tych co mają tylko email:
Zamiast:
Kod: | $email = isset($HTTP_POST_VARS['username']) ? phpbb_clean_email($HTTP_POST_VARS['username']) : ''; |
dodaj:
Kod: | $email = isset($HTTP_POST_VARS['username']) ? $HTTP_POST_VARS['username'] : ''; |
Zamiast:
Kod: | WHERE user_password = '$password_select' AND username = '" . str_replace("\\'", "''", $username) . "' or user_email = '" . str_replace("\\'", "''", $email) . "'"; |
dodaj:
Kod: | WHERE username = '" . str_replace("\\'", "''", $username) . "' or user_email = '" . str_replace("\\'", "''", $email) . "'"; |
linijkę:
Kod: | $password_select = md5($password);
|
po prostu usuń. |
|
|
|
 |
Gadatliwa Kasia
|
|
|
|
ARMOR_CAGE

Posty: 55
|
Wysłany: 08-10-2014, 22:20
|
|
|
a mam pytanie co z modyfikacją gdzie w panelu podawało się nazwę do logowania to znacznie lepsze niż wybór nazwa albo email, przecierz można tam wpisać mejla |
|
|
|
 |
|