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)
 Line etc, between post and signature
 New Topic  Topic Locked
 Printer Friendly
Author Previous Topic Topic Next Topic  

mortioli
Average Member

United Kingdom
898 Posts

Posted - 21 March 2002 :  12:04:10  Show Profile  Visit mortioli's Homepage  Send mortioli an AOL message  Send mortioli a Yahoo! Message
Hi.

This is probably been answered before, but couldn't find it...

How do I add a row of dots, lines, words etc, between a members post and signature!?

Which part of the code/which file, needs to be changed?

Thanks in advance!

Oli

www.mortioli.co.uk

Roland
Advanced Member

Netherlands
9335 Posts

Posted - 21 March 2002 :  12:06:42  Show Profile
post_info.asp lines 624 to 626:

if Request.Form("sig") = "yes" and GetSig(STRdbntUserName) <> "" then
txtMessage = txtMessage & vbNewline & vbNewline & ChkString(GetSig(STRdbntUserName), "signature" )
end if


Add the code in red to make it look like this:

if Request.Form("sig") = "yes" and GetSig(STRdbntUserName) <> "" then
txtMessage = txtMessage & vbNewline & "<br>" & vbNewline & ChkString(GetSig(STRdbntUserName), "signature" )
end if


Make the same change in the same code around line 738



http://www.frutzle.com

Snitz Exchange | Do's and Dont's

Edited by - FrutZle on 21 March 2002 12:34:51
Go to Top of Page

mortioli
Average Member

United Kingdom
898 Posts

Posted - 21 March 2002 :  12:25:16  Show Profile  Visit mortioli's Homepage  Send mortioli an AOL message  Send mortioli a Yahoo! Message
What do you mean by <br>? Thats a line break!

If i put & "<br> it doesn't do anything, and also & "<hr>


Btw, I won't use the sig you made me, on this forum. To many are popping up now!

Oli

www.mortioli.co.uk
Go to Top of Page

Roland
Advanced Member

Netherlands
9335 Posts

Posted - 21 March 2002 :  12:36:43  Show Profile
I made a small mistake when typing that. Look at the example code again and you'll see that you should add & "<hr>"
After the second quote there's a space, don't forget that. Other than that you can replace the <hr> (or in the example <br>) tag with anything you want, just keep in mind that properties need double quotes.



http://www.frutzle.com

Snitz Exchange | Do's and Dont's
Go to Top of Page

mortioli
Average Member

United Kingdom
898 Posts

Posted - 21 March 2002 :  12:50:40  Show Profile  Visit mortioli's Homepage  Send mortioli an AOL message  Send mortioli a Yahoo! Message
This is what I've changed:


if Request.Form("sig") = "yes" and GetSig(STRdbntUserName) <> "" then
txtMessage = txtMessage & vbNewline & "<hr>" & vbNewline & ChkString(GetSig(STRdbntUserName), "signature" )
end if



But it still doesn't give a horizontal rule.

Am I doing something really dumb?

Oli

www.mortioli.co.uk
Go to Top of Page

Roland
Advanced Member

Netherlands
9335 Posts

Posted - 21 March 2002 :  13:07:12  Show Profile
Did you change it two times or only once?

I just edited it exactly as in the instructions I gave and it works like a charm for me.



http://www.frutzle.com

Snitz Exchange | Do's and Dont's
Go to Top of Page

mortioli
Average Member

United Kingdom
898 Posts

Posted - 21 March 2002 :  15:58:29  Show Profile  Visit mortioli's Homepage  Send mortioli an AOL message  Send mortioli a Yahoo! Message
Yeah, I changed both parts...but with no success.

While your here Frutzle...could you help me with this...

I get this error when viewing a post which hasn't been replied to:


ADODB.Field error '80020009'
Either BOF or EOF is True, or the current record has been deleted. Requested operation requires a current record.
?


Pleeeeeeeease someone help me with this error!!!

Thanks!

Oli

www.mortioli.co.uk
Go to Top of Page

mortioli
Average Member

United Kingdom
898 Posts

Posted - 21 March 2002 :  16:47:41  Show Profile  Visit mortioli's Homepage  Send mortioli an AOL message  Send mortioli a Yahoo! Message
The changes that you said, made this happen:

http://forum.snitz.com/forum/topic.asp?TOPIC_ID=24806


The other error is still there though!

Oli

www.mortioli.co.uk
Go to Top of Page

Roland
Advanced Member

Netherlands
9335 Posts

Posted - 22 March 2002 :  03:08:55  Show Profile
You're doing something wrong or your post_info.asp is messed up.
I've made that change, and similar changes several times without any problems.

I don't know about that other problem. Have you tried doing a search for that error code?



http://www.frutzle.com

Snitz Exchange | Do's and Dont's
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.36 seconds. Powered By: Snitz Forums 2000 Version 3.4.07