Author |
Topic |
work mule
Senior Member
USA
1358 Posts |
Posted - 04 May 2002 : 01:17:49
|
Now you can convert to CSS today!! No more waiting...
This is from an archived post. Since the original link doesn't work anymore, I get emails from people requesting a copy of this. So to make it easier/quicker for people to find this, I'm 'reposting' this since I can't modify the original.
Original Post: http://forum.snitz.com/forum/topic.asp?ARCHIVE=true&TOPIC_ID=14627
Download Link (courtesy of Ls3k Snitz Exchange): http://www.ls3k.com/snitz/mods.asp?action=details&ID=49
Real briefly, this was a copy of that particular version of Snitz, which was current at that time, converted to CSS. Now there's been a lot of patches, bug fixes, etc since then so I wouldn't use that forum code unless you know what to change. The thing that's relevant about the download is that inside the zip file is the perlscript and instructions on how to do run the conversion process. Don't be intimidated by it being perl, it's not difficult to use.
One thing to note, is that this can be used for other files outside of Snitz. Run the conversion process. Confirm that everything has been converted. If needed, perform a search in that group of files for variations of the <font> tag (or whatever string you need to replace) and look through the list. Update the conversion_datafile.txt with the strings to be replaced and the new string and run the script again. After a couple of times, you'll have all the instances found and everything will be converted within seconds.
|
|
mortioli
Average Member
United Kingdom
898 Posts |
Posted - 14 August 2002 : 17:07:17
|
The link points to 'Random Quote MOD' |
|
|
OneWayMule
Dev. Team Member & Support Moderator
Austria
4969 Posts |
|
Etymon
Advanced Member
United States
2385 Posts |
Posted - 14 August 2002 : 18:43:17
|
Thanks for posting about this.
Does anyone know what the stats differences there are between a CSS'ed version and non-CSS'ed version? For instance, does it load faster? My impression is that it does. Just curious.
Thanks again for the link,
Etymon
|
|
|
Podge
Support Moderator
Ireland
3775 Posts |
|
Etymon
Advanced Member
United States
2385 Posts |
Posted - 14 August 2002 : 19:27:53
|
I've already started rewriting the HTML in my files with Response.write code, so I am not sure. Has the CSS'ed version been refitted with Response.write statements?
Also, what version of CSS was it done in (i.e. is it easily compatible with Netscape and Internet Explorer?)? I have seen some CSS'ed forums which look nice in IE but not so in Netscape.
Thanks for the help,
Etymon
|
|
|
Podge
Support Moderator
Ireland
3775 Posts |
|
@tomic
Senior Member
USA
1790 Posts |
Posted - 14 August 2002 : 20:10:58
|
I will also add that it's faster. Pages render almost instantaneously now and I don't have to sit and chew my nails like I did when it took 2 seconds. But that's with DSL of course. I implememted this MOD or at least the styles.asp page so I could cheat and not have to figure out the database connection and all that for the style sheet.
Considering the performance improvement I still can't figure out why Snitz has yet to include CSS and wants to go for multiple language support first. I could see waiting if it was hard but I converted my site to CSS by hand(didn't use the perl script) in about 6 hours.
@tomic |
SportsBettingAcumen.com |
|
|
Etymon
Advanced Member
United States
2385 Posts |
Posted - 14 August 2002 : 22:04:32
|
Great! Thanks, @tomic and podge!
Thanks also mule/podge for the mod. ... While I have you here, isn't there some other MODs you did a long time ago? Will check my notes when I get home.
Meanwhile, I am looking forward to implementing this mod!
If I understand correctly, what I mostly looking for in this mod is the perl script and that I should use the downloaded forum as an example of what it should look like, right?
Etymon
|
Edited by - Etymon on 14 August 2002 22:08:23 |
|
|
@tomic
Senior Member
USA
1790 Posts |
Posted - 14 August 2002 : 22:14:22
|
Didn't Podge do the original advanced color picker MOD?
@tomic |
SportsBettingAcumen.com |
|
|
Etymon
Advanced Member
United States
2385 Posts |
Posted - 14 August 2002 : 22:17:37
|
Yes, something to do with color. That sounds about right.
|
|
|
RichardKinser
Snitz Forums Admin
USA
16655 Posts |
|
Nathan
Help Moderator
USA
7664 Posts |
Posted - 15 August 2002 : 01:31:51
|
quote: Originally posted by Podge
Its a lot faster.
I'm not sure about having the stylesheet in an asp page though. Does it not defeat the whole purpose and any performance gains are lost?
The only loss of having it in the page will be the loss of downloading the style sheet with every page.
This is alot less than downloading hunderds and hundreds of <font color="blah" face="blah" size="blah"> . . . |
Nathan Bales CoreBoard | Active Users Download |
|
|
Deleted
deleted
4116 Posts |
Posted - 15 August 2002 : 03:06:46
|
Nathan, if you fix it and put it in a file, and put link from your <head></head> tag, it will be in your browser cache. And yes, it will not be admin editable...
|
Stop the WAR! |
|
|
bjlt
Senior Member
1144 Posts |
Posted - 15 August 2002 : 03:48:35
|
quote: Originally posted by bozden
Nathan, if you fix it and put it in a file, and put link from your <head></head> tag, it will be in your browser cache. And yes, it will not be admin editable...
I think if you have fso enabled you can write the style sheet as static and link it in the head, then you can still use the admin part. you can also add an input in the admin section for the output file name, and use scripts to deside which one to link, then you can have my themes this way. |
|
|
Podge
Support Moderator
Ireland
3775 Posts |
|
Topic |
|