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

 All Forums
 Help Groups for Snitz Forums 2000 Users
 Help: General / Classic ASP versions(v3.4.XX)
 Add a pic if...
 New Topic  Topic Locked
 Printer Friendly
Author Previous Topic Topic Next Topic  

Darkness
Junior Member

Italy
145 Posts

Posted - 12 December 2002 :  17:59:14  Show Profile  Visit Darkness's Homepage
I wish to add a pic just between stars and post number if a nickname is == to "nick" [quite like avatars, but i have to add ONLY for 1 nick].

How can i do this?

Tnx all.

laser
Advanced Member

Australia
3859 Posts

Posted - 12 December 2002 :  18:02:18  Show Profile
Look at the avatar code on the topic.asp page & then add it your code rather than the MOD code. I'm just suggesting the avatar MOD because then you will know exactly the right place.
Go to Top of Page

Darkness
Junior Member

Italy
145 Posts

Posted - 12 December 2002 :  18:24:27  Show Profile  Visit Darkness's Homepage
little more help..?
Go to Top of Page

Darkness
Junior Member

Italy
145 Posts

Posted - 12 December 2002 :  18:29:50  Show Profile  Visit Darkness's Homepage
was thinking...
just 'round line 581 to add

			if Reply_MemberName = "nick" then
			Response.Write	" <img src="???"> "  & vbNewLine
			end if


do u think could work?
Go to Top of Page

laser
Advanced Member

Australia
3859 Posts

Posted - 12 December 2002 :  18:41:31  Show Profile
that code looks good, but I don't like quoting line numbers unless I'm looking at your file .... highly unlikely our files are identical, so there's no point really.

Here is my avatar code from topic.asp (and a few lines above & below to help locate it)


			if strShowRank = 1 or strShowRank = 3 then
				Response.Write	"                <font color=""" & strForumFontColor & """ face=""" & strDefaultFontFace & """ size=""" & strFooterFontSize & """><small>" & ChkString(getMember_Level(Reply_MemberTitle, Reply_MemberLevel, Reply_MemberPosts),"display") & "</small></font><br />" & vbNewLine
			end if
			if strShowRank = 2 or strShowRank = 3 then
				Response.Write	"                " & getStar_Level(Reply_MemberLevel, Reply_MemberPosts) & "<br />" & vbNewLine
			end if
		 	Response.Write	"                </p>" & vbNewLine & _
					"                <p>" & vbNewLine

		 	if Reply_MemberAvatar <> "noavatar.gif" then
		 		    response.write"		<img src=""" & Reply_MemberAvatar & """ width=""" & intAvatarWidth & """ height=""" & intAvatarHeight & """ border=""" & intAvatarBorder & """><br>"
		 	end if

			if strCountry = "1" and trim(Reply_MemberCountry) <> "" then
				Response.Write	"                <font color=""" & strForumFontColor & """ face=""" & strDefaultFontFace & """ size=""" & strFooterFontSize & """><small>" & Reply_MemberCountry & "</small></font><br />" & vbNewLine
			end if
Go to Top of Page

Darkness
Junior Member

Italy
145 Posts

Posted - 12 December 2002 :  18:43:06  Show Profile  Visit Darkness's Homepage
Ok, my code works perfectly.

n8.
Go to Top of Page
  Previous Topic Topic Next Topic  
 New Topic  Topic Locked
 Printer Friendly
Jump To:
Snitz Forums 2000 © 2000-2021 Snitz™ Communications Go To Top Of Page
This page was generated in 0.26 seconds. Powered By: Snitz Forums 2000 Version 3.4.07