Alternate Quote Code (revisited)

Snitz™ Forums 2000
https://forum.snitz.com/forumTopic/Posts/59787?pagenum=1
05 November 2025, 14:18

Topic


MarcelG
Alternate Quote Code (revisited)
07 October 2005, 11:30


I thought I published this mod some time ago already, but when being asked for it today, I found out I couldn't find it anymore here at Snitz. So, here's an updated version, which changes the quote-function. It does 2 things ;
  • Quote's are stored in the DB in forumcode format. So, no HTML, just plain [quote][/quote] in the db. Conversion to HTML is done onload, by the ExtraTags function. (in other words, Forumcode needs to be enabled, and it'll cost you less db space but a little bit more serverresources (which I guess are virtually zero to none). Side effect is that the layout of quotes made with the new quote code can be updated by simlpy editing the CSS style)
  • Quotes are placed inside a div, which has a CSS defined style
Since the [code][/code] function has some problems interpreting forumcode within the code, I cannot post the code changes here directly. So, therefore, I will post a link to the mod at Oxle (includes a demo). Here it is: http://www.oxle.com/topic.asp?TOPIC_ID=3192#30425

Enjoy.<

 

Replies ...


MarkJH
09 October 2005, 19:22


For some reason, every time I try to implement this, I get a quotebox with a dashed-line round the outside but the dashes are about 100 pixels or so thick!
Maybe it's something to do with the CSS work I've done to the site, I don't know. I've tried it twice, to no avail.
One thing I have noticed though. The line it says to edit in inc_header.asp which goes:

"input.radio {background:" & strPopUpTableColor & ";color:#000000}" & vbNewLine & _

Looks like this in mine:

"input.radio {color:#000000}" & vbNewLine & _

question<
MarcelG
10 October 2005, 04:32


Originally posted by MarkJH
One thing I have noticed though. The line it says to edit in inc_header.asp which goes:

"input.radio {background:" & strPopUpTableColor & ";color:#000000}" & vbNewLine & _

Looks like this in mine:

"input.radio {color:#000000}" & vbNewLine & _

question
I made the mod based on default 3.4.05; the line you mention has been the way I described since at least 3.4.04, so I guess that's something you modified yourself earlier on.<
MarkJH
10 October 2005, 19:07


My version's built around 3.4.03 but I can't be certain if it was a change I made or not. It's been a long time since it was standard code!
The server's busy processing right now but if I have the time I'll try it again tomorrow using your alternate style. Cheers. smile<
MarkJH
17 October 2005, 14:24


Now THAT worked. bigsmile
Wonder why it needed the extra code?<
MarcelG
17 October 2005, 15:22


Which browser did you use ? Perhaps, you used a browser that was a bit more strict about div-styles?

(By the way, you seem to be missing a space in your paging script on forum.asp:
)<
MarkJH
17 October 2005, 19:29


I'm using good ole IE6. smile
The most important thing is it's working. Just got to tweak it a bit to make it fit a bit better with my site style and bingo. Really nice little modification that. Looks a lot more '2005'. bigsmile
(By the way, you seem to be missing a space in your paging script on forum.asp:
There was a reason for that, I'm sure... but it escapes me now. wink<
OneWayMule
17 October 2005, 19:36


I've just added this to one of my forums... very nice! smile<
kwhipp
17 October 2005, 23:20


I've added it to my new site that is currently under development ... EXTRA COOL!!!
Thanks for sharing.<
© 2000-2021 Snitz™ Communications