Jump to content
MakeWebGames

[mccode] log name changes


vinyl

Recommended Posts

Well, I had a table for this, it's annoying when you want to find out who ID:78758743 was last month, but considering it costs you game cash to change your name in some games, this may be more effective and not really stuff too much into your staff notes.

in preferences.php find in function do_name_change():

You're unable to view this code.

Viewing code within this forum requires registration, you can register here for free.

 

BEFORE it, insert:

You're unable to view this code.

Viewing code within this forum requires registration, you can register here for free.

 

change mysql_query to $db->query for V2 of course

Link to comment
Share on other sites

Re: log name changes

Database is always the best way to store information.

If you lock a page then the file only visits the page if it has a lock then it applies nothing. So basicly your easier to use db than files for storage. Plus if you know your stuff DB data can be a WHOLE lot easier!

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...