Author |
Topic |
|
asafdr
New Member
Israel
90 Posts |
Posted - 01 December 2002 : 12:08:03
|
i want thet users can post a empty Message, i mean the just the subject line fill in.
and if is possible then the line in the forum to add a word "no text"
something like this :
|
|
Rasco
Advanced Member
Germany
3192 Posts |
Posted - 01 December 2002 : 13:18:40
|
Don`t really see the sense in this, but to do it, comment the following lines in post_info.asp
if txtMessage = " " then Err_Msg = Err_Msg & "<li>You Must Enter a Message for the Topic</li>" end if
if txtMessage = " " then Err_Msg = Err_Msg & "<li>You Must Enter a Message for the Topic</li>" end if
|
German Snitz Forum
|
|
|
asafdr
New Member
Israel
90 Posts |
Posted - 01 December 2002 : 20:36:01
|
where i need to insert this code? i just want to post a Messages with out text in the "Message" box.
|
|
|
Rasco
Advanced Member
Germany
3192 Posts |
Posted - 02 December 2002 : 03:14:13
|
You doesn`t need to insert that code somewhere. It`s already in post_info.asp Just put a ' in front of every of those lines. |
German Snitz Forum
|
|
|
asafdr
New Member
Israel
90 Posts |
Posted - 02 December 2002 : 07:41:40
|
What lines ? u sure u do what i want ? |
|
|
Rasco
Advanced Member
Germany
3192 Posts |
Posted - 02 December 2002 : 15:17:58
|
Yes, you want to post empty posts, with only the subject line showing. The lines mentioned by me should be 356 and 469 in a fresh installation. They should suppress the showing of the error message when trying to post nothing into the message. Currently, I couldn`t try it, but it should work. |
German Snitz Forum
|
|
|
asafdr
New Member
Israel
90 Posts |
Posted - 02 December 2002 : 16:00:53
|
man, he is not working :(
hw give me some eror msg, if i give u my post_info.asp file u can make it work?
|
|
|
seven
Senior Member
USA
1037 Posts |
Posted - 02 December 2002 : 18:09:03
|
Your missing step #2 of what he wants to do...
if txtMessage = " " then
txtMessage = "No Text"
end if
|
|
|
|
asafdr
New Member
Israel
90 Posts |
Posted - 02 December 2002 : 20:06:29
|
dude, i cant do it :( its reply me eror Messages, do u have a icq? maybe a msn Messenger?
please add me: icq:78347277 msn: asafdr@012.net.il |
|
|
Rasco
Advanced Member
Germany
3192 Posts |
|
asafdr
New Member
Israel
90 Posts |
Posted - 03 December 2002 : 07:14:54
|
Rasco-
check your mail box :) |
|
|
|
Topic |
|