This is a pretty big change as I went through this same issue myself.
There are a ton of places you have to modify. As an example to get
started if you want to try to embark on this, look at the file
"forum_posts.asp". Down around line 400 (395 in my file but other
modifications may have moved this from the original source code) there
is a SQL select statement. You have to add "Author.Real_Name" to this
select statement something like this:
As you can see I added it to the end of the field list, after the last field which was GuestName.Name. Down a little farther in the file are some inline comments about the array each record gets loaded in to: (excerpted)
Since I added Real_name after GuestName.Name, Real_name becomes element 20. While it's not required, I added this to the comments to jog my memory if I made further changes in the future:
'20 = tblAuthor.Real_name
This array comment list is repeated down around line 750 so I added it in both places.
Now you have to find the places where it gets the Username and replace it with the Real_name. As you can see from the array list above, element 7 is the Username. This means finding all references to element 7 and changing them to reference element 20. In this particular file there is only 1 place (unless you have other modifications), around line 775:
strUsername = sarryPosts(7,intCurrentRecord)
Change this to:
strUsername = sarryPosts(20,intCurrentRecord)
Voila, it will now show the real name instead of the username. Again this is only 1 of a dozen or more places you have to make similar changes.
Actually, I did similar mod in forum_topics.asp as you did for forum_posts.asp, but it run into error of can't finding Real_name is field list. Anyway, I will try your approach to see if that works.
You cannot post new topics in this forum You cannot reply to topics in this forum You cannot delete your posts in this forum You cannot edit your posts in this forum You cannot create polls in this forum You cannot vote in polls in this forum
Web Wiz is the trading name of Web Wiz Ltd. Company registration No. 05977755. Registered in England and Wales.
Registered office: Web Wiz Ltd, Unit 18, The Glenmore Centre, Fancy Road, Poole, Dorset, BH12 4FB, UK.
Prices exclude VAT at 20% unless otherwise stated. VAT No. GB988999105 - $, € prices shown as a guideline only.