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/Code)
 Unwanted code to show #posts
 New Topic  Reply to Topic
 Printer Friendly
Author Previous Topic Topic Next Topic  

i011877
Junior Member

Denmark
169 Posts

Posted - 05 August 2006 :  19:47:40  Show Profile  Visit i011877's Homepage  Reply with Quote
Hmm I got this small piece of code that I can't quite figure out.
Response.Write	"              <tr>" & vbNewLine & _
					"                <td bgcolor=""" & CColor & """ valign=""top"" width=""" & strTopicWidthLeft & """"
			if lcase(strTopicNoWrapLeft) = "1" then Response.Write(" nowrap")
			Response.Write	">" & vbNewLine & _
					"                <p><font face=""" & strDefaultFontFace & """ size=""" & strDefaultFontSize & """><b><span class=""spnMessageText"">" & profileLink(ChkString(Reply_MemberName,"display"),Reply_Author) & "</span></b></font><br />" & vbNewLine

			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_MemberID, Reply_MemberLevel, Reply_MemberPosts) & vbNewLine
			end if

Watch the 2 red 'Reply_MemberPosts' that does not really belong there, as i show the #posts under the sig in the bottom.

When removing them i get an error, but in my small-brain-logic i could just remove them!
Why not? -and how should the code look to make it work?

Example of how it looks now: http://www.myforum.dk/topic.asp?TOPIC_ID=2623
As you can see, I do not have the need to have the postcount show in the left row.
Further down I got this:
Response.Write	"                    <tr>" & vbNewLine & _
					"                     <td colspan=""2"" valign=""bottom"" align=""left"" height=""20""><hr size=""1"" color=""#555555""><font face=""" & strDefaultFontFace & """ size=""" & strFooterFontSize & """ color=""" & strForumFontColor & """></td></tr><td width=""100%"" nowrap>" & vbNewLine & _
					"			<nobr><img alt=""" & Reply_MemberCountry & """ src=""" & strImageURL & "flags/" & Reply_MemberCountry & ".gif"" width=""21"" height=""14"" border=""0"" align=""absbottom"">" & vbNewLine & _
					"             		<font color=""" & strForumFontColor & """ face=""" & strDefaultFontFace & """ size=""" & strFooterFontSize & """><small> | Indlæg: " & Reply_MemberPosts & "</small></font></td>" & vbNewLine & _
					"                     <td valign=""top"" align=""right"" width=""1""><a href=""#top"">" & getCurrentIcon(strIconGoUp,"Go to Top of Page","align=""right""") & "</a></td>" & vbNewLine & _
					"                    </tr>" & vbNewLine & _
					"                  </table>" & vbNewLine & _
					"                </td>" & vbNewLine & _
					"              </tr>" & vbNewLine
			intI  = intI + 1
			if intI = 2 then 
				intI = 0
			end if
		next
	end if

To have the number of posts show in the bottom.

Please advice<


HuwR
Forum Admin

United Kingdom
20584 Posts

Posted - 05 August 2006 :  20:09:25  Show Profile  Visit HuwR's Homepage  Reply with Quote
your example does not show the number of posts, so why are you trying to remove anything ?

the variables Reply_MemberPosts which you highlighted in red are being passed to functions so that it can work out 1) what your Title is and 2) how many stars you should get, they are not actually displaying the number of posts at all<
Go to Top of Page

i011877
Junior Member

Denmark
169 Posts

Posted - 06 August 2006 :  03:34:04  Show Profile  Visit i011877's Homepage  Reply with Quote
Well as said, that was my logic

Thanks for sorting that aout HuwR.<


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.17 seconds. Powered By: Snitz Forums 2000 Version 3.4.07