Hello Juergen and all who need this feature,
Because of this thread here i present today this "little" guide.
Due to legal situations in some countries is the storing of User-IP addresses an important evidentiary.
Missing evidentiary can be expensive for website operators.
For example applies in Germany the "liability for interference".
Storing the IP Address at the registration process
The result you can see in the follow picture
newip.jpg
Now let us start.
PART 1
Login into the Admin Panel and go to Common -> Database
Paste the follow SQL query
PHP Code:
Only registered members can view the code.
and press the button "Go".
Finally paste the following SQL query to insert the phrase "User-IP" for table header (ext_userip). Language is english.
PHP Code:
Only registered members can view the code.
and press the button "Go".
PART 2
Open admin => tpl => controllers => accounts.tpl
Find the follow code
PHP Code:
Only registered members can view the code.
and change as follow
PHP Code:
Only registered members can view the code.
Next find the follow code
PHP Code:
Only registered members can view the code.
and change as follow
PHP Code:
Only registered members can view the code.
Save and close the File.
PART 3
Open includes => classes => rlAccount.class.php
Find the follow code
PHP Code:
Only registered members can view the code.
and change as follow
PHP Code:
Only registered members can view the code.
Save and close the File.
PART 4
Open admin => controllers => accounts.inc.php
Find the follow code
PHP Code:
Only registered members can view the code.
and change as follow
PHP Code:
Only registered members can view the code.
Save and close the File.
OK these were the parts to store the user ip during the registration process.
Next part is "Storing the User-IP address when add comments"
Best regards
Steffen