Author |
Topic |
AnonJr
Moderator
United States
5768 Posts |
Posted - 14 February 2006 : 16:08:02
|
quote: The whole skins logic is that these settings are stored in the CSS file in the skins folder, not in the database at all.
Which would imply that to do a skinning project for snitz, you would have to start with a CSS'd version.... or work with the database.
When I get home I'll have to look more at how ServerHacker did it in his v9. |
|
|
Image
Average Member
Canada
574 Posts |
Posted - 14 February 2006 : 17:23:56
|
quote: Originally posted by dayve
quote: Originally posted by Roger Fredriksson
In the version of Imageyou have skins.
that's not really a skin, just a css selector which changes the colors. skins dramatically change the look and feel of the site. spend some time looking at some phpBB sites and you'll notice the major difference.
If you are a registred member, you can change the look and Skin (Graphic Design) from "My Options" link. only with V3.4.05 Multi-Language Skin3D Portal.
And with Version 2.0, same like above but you can edit Theme from "User Profile", you will be able to configure your own forum Font/Table Color Code. |
Edited by - Image on 14 February 2006 17:39:57 |
|
|
Podge
Support Moderator
Ireland
3775 Posts |
Posted - 14 February 2006 : 18:20:02
|
quote: The whole skins logic is that these settings are stored in the CSS file in the skins folder, not in the database at all.
Agreed. However, using the current version of Snitz it makes sense to me that a "Skins Mod" would set the colours in the database because its already a feature of Snitz. I'm not going to start on Snitz and CSS, that puppy has been discussed to death.
My point is, a lot of what you need for a Skins Mod is already there. All you have to do to switch to a new skin is use a different directory for your images and set the colours in the database. Changing the forum layout or having user selectable skins would be a problem but at least its a start.
Edit: Nice work Image. Do you have a demo login ? |
Podge.
The Hunger Site - Click to donate free food | My Blog | Snitz 3.4.05 AutoInstall (Beta!)
My Mods: CAPTCHA Mod | GateKeeper Mod Tutorial: Enable subscriptions on your board
Warning: The post above or below may contain nuts. |
Edited by - Podge on 14 February 2006 18:21:24 |
|
|
Image
Average Member
Canada
574 Posts |
Posted - 14 February 2006 : 19:13:04
|
quote: Nice work Image. Do you have a demo login ?
User: demo Password: demo |
|
|
dayve
Forum Moderator
USA
5820 Posts |
Posted - 15 February 2006 : 10:39:19
|
quote: Originally posted by Podge
I've installed PhpBB before (never used it much though). I know that is uses a directory structure for themes where each template has its own folder. Each theme folder has an image directory (as far as I can remember) and copies of template files for most (if not all) pages for the forum.
It should be easy enough to create a simple skin system for Snitz similar to the above e.g. You would have a main folder for Skins. Within it create a "default" folder which has an "images" folder for the default Snitz icons, graphics and title logo. You only run into difficulty when you have to do things like set the colours in the database and/or change the layout of a page (without using the File System Object for compatability with *nix or shared servers).
I believe phpBB is a bit more involved than that to easily implement it with Snitz. |
|
|
|
-gary
Development Team Member
406 Posts |
Posted - 15 February 2006 : 11:01:37
|
I believe phpBB uses Smarty for their template system if anyone cares to look at it.
Real file based templates are easy in ASP as long as you have access to the file system and regular expressions. Without either of those (which php supports natively in an excellent implementation) it is almost impossible to create a decent system outside of CSS switching. Two other common needs, but not necessarily show stoppers, are native XML parsing and dynamic includes.
There is/was a SF project called ASP Template that looked promising but suffered from requiring the first two components above and a nasty little problem with ASP's buggy concatenation performance. |
KawiForums.com
|
|
|
AnonJr
Moderator
United States
5768 Posts |
|
-gary
Development Team Member
406 Posts |
|
Podge
Support Moderator
Ireland
3775 Posts |
|
AnonJr
Moderator
United States
5768 Posts |
Posted - 15 February 2006 : 13:16:28
|
quote: What would you think of storing the static templates in the db instead of using FSO to access them ?
If they are small files, and you've got either a decent DB or low traffic, I wouldn't think that it would be too big a problem... |
|
|
-gary
Development Team Member
406 Posts |
Posted - 15 February 2006 : 13:39:25
|
I actually modified the ASP Template scripts to use the application space to store the raw templates. RAM is cheap and much faster than pulling from either the file system or a DB.
Either way, the entire template discussion for Snitz suffers the same fate as every other advancing discussion in that it's going to cost in resources and the minimilist baseline for Snitz doesn't allow any headroom. |
KawiForums.com
|
|
|
AnonJr
Moderator
United States
5768 Posts |
Posted - 15 February 2006 : 14:19:30
|
How big of a cost are we talking about? Something that will get all the shared-host people threatening letters? |
|
|
Podge
Support Moderator
Ireland
3775 Posts |
|
Helterskelter
Junior Member
United Kingdom
331 Posts |
Posted - 15 February 2006 : 16:17:33
|
I say go for it.
Put a admin on/off then wo worries for people who dont want it, Use simple small gif's and then it's up to the user to customise to what they want....
How ever this is some thing that should be looked into as every other forum is now dowing as default.
Helter |
|
|
|
MarkJH
Senior Member
United Kingdom
1722 Posts |
Posted - 15 February 2006 : 17:56:05
|
quote: How ever this is some thing that should be looked into as every other forum is now dowing as default.
Snitz'll probably get it sometime next decade, then. |
Bandlink.net - http://www.bandlink.net/ Bandlink Music Forums - http://www.bandlink.net/forum/ |
|
|
Topic |
|