Author |
Topic |
DavidRhodes
Senior Member
United Kingdom
1222 Posts |
Posted - 14 December 2003 : 15:57:07
|
old quotes in posts won't be affected unless you edit them individually, then they would use the new style |
The UK MkIVs Forum |
|
|
RebelTech
Average Member
USA
613 Posts |
Posted - 14 December 2003 : 16:16:38
|
Enigma I see that multiple embedded quotes aren't a problem. I like your smilies! |
|
|
xx ENIGMA xx
Junior Member
166 Posts |
|
RebelTech
Average Member
USA
613 Posts |
Posted - 14 December 2003 : 16:26:21
|
You have made some very good looking changes. Your post displays are very cool. What changes from Marcel's code did you make? |
|
|
DavidRhodes
Senior Member
United Kingdom
1222 Posts |
Posted - 14 December 2003 : 16:48:34
|
It would be nice if it looked like ENIGMA's but the author was moved up to the top row so it read Quote: Originally posted by author |
The UK MkIVs Forum |
|
|
RebelTech
Average Member
USA
613 Posts |
Posted - 14 December 2003 : 17:09:17
|
I hate to beat this subject to death but the potential for having messed up posts is worrisome. David or Enigma, moving the Originally posted by author up should be no problem right? Do yall recommend doing this mod? I guess you do Enigma since you did it.... |
|
|
xx ENIGMA xx
Junior Member
166 Posts |
Posted - 14 December 2003 : 17:19:43
|
quote: You have made some very good looking changes. Your post displays are very cool. What changes from Marcel's code did you make?
Would be hard for me to explain adequately I'm sure, might be best if you have a look at my files? inc_func_common.txt and inc_func_posting.txt
quote: Originally posted by DavidRhodes
It would be nice if it looked like ENIGMA's but the author was moved up to the top row so it read Quote: Originally posted by author
I did have it where "quote:" was down below with the Originally posted by: line but couldnt figure how to move it up - do you have any ideas because thats what I was originally shooting for Thats why I gave it nested tables in the layout
btw David, I sent you an email through this forum on another mod matter, please reply if possible....
|
my little forum playground
|
Edited by - xx ENIGMA xx on 14 December 2003 17:22:51 |
|
|
xx ENIGMA xx
Junior Member
166 Posts |
Posted - 14 December 2003 : 17:34:02
|
I found 2 instances of: Originally posted by in post.asp note: I added spaces between [ ] below so it would show right
if strRqMethod = "ReplyQuote" then
TxtMsg = "[ quote][ i]Originally posted by " & chkString(rs("M_NAME"),"display") & "[ /i]" & vbNewline
TxtMsg = TxtMsg & "[ br]" & rs("R_MESSAGE") & vbNewline
TxtMsg = TxtMsg & "[ /quote]"
end if
end if
end if and
if strRqMethod = "TopicQuote" then
TxtMsg = "[ quote][ i]Originally posted by " & chkString(rs("M_NAME"),"display") & "[ /i]" & vbNewline
TxtMsg = TxtMsg & "[ br]" & rs("T_MESSAGE") & vbNewline
TxtMsg = TxtMsg & "[ /quote]"
end if
end if
Any ideas on just how I would modify this to move it up into the table where I now have "quote:" ?
|
my little forum playground
|
|
|
DavidRhodes
Senior Member
United Kingdom
1222 Posts |
Posted - 14 December 2003 : 17:43:02
|
Got mine working http://www.uk-mkivs.net/forum/topic.asp?TOPIC_ID=20790 If you use the full bordered table, there is quite alot of code that you can actually remove
Another important note, if you are changing the style of the quote, you shouldn't replace the code in inc_func_posting.asp, you should add to it, if you replace it then old quote styles will not get converted back to forum code if you edit the post. |
The UK MkIVs Forum |
|
|
DavidRhodes
Senior Member
United Kingdom
1222 Posts |
Posted - 14 December 2003 : 17:45:20
|
You can't move the author up, tried that, too tricky! I think you would need to move "Quote:" down, i'll give it a try tomorrow |
The UK MkIVs Forum |
|
|
xx ENIGMA xx
Junior Member
166 Posts |
Posted - 14 December 2003 : 17:58:44
|
Looks good David, I too will try to play around a bit with it and see what I can come up with myself.
And can you show what you mean by "add to it" instead of removing/commenting out the part in inc_func_posting.asp ? |
my little forum playground
|
Edited by - xx ENIGMA xx on 14 December 2003 18:00:48 |
|
|
DavidRhodes
Senior Member
United Kingdom
1222 Posts |
Posted - 14 December 2003 : 18:13:04
|
Posts are stored in the database as HTML, if you replace the code in inc_func_posting.asp then try to edit "posts with quotes" that were made prior to replacing the [quote] code then they will not convert back to forum code for editing. Therefore you must add to and keep the old code for converting old style quotes. If you look at the base code for 3.4.03 there are 2 methods for converting quotes, one which is commented for compatibilty with older versions of snitz. |
The UK MkIVs Forum |
Edited by - DavidRhodes on 14 December 2003 18:14:25 |
|
|
DavidRhodes
Senior Member
United Kingdom
1222 Posts |
Posted - 14 December 2003 : 18:18:29
|
just to add, this does not apply to inc_func_common.asp, you must replace that line of code |
The UK MkIVs Forum |
|
|
cripto9t
Average Member
USA
881 Posts |
Posted - 15 December 2003 : 11:26:26
|
If you want to move the name to the top of the quote, you can do this in post.asp
if strRqMethod = "TopicQuote" then
TxtMsg = "[ i]Originally posted by " & chkString(rs("M_NAME"),"display") & "[ /i][ quote]" & vbNewline
TxtMsg = TxtMsg & rs("T_MESSAGE") & vbNewline
TxtMsg = TxtMsg & "[ /quote]"
end if Do it for ReplyQuote also |
_-/Cripto9t\-_ |
|
|
xx ENIGMA xx
Junior Member
166 Posts |
Posted - 15 December 2003 : 12:24:07
|
quote: Originally posted by cripto9t
If you want to move the name to the top of the quote, you can do this in post.asp
if strRqMethod = "TopicQuote" then
TxtMsg = "[ i]Originally posted by " & chkString(rs("M_NAME"),"display") & "[ /i][ quote]" & vbNewline
TxtMsg = TxtMsg & rs("T_MESSAGE") & vbNewline
TxtMsg = TxtMsg & "[ /quote]"
end if Do it for ReplyQuote also
thanks cripto9t, I tried moving the [ quote] as you showed here and it just moved Originally posted by author out of the table alltogether and just above it (above the 1st cell w/quote:)
any further ideas?
|
my little forum playground
|
|
|
Topic |
|