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)
 Trouble about State in post
 New Topic  Topic Locked
 Printer Friendly
Author Previous Topic Topic Next Topic  

evol
Junior Member

China
157 Posts

Posted - 27 February 2004 :  14:31:26  Show Profile
i had change the topic.asp and the State will be display in the author box in a post.
but i have a question.
when one user fill one's state ,the state will be display(ex:State:abc),but the other way round,the state won't be display.
this is my topic.asp
thanks

Who am i?
I lost my dream!

cripto9t
Average Member

USA
881 Posts

Posted - 29 February 2004 :  09:19:36  Show Profile
evol, I think tis what you want . If a user does not fill out a state then nothing will show in the authors box.

As always MAKE A BACK-UP FIRST .

Find this code for your replies
Response.Write  "                <font color=""" & strForumFontColor & """ face=""" & strDefaultFontFace & """ size=""" & strDefaultFontSize & """>state:" & Reply_MemberState & "</font></p></td>" & vbNewLine & _
                                   	"  <td bgcolor=""" & CColor & """ height=""100%"" width=""" & strTopicWidthRight & """"

And replace it with this
if strState = "1" and trim(Reply_MemberState) <> "" then
                            Response.Write  "                <font color=""" & strForumFontColor & """ face=""" & strDefaultFontFace & """ size=""" & strDefaultFontSize & """>state:" & Reply_MemberState & "</font></p></td>" & vbNewLine 
                        end if
                        Response.Write  "  <td bgcolor=""" & CColor & """ height=""100%"" width=""" & strTopicWidthRight & """"


Then find this code in the getFirst() sub for your topic
Response.Write  "                <font color=""" & strForumFontColor & """ face=""" & strDefaultFontFace & """ size=""" & strDefaultFontSize & """state:" & Reply_MemberState & "</font></p></td>" & vbNewLine & _
                                   	"  <td bgcolor=""" & CColor & """ height=""100%"" width=""" & strTopicWidthRight & """"

And replace it with this
if strState = "1" and trim(Member_State) <> "" then
                           Response.Write  "                <font color=""" & strForumFontColor & """ face=""" & strDefaultFontFace & """ size=""" & strDefaultFontSize & """state:" & Reply_MemberState & "</font></p></td>" & vbNewLine
                       end if
                       Response.Write  "  <td bgcolor=""" & CColor & """ height=""100%"" width=""" & strTopicWidthRight & """"

    _-/Cripto9t\-_
Go to Top of Page

evol
Junior Member

China
157 Posts

Posted - 29 February 2004 :  11:18:35  Show Profile
oh~thanks you cripto9t
i had made it successed!

Who am i?
I lost my dream!
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.19 seconds. Powered By: Snitz Forums 2000 Version 3.4.07