Jump to content

Custom Things


e4games

Recommended Posts

So I know if you set (when they register) is you do something like $username, it will display the viewing persons username. But how do I make it so that it only displays one username. Like when someone posts something for it to display that username to everyone. Or do it like a avatar when u pick a avatar to make sure that it only displays that users avatar not who ever is viewing it.

Link to comment
Share on other sites

You store the author of the post in the database entry for the post, so that when the post is retrieved you use the user that is stored for that entry, not the currently logged in user.

Link to comment
Share on other sites

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...