04. September 2010 10:04:21
Navigation
· Startseite
· Artikel
· Forum
· Gästebuch
· Links
· Fotogalerie
· News Kategorien
· FAQ
· Link us
· Suche
· Impressum
PHP-Fusion
· Downloads
· Roadmap/Bugtracker
· PHP-Fusion Suche
Fun
· Games
· Witze
· Quiz (in development)
Downloads

Neue Downloads

· Profile.php V7....
· ShoutBox V2.2
· Forum Extension...
· Shoutbox 2.0
· Profilfelder Ko...

Top 5 Downloads

· PHP-Fusion: Inf... [31780]
· PHP-Fusion: Inf... [31686]
· PHP-Fusion: Inf... [16988]
· PHP-Fusion: Inf... [13406]
· PHP-Fusion: Inf... [12178]
Neuste Artikel
· EN: How to change th...
· Inhalt der Registrie...
· Favicon in PHP-Fusio...
· Wie kann man die Anz...
· Globale Variablen un...
Game Events
Latest scores
Merlin666
Scored -12 Points
In 1monstermem
13ot198
Scored 11880 Points
In bubbleshooter
Merlin666
Scored 1154 Points
In goldminerseibpg
dejan-media
Scored 1478 Points
In valentinerGC
dejan-media
Scored 2 Points
In 3guys
Latest Champions
liane
Is the New Champion
In poux
with 195300 Points.
DJ-Matze
Is the New Champion
In fruit_squash_2
with 110100 Points.
DJ-Matze
Is the New Champion
In 7cardsibpg
with 6270 Points.
DJ-Matze
Is the New Champion
In 2deep
with 850 Points.
DJ-Matze
Is the New Champion
In 2handpokeribpg
with 2450 Points.
Arcade Best
# Name Scores
 AlbaBin 20
 ThePostman 9
 Megalega 9
 ritchi 6
 djbigbaer 6
 Wildfire 6
 DJ-Matze 5
 PHPexpert 3
 Shamania 3
 Psyco-Man 2
Benutzer Online
· Gäste Online: 8

· Mitglieder Online: 0

· Registrierte Mitglieder: 2,077
· Neustes Mitglied: shenrenttt
letzte User
· toto417300:32:03
· Seehund03:33:17
· shenrenttt06:28:18
· basti197712:18:42
· der_kenny13:16:25
· SDChef14:52:36
· Hilzi198416:12:33
· Viktoras16:15:22
· cityman16:25:39
· StiFFi16:30:44

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
Kommentare
Dieser Beitrag wurde noch nicht kommentiert.
Kommentar hinzufügen
Nur Mitgliedern ist das Kommentieren gestattet.
Aktuelle Bewertung: (Insgesamt: 0 Bewertungen)  
Login
Benutzername

Passwort



Noch kein Mitglied?
Registriere dich jetzt.

Passwort vergessen?
Jetzt ein neues Passwort zuschicken lassen.
Sprachen
Sponsor
Shoutbox
Seitenaufbau: 0.10 Sekunden - 56 Queries 2,983,715 eindeutige Besuche