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)
 string for subject
 New Topic  Topic Locked
 Printer Friendly
Author Previous Topic Topic Next Topic  

s80ts0465
Junior Member

Italy
290 Posts

Posted - 04 February 2004 :  16:21:02  Show Profile  Send s80ts0465 an ICQ Message
anybody now which is the line (i think in post.asp) where is saved the subject we write in the post???

i'd like to add something to every subject saved in the database, so i need it

please help me

OneWayMule
Dev. Team Member & Support Moderator

Austria
4969 Posts

Posted - 04 February 2004 :  16:38:44  Show Profile  Visit OneWayMule's Homepage  Send OneWayMule an ICQ Message
The code that saves a new topic to the database is lines 762-937 of post_info.asp

Look for 2 lines:

Line 798:
		txtSubject = ChkString(Request.Form("Subject"),"SQLString")
is where the subject from the form is checked for invalid characters


Line 843:
		strSql = strSql & ", '" & txtSubject & "'"

is where it's written to the database.

Hope that helps.

My MODs:
Birthdays - Custom Policy - F.A.Q. Administration - Forum Rules - Guestbook
Links Manager - MyOwnGoogle - Profile Views - Search Log - WebSearch

Useful stuff:
Forum and MOD Installation - MOD Installation Guide - Snitz v3.4.05 Readme - Free ASP Hosts - Support Snitz
Go to Top of Page

s80ts0465
Junior Member

Italy
290 Posts

Posted - 04 February 2004 :  16:52:15  Show Profile  Send s80ts0465 an ICQ Message
Yes it help help for sure, at least now i can understand something.
the final result i wanna obtain is to save in the database the txtSubject and also something else. In my case i create a drop list (using the injection mod of laser) and i need to save the txtsubject and also the form result.

can u help me in this too???
Go to Top of Page

OneWayMule
Dev. Team Member & Support Moderator

Austria
4969 Posts

Posted - 04 February 2004 :  17:30:56  Show Profile  Visit OneWayMule's Homepage  Send OneWayMule an ICQ Message
I'll take a look at the injection MOD and see what I can come up with.

My MODs:
Birthdays - Custom Policy - F.A.Q. Administration - Forum Rules - Guestbook
Links Manager - MyOwnGoogle - Profile Views - Search Log - WebSearch

Useful stuff:
Forum and MOD Installation - MOD Installation Guide - Snitz v3.4.05 Readme - Free ASP Hosts - Support Snitz
Go to Top of Page

s80ts0465
Junior Member

Italy
290 Posts

Posted - 06 February 2004 :  03:24:09  Show Profile  Send s80ts0465 an ICQ Message
ok thanks a lot.
Let me know

bye ste
Go to Top of Page

s80ts0465
Junior Member

Italy
290 Posts

Posted - 06 February 2004 :  07:48:55  Show Profile  Send s80ts0465 an ICQ Message
Ok i've finally found out how to make it :-))))

bye stefano
Go to Top of Page

OneWayMule
Dev. Team Member & Support Moderator

Austria
4969 Posts

Posted - 06 February 2004 :  09:55:36  Show Profile  Visit OneWayMule's Homepage  Send OneWayMule an ICQ Message
Glad you got it.

My MODs:
Birthdays - Custom Policy - F.A.Q. Administration - Forum Rules - Guestbook
Links Manager - MyOwnGoogle - Profile Views - Search Log - WebSearch

Useful stuff:
Forum and MOD Installation - MOD Installation Guide - Snitz v3.4.05 Readme - Free ASP Hosts - Support Snitz
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.34 seconds. Powered By: Snitz Forums 2000 Version 3.4.07