|
Neue Downloads
Top 5 Downloads
|
· Gäste Online: 8
· Mitglieder Online: 0
· Registrierte Mitglieder: 2,077
· Neustes Mitglied: shenrenttt
|
| ·
toto4173 | 00:32:03 |
| ·
Seehund | 03:33:17 |
| ·
shenrenttt | 06:28:18 |
| ·
basti1977 | 12:18:42 |
| ·
der_kenny | 13:16:25 |
| ·
SDChef | 14:52:36 |
| ·
Hilzi1984 | 16:12:33 |
| ·
Viktoras | 16:15:22 |
| ·
cityman | 16:25:39 |
| ·
StiFFi | 16:30:44 |
| ·
TrixyAc | 17:16:44 |
| ·
flohbyteradio | 21:20:10 |
| ·
DjAachen | 21:20:55 |
| ·
houseman | 23:59:11 |
| ·
shenrenrrr | 1 Tag |
| ·
Kara_22 | 1 Tag |
| ·
scaperex | 1 Tag |
| ·
Mela | 1 Tag |
| ·
highfly1 | 1 Tag |
| ·
halilbicakci | 1 Tag |
|
|
|
EN: How to change the settings of the email-registration |
|
German article:
here
English article:
This article explains how to set up PHP-Fusion so that users must validate their email address when registering at your website.
This is particularly useful to prevent bots from automatically registering and then spamming the message boards, comments, etc.
To use email verification in PHP-Fusion first go to "System Admin" then "Registration Settings" then set the following options to "YES".
1. Enable registration system?
2. Use email verification for registration?
Click "Save Settings".
Now, users who register themselves, will be sent a "Validation Email" shortly after registration, which contains a link that must be clicked on before their account will be activated.
However, they must validate their account within 24 hours. If the user waits more than 24 hours before clicking the link their account will not be activated. The reason for this is that PHP-Fusion deletes all unactivated accounts after 24 hours.
You can change the interval at which unactivated accounts are purged by making the following modification to PHP-Fusion.
Open the file “footer.php” in the root directory of PHP fusion and go to line 22.
You should see the following line of code:
$result = dbquery("DELETE FROM ".$db_prefix."new_users WHERE user_datestamp < '".(time()-86400)."'");
The number 86400 is the number of seconds to wait before purging unactivated accounts. 86400 seconds = 24 hours. Change this number to suit your needs.
For example, if you wanted to give a user 30 days to activate their account you would enter a value of 2592000.
If you wish to disable purging of unactivated accounts, simply delete the above line. This would obviously give a user an unlimited amount of time to activate their account.
If you still have questions, please post them in the forum.
German article written by Basti
English translation written by bulldog_466 |
|
Dieser Beitrag wurde noch nicht kommentiert.
|
|
|
Nur Mitgliedern ist das Kommentieren gestattet.
|
|
|
Aktuelle Bewertung: (Insgesamt: 0 Bewertungen) |
|
|
|