Snitz Forums 2000
Snitz Forums 2000
Home | Profile | Register | Active Topics | Members | Search | FAQ
Username:
Password:
Save Password
Forgot your Password?

 All Forums
 Snitz Forums 2000 MOD-Group
 MOD Add-On Forum (W/O Code)
 Add to Author section
 New Topic  Reply to Topic
 Printer Friendly
Author Previous Topic Topic Next Topic  

wisemx
Starting Member

USA
5 Posts

Posted - 16 December 2005 :  16:26:40  Show Profile  Reply with Quote
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  Show Profile  Visit AnonJr's Homepage  Reply with Quote
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.<
Go to Top of Page

wisemx
Starting Member

USA
5 Posts

Posted - 16 December 2005 :  16:55:12  Show Profile  Reply with Quote
...You did indeed give me a thought with Member Since.
Much thanks,
Mark
<
Go to Top of Page

AnonJr
Moderator

United States
5768 Posts

Posted - 17 December 2005 :  16:23:13  Show Profile  Visit AnonJr's Homepage  Reply with Quote
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.<
Go to Top of Page

wisemx
Starting Member

USA
5 Posts

Posted - 18 December 2005 :  09:01:25  Show Profile  Reply with Quote
...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.)
<
Go to Top of Page

AnonJr
Moderator

United States
5768 Posts

Posted - 18 December 2005 :  10:34:43  Show Profile  Visit AnonJr's Homepage  Reply with Quote
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.<
Go to Top of Page
  Previous Topic Topic Next Topic  
 New Topic  Reply to Topic
 Printer Friendly
Jump To:
Snitz Forums 2000 © 2000-2021 Snitz™ Communications Go To Top Of Page
This page was generated in 0.47 seconds. Powered By: Snitz Forums 2000 Version 3.4.07