I'm not sure you need to modify any SQL queries? The only change I really see being necessary (somewhat tedious) would be to go through all the Freemarker templates and replace any instance of the user's id with their firstname and last name (and make those fields either mandatory or do a check for them and defaulting to something else in the case that they are blank).
For instance, on post_show (to show the posts in a
thread):
will retrieve a user by id. Once retrieved, the template does stuff like:
So no SQL changes should be necessary, thanks to the clean, decoupled view.
[originally posted on jforum.net by msernatinger]