News:

Bored?  Looking to kill some time?  Want to chat with other SMF users?  Join us in IRC chat or Discord

Main Menu

Make a log entry

Started by SMiFFER, October 22, 2019, 09:32:52 AM

Previous topic - Next topic

SMiFFER

Hi fellows, I would like to put code into my system that
- adds a log entry when a user amends his own email-address
- writes x changed his email FROM (old) TO (new)

Is there a mod that already does this?
Has anybody some code lines that I can put in?

Many thanks for any construtive help!!
Quote of the day: A troll is an obstinate bloke who only hungers for your attention. If you feed him, he will puke all over you!

Illori

users profile -> track user -> profile edits has this information already

it is not in one location for all users but it is in their own profiles.

Arantor

As long as it is turned on, it isn't by default to save space in the database.
Holder of controversial views, all of which my own.


SMiFFER

Quote from: Illori on October 22, 2019, 09:43:02 AM
it is not in one location for all users but it is in their own profiles.

Fine, but just that is what I ask for.
And to save db-memory only the email-address.

Quote of the day: A troll is an obstinate bloke who only hungers for your attention. If you feed him, he will puke all over you!

Illori

Quote from: Arantor on October 22, 2019, 10:00:42 AM
As long as it is turned on, it isn't by default to save space in the database.

which setting is that? I don't see one specifically for that.

Quote from: SMiFFER on October 22, 2019, 10:03:03 AM
Quote from: Illori on October 22, 2019, 09:43:02 AM
it is not in one location for all users but it is in their own profiles.

Fine, but just that is what I ask for.

no you did not ask for that, you asked to log the change, which is already logged. you did not say where you wanted it.

SMiFFER

Quote from: Illori on October 22, 2019, 10:05:20 AM
...which is already logged. you did not say where you wanted it.
In the logs. Not in the profile. I thought that would be logic. ;)

These logs: Admin > Maintenance > Logs > User
Quote of the day: A troll is an obstinate bloke who only hungers for your attention. If you feed him, he will puke all over you!

Kindred

there is no feature or mod to do this.

Tracking this information may be of questionable legality in some areas as well.



let's ask the obvious follow-up question.
WHY do you think you need to track this information?
Слaва
Украинi

Please do not PM, IM or Email me with support questions.  You will get better and faster responses in the support boards.  Thank you.

"Loki is not evil, although he is certainly not a force for good. Loki is... complicated."

Illori

Quote from: Kindred on October 22, 2019, 10:17:48 AM
there is no feature or mod to do this.
I already answered that this is logged in the profile of the user. why do you say this feature does not exist?

Kindred

there is no feature or mod to specifically log these changes in a separate log list, as the user expanded his request to include.
Слaва
Украинi

Please do not PM, IM or Email me with support questions.  You will get better and faster responses in the support boards.  Thank you.

"Loki is not evil, although he is certainly not a force for good. Loki is... complicated."

Arantor

So the change is part of the "Moderation and Admin Logs" core feature.

As for the change, you wanted constructive advice, which is "the feature exists already" and "no one wants to waste time reimplementing something SMF already has".
Holder of controversial views, all of which my own.


Advertisement: