Snitz Forums 2000
Snitz Forums 2000
Home | Profile | Register | Active Topics | Members | Search | FAQ
Username:
Password:
Save Password
Forgot your Password?

 All Forums
 Snitz Forums 2000 MOD-Group
 MOD Add-On Forum (W/Code)
 Alternate Quote Code (revisited)
 New Topic  Reply to Topic
 Printer Friendly
Author Previous Topic Topic Next Topic  

MarcelG
Retired Support Moderator

Netherlands
2625 Posts

Posted - 07 October 2005 :  11:30:16  Show Profile  Visit MarcelG's Homepage  Reply with Quote
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.<

portfolio - linkshrinker - oxle - twitter

MarkJH
Senior Member

United Kingdom
1722 Posts

Posted - 09 October 2005 :  19:22:57  Show Profile  Visit MarkJH's Homepage  Reply with Quote
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 & _

<

Bandlink.net - http://www.bandlink.net/
Bandlink Music Forums - http://www.bandlink.net/forum/
Go to Top of Page

MarcelG
Retired Support Moderator

Netherlands
2625 Posts

Posted - 10 October 2005 :  04:32:32  Show Profile  Visit MarcelG's Homepage  Reply with Quote
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.<

portfolio - linkshrinker - oxle - twitter
Go to Top of Page

MarkJH
Senior Member

United Kingdom
1722 Posts

Posted - 10 October 2005 :  19:07:51  Show Profile  Visit MarkJH's Homepage  Reply with Quote
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. <

Bandlink.net - http://www.bandlink.net/
Bandlink Music Forums - http://www.bandlink.net/forum/
Go to Top of Page

MarkJH
Senior Member

United Kingdom
1722 Posts

Posted - 17 October 2005 :  14:24:26  Show Profile  Visit MarkJH's Homepage  Reply with Quote
Now THAT worked.

Wonder why it needed the extra code?<

Bandlink.net - http://www.bandlink.net/
Bandlink Music Forums - http://www.bandlink.net/forum/
Go to Top of Page

MarcelG
Retired Support Moderator

Netherlands
2625 Posts

Posted - 17 October 2005 :  15:22:00  Show Profile  Visit MarcelG's Homepage  Reply with Quote
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:
)<

portfolio - linkshrinker - oxle - twitter

Edited by - MarcelG on 17 October 2005 15:28:25
Go to Top of Page

MarkJH
Senior Member

United Kingdom
1722 Posts

Posted - 17 October 2005 :  19:29:01  Show Profile  Visit MarkJH's Homepage  Reply with Quote
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. <

Bandlink.net - http://www.bandlink.net/
Bandlink Music Forums - http://www.bandlink.net/forum/
Go to Top of Page

OneWayMule
Dev. Team Member & Support Moderator

Austria
4969 Posts

Posted - 17 October 2005 :  19:36:38  Show Profile  Visit OneWayMule's Homepage  Send OneWayMule an ICQ Message  Reply with Quote
I've just added this to one of my forums... very nice! <

My MODs:
Birthdays - Custom Policy - F.A.Q. Administration - Forum Rules - Guestbook
Links Manager - MyOwnGoogle - Profile Views - Search Log - WebSearch

Useful stuff:
Forum and MOD Installation - MOD Installation Guide - Snitz v3.4.05 Readme - Free ASP Hosts - Support Snitz
Go to Top of Page

kwhipp
Junior Member

USA
407 Posts

Posted - 17 October 2005 :  23:20:21  Show Profile  Visit kwhipp's Homepage  Send kwhipp an AOL message  Send kwhipp an ICQ Message  Send kwhipp a Yahoo! Message  Reply with Quote
I've added it to my new site that is currently under development ... EXTRA COOL!!!

Thanks for sharing.<

- Kevin
Go to Top of Page
  Previous Topic Topic Next Topic  
 New Topic  Reply to Topic
 Printer Friendly
Jump To:
Snitz Forums 2000 © 2000-2021 Snitz™ Communications Go To Top Of Page
This page was generated in 0.17 seconds. Powered By: Snitz Forums 2000 Version 3.4.07