Alternate Quote Code (revisited) - Posted (979 Views)
Retired Support Moderator
MarcelG
Posts: 2625
2625
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.<
 Sort direction, for dates DESC means newest first  
 Page size 
Posted
Senior Member
MarkJH
Posts: 1722
1722
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<
Bandlink.net - http://www.bandlink.net/
Bandlink Music Forums - http://www.bandlink.net/forum/
Posted
Retired Support Moderator
MarcelG
Posts: 2625
2625
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.<
Posted
Senior Member
MarkJH
Posts: 1722
1722
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<
Bandlink.net - http://www.bandlink.net/
Bandlink Music Forums - http://www.bandlink.net/forum/
Posted
Senior Member
MarkJH
Posts: 1722
1722
Now THAT worked. bigsmile
Wonder why it needed the extra code?<
Bandlink.net - http://www.bandlink.net/
Bandlink Music Forums - http://www.bandlink.net/forum/
Posted
Retired Support Moderator
MarcelG
Posts: 2625
2625
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:
)<
Posted
Senior Member
MarkJH
Posts: 1722
1722
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<
Bandlink.net - http://www.bandlink.net/
Bandlink Music Forums - http://www.bandlink.net/forum/
Posted
Dev. Team Member & Support Moderator
OneWayMule
Posts: 4969
4969
Posted
Junior Member
kwhipp
Posts: 407
407
I've added it to my new site that is currently under development ... EXTRA COOL!!!
Thanks for sharing.<
- Kevin
 
You Must enter a message