Author |
Topic  |
|
wisemx
Starting Member
USA
5 Posts |
Posted - 16 December 2005 : 16:26:40
|
Salutations, I apologize if this has been asked before; searched the forums until I was blue. 
I'd like to add an Honorable Mention image to the Message Author section for certain members, (<- Right there, on the left side).
I'm using the latest version with MS SQL Server.
Has anyone already done this?
I'll invent this wheel if need be but thought it would be prudent to ask first. God's blessings, Mark
P.S. Merry Christmas.
< Moved to MOD Add-On Forum (W/O Code) by Shaggy />< |
Edited by - Shaggy on 19 December 2005 06:45:43 |
|
AnonJr
Moderator
    
United States
5768 Posts |
Posted - 16 December 2005 : 16:42:35
|
I don't know if anyone's done it before or not. I know that there are several different ideas along a similar vein (adding something to the info on the left). Some time back I put together a code snippet to add "Member Since: ..." under the names. That could give you some ideas. Also there's a fairly recent topic floating around to add different icons instead of the stars for ranks. There are probably dozens more, but that's all I can think of with this sinus medicine...
While neither of these really fits your needs, they will probably cut down a lot of the work in rooting out the lines that affect the info over to the left. Not much, but its a start.< |
 |
|
wisemx
Starting Member
USA
5 Posts |
Posted - 16 December 2005 : 16:55:12
|
...You did indeed give me a thought with Member Since. Much thanks, Mark < |
 |
|
AnonJr
Moderator
    
United States
5768 Posts |
Posted - 17 December 2005 : 16:23:13
|
Glad I could help in some way. Let us know if you get it put together. I'm sure there are others who would be interested.< |
 |
|
wisemx
Starting Member
USA
5 Posts |
Posted - 18 December 2005 : 09:01:25
|
...You're right, here's a follow-up:
This is a 5 minute change done in topic.asp
For my needs knowing M.MEMBER_ID was enough since it's already part of the SQL being built in topic.asp
For the Forum members who are recognized as "Honor" members I hard-coded If/ElseIf statements in topic.asp
You have to catch this twice, ReplyID and the MemberID, for the current topic.
Anywhere in the same area where the Member rank/country is displayed create something like this: (Can easily be placed between existing paragraph tags.)
Dim HonorMember HonorMember = "" If Reply_MemberID = 3 Then HonorMember = "Honorable" Response.Write "<center><strong><font color=""red"">" & HonorMember & "</font></strong></center><br />" ElseIf Reply_MemberID = 12 Then HonorMember = "Honorable" Response.Write "<center><strong><font color=""red"">" & HonorMember & "</font></strong></center><br />" End if
(Can be cleaned up a bit but left like that it can quickly carry a different message when needed.) < |
 |
|
AnonJr
Moderator
    
United States
5768 Posts |
Posted - 18 December 2005 : 10:34:43
|
Cool. I figured it was something like that.
Maybe down the road you could add a Boolean field to the member's profile and just check for that. I imagine this is something you would want to set for more people later on.
Reguardless, looks good.< |
 |
|
|
Topic  |
|