T O P I C R E V I E W |
MarcelG |
Posted - 07 October 2005 : 11:30:16 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.< |
8 L A T E S T R E P L I E S (Newest First) |
kwhipp |
Posted - 17 October 2005 : 23:20:21 I've added it to my new site that is currently under development ... EXTRA COOL!!!
Thanks for sharing.< |
OneWayMule |
Posted - 17 October 2005 : 19:36:38 I've just added this to one of my forums... very nice! < |
MarkJH |
Posted - 17 October 2005 : 19:29:01 I'm using good ole IE6.
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'.
quote: (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. < |
MarcelG |
Posted - 17 October 2005 : 15:22:00 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 |
Posted - 17 October 2005 : 14:24:26 Now THAT worked.
Wonder why it needed the extra code?< |
MarkJH |
Posted - 10 October 2005 : 19:07:51 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. < |
MarcelG |
Posted - 10 October 2005 : 04:32:32 quote: Originally posted by MarkJH
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.
That's very strange. Have you tried already tried an alternate style for the div ? For example:
".quoteboxhead {margin-left:30px; margin-right:0px; margin-top:5px; margin-bottom:2px;font-family: " & strDefaultFontFace & "; font-size: 8pt}" & vbNewLine & _
".quotebox {margin-right:5px;margin-left:30px; margin-bottom:8px; margin-top:4px; padding:4px; border-width: thin; border-color: "& strTableBorderColor &"; border-style: dashed; height:auto; background-color:#F5F5F5;font-family: ""Lucida Sans Unicode"", ""Verdana"", ""sans-serif""; font-size: 9pt}" & vbNewLine & _
quote: 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 & _
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 |
Posted - 09 October 2005 : 19:22:57 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 & _
< |