Author |
Topic |
|
mortioli
Average Member
United Kingdom
898 Posts |
Posted - 21 March 2002 : 12:04:10
|
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
|
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 |
|
|
mortioli
Average Member
United Kingdom
898 Posts |
Posted - 21 March 2002 : 12:25:16
|
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 |
|
|
Roland
Advanced Member
Netherlands
9335 Posts |
Posted - 21 March 2002 : 12:36:43
|
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 |
|
|
mortioli
Average Member
United Kingdom
898 Posts |
Posted - 21 March 2002 : 12:50:40
|
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 |
|
|
Roland
Advanced Member
Netherlands
9335 Posts |
|
mortioli
Average Member
United Kingdom
898 Posts |
Posted - 21 March 2002 : 15:58:29
|
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 |
|
|
mortioli
Average Member
United Kingdom
898 Posts |
|
Roland
Advanced Member
Netherlands
9335 Posts |
Posted - 22 March 2002 : 03:08:55
|
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 |
|
|
|
Topic |
|