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)
 Need help with getSig function
 New Topic  Topic Locked
 Printer Friendly
Author Previous Topic Topic Next Topic  

cripto9t
Average Member

USA
881 Posts

Posted - 12 June 2002 :  11:19:52  Show Profile
I'd like to add the users quote from thier profile to messages like thier signatures are added with a check box in post_info. The signature is called with this function in function_inc.asp:

function getSig(fUser_Name)
'## Forum_SQL
strSql = "SELECT M_SIG "
strSql = strSql & " FROM " & strMemberTablePrefix & "MEMBERS "
strSql = strSql & " WHERE " & strDBNTSQLName & " = '" & ChkString(Request.Form("UserName"), "SQLString") & "'"

set rsSig = my_Conn.Execute (strSql)

if rsSig.EOF or rsSig.BOF then
'## Do Nothing
else
getSig = rsSig("M_SIG")
end if

rsSig.close
set rsSig = nothing
end function

My question is, can this function be modified to call up "quote" instead of "sig"? If so, how? I've tried several different things with no success.

I currently include the quote on the topic.asp but it can't find the check box from there so I have to leave it out.
Am I going in the right direction with this? Any help will be appreciated. Thanks

--------Brian.

HarshReality
Junior Member

USA
128 Posts

Posted - 12 June 2002 :  13:46:14  Show Profile  Visit HarshReality's Homepage  Send HarshReality an AOL message  Send HarshReality an ICQ Message  Send HarshReality a Yahoo! Message
yes a function has been done to add a members quote to the post and yes it is here somewhere I would suggest the word search located in inc_top.asp

Anti Social Personality
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.27 seconds. Powered By: Snitz Forums 2000 Version 3.4.07