Author |
Topic |
xx ENIGMA xx
Junior Member
166 Posts |
Posted - 11 December 2003 : 15:11:38
|
what I am wanting to do is modify how the replying with quote appears in posts. Instead of:
quote: originally posted by: xxxxx
the body of the quoted message here
blah blah blah blah blah blah blah
I am looking to have this info in its own table within the post itself.
meaning I would have a square box with my choice of bgcolor and my choice of width to replace the above normal snitz method.
I have looked in several files and can find only 2 that could possibly be modified to do this and my attempts did nothing
Can anyone help me to do this?
|
my little forum playground
|
|
DavidRhodes
Senior Member
United Kingdom
1222 Posts |
Posted - 11 December 2003 : 16:19:58
|
Try a search, the code for this has been posted recently |
The UK MkIVs Forum |
|
|
xx ENIGMA xx
Junior Member
166 Posts |
Posted - 11 December 2003 : 16:55:09
|
thanks, I have done a search and came up with everything but.... what do you suggest searching for (keywords) ?? |
my little forum playground
|
|
|
DavidRhodes
Senior Member
United Kingdom
1222 Posts |
|
xx ENIGMA xx
Junior Member
166 Posts |
Posted - 11 December 2003 : 17:06:06
|
thanks, I may can work with that...I was still doing searches and never came accross that one you linked |
my little forum playground
|
|
|
DavidRhodes
Senior Member
United Kingdom
1222 Posts |
Posted - 11 December 2003 : 17:14:09
|
I tried doing this a while back, it worked fine when quoting one post, but messed up when quoting a quoted post, gave up in the end! You need to make changes in the chkString function and somewhere else I think, chkString converts it to html and the other converts it back to forum code |
The UK MkIVs Forum |
|
|
xx ENIGMA xx
Junior Member
166 Posts |
Posted - 11 December 2003 : 17:20:55
|
thanks for that info, I want the feature but that all sounds like its way over my head now
Sure wish it was more simple than that, and on quoting a post that already has a quote or one that your plainly just quoting, I also wish it didnt include signatures in the quote... dont suppose there's an easy way to turn that off? |
my little forum playground
|
Edited by - xx ENIGMA xx on 11 December 2003 17:22:34 |
|
|
xx ENIGMA xx
Junior Member
166 Posts |
Posted - 13 December 2003 : 16:36:20
|
just wanted to bump this since I was given instructions here how to do this hope it helps someone else... |
my little forum playground
|
|
|
cripto9t
Average Member
USA
881 Posts |
Posted - 14 December 2003 : 07:52:18
|
I did this a while ago. The code changes must be the same in "inc_func_common" and "inc_func_posting". Postings "cleancode" is the one that changes html back to forum code, to insert in the message. I know this was explained in the other thread, I just thought I'd point it out in this one . I had one strange problem with <hr> tags. My code changes included <hr> tags, which worked fine for the first quote but the 2nd quote messed it all up. If I removed them it would work fine. I couldn't get around it so ended up doing something without the tags. I found it strange because <hr> is in the original code . |
_-/Cripto9t\-_ |
|
|
RebelTech
Average Member
USA
613 Posts |
Posted - 14 December 2003 : 14:36:58
|
Enigma, from the other thread, Marcel warned about some situations and how this would not work right. Have you run across any problems at all? |
|
|
xx ENIGMA xx
Junior Member
166 Posts |
Posted - 14 December 2003 : 15:01:39
|
quote: Originally posted by RebelTech
Enigma, from the other thread, Marcel warned about some situations and how this would not work right. Have you run across any problems at all?
actually no, it seems to work just fine. Although it does have 2 lines of code changes he noted that I left unalterd for my forum and they dont seem to do anything. What I mean by that is that I only had to edit colors/borders on the 1 line of code from inc_func_common.asp, then only 1 line in the other.
I was meaning to ask marcel what the other 2 lines functioned as, but in my testing of replying w/quote, then quoting replies one after another gave no problems.
I'll also note that I changed the style format he was using to one that was shorter and works for me like: style=""border-collapse: collapse"" border=""1"" bordercolor=""#000000""
feel free to test it on my forum or IM me if you have trouble. |
my little forum playground
|
|
|
laser
Advanced Member
Australia
3859 Posts |
Posted - 14 December 2003 : 15:07:56
|
quote: I also wish it didnt include signatures in the quote... dont suppose there's an easy way to turn that off?
Make sure you have dynamic sig's turned on. |
|
|
DavidRhodes
Senior Member
United Kingdom
1222 Posts |
Posted - 14 December 2003 : 15:11:25
|
You would have problems if you ever change your forum colours that are used in the quote block, the old ones won't convert properly |
The UK MkIVs Forum |
|
|
RebelTech
Average Member
USA
613 Posts |
Posted - 14 December 2003 : 15:16:47
|
quote: Originally posted by DavidRhodes
You would have problems if you ever change your forum colours that are used in the quote block, the old ones won't convert properly
Even if you used strTableBorderColor? |
|
|
DavidRhodes
Senior Member
United Kingdom
1222 Posts |
Posted - 14 December 2003 : 15:28:03
|
quote: Originally posted by RebelTech
quote: Originally posted by DavidRhodes
You would have problems if you ever change your forum colours that are used in the quote block, the old ones won't convert properly
Even if you used strTableBorderColor?
No, only when you use strTableBorderColor, lets say you change the colour value for strTableBorderColor, all previous quotes in posts will have the old value stored in the database. Therefore, when you "reply with quote" to one of the old posts, the CleanCode function won't convert the code back to forum code |
The UK MkIVs Forum |
|
|
RebelTech
Average Member
USA
613 Posts |
Posted - 14 December 2003 : 15:50:37
|
ok... I am a little apprehensive. Will this mod change the display of posts made prior to doing this mod or will you have all previous quotes will appear as they do now and future quotes will appear as they are formatted in the mod? I like the look of the quotes on Marcel's Forum but I am trying to weigh out the risks... |
|
|
Topic |
|