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

 All Forums
 Community Forums
 Graphics & Style in Snitz!
 Skins
 New Topic  Topic Locked
 Printer Friendly
Previous Page | Next Page
Author Previous Topic Topic Next Topic
Page: of 3

AnonJr
Moderator

United States
5768 Posts

Posted - 14 February 2006 :  16:08:02  Show Profile  Visit AnonJr's Homepage
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.
Go to Top of Page

Image
Average Member

Canada
574 Posts

Posted - 14 February 2006 :  17:23:56  Show Profile  Visit Image's Homepage  Send Image an ICQ Message
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
Go to Top of Page

Podge
Support Moderator

Ireland
3775 Posts

Posted - 14 February 2006 :  18:20:02  Show Profile  Send Podge an ICQ Message  Send Podge a Yahoo! Message
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
Go to Top of Page

Image
Average Member

Canada
574 Posts

Posted - 14 February 2006 :  19:13:04  Show Profile  Visit Image's Homepage  Send Image an ICQ Message
quote:
Nice work Image. Do you have a demo login ?

User: demo
Password: demo
Go to Top of Page

dayve
Forum Moderator

USA
5820 Posts

Posted - 15 February 2006 :  10:39:19  Show Profile  Visit dayve's Homepage
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.

Go to Top of Page

-gary
Development Team Member

406 Posts

Posted - 15 February 2006 :  11:01:37  Show Profile
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


Go to Top of Page

AnonJr
Moderator

United States
5768 Posts

Posted - 15 February 2006 :  11:15:34  Show Profile  Visit AnonJr's Homepage
With regards to string concatenation, maybe this article might help....
Go to Top of Page

-gary
Development Team Member

406 Posts

Posted - 15 February 2006 :  11:48:53  Show Profile
Getting off topic here. Super Fast String Concatenation

KawiForums.com


Go to Top of Page

Podge
Support Moderator

Ireland
3775 Posts

Posted - 15 February 2006 :  12:42:58  Show Profile  Send Podge an ICQ Message  Send Podge a Yahoo! Message
Thanks for that -gary. This link explains what I was needing to know - http://smarty.php.net/crashcourse.php

What would you think of storing the static templates in the db instead of using FSO to access them ? Not ideal I know but at least it would be in the spirit of Snitz (in that it would be available to everyone).

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.
Go to Top of Page

AnonJr
Moderator

United States
5768 Posts

Posted - 15 February 2006 :  13:16:28  Show Profile  Visit AnonJr's Homepage
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...
Go to Top of Page

-gary
Development Team Member

406 Posts

Posted - 15 February 2006 :  13:39:25  Show Profile
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


Go to Top of Page

AnonJr
Moderator

United States
5768 Posts

Posted - 15 February 2006 :  14:19:30  Show Profile  Visit AnonJr's Homepage
How big of a cost are we talking about? Something that will get all the shared-host people threatening letters?
Go to Top of Page

Podge
Support Moderator

Ireland
3775 Posts

Posted - 15 February 2006 :  15:09:03  Show Profile  Send Podge an ICQ Message  Send Podge a Yahoo! Message
They'd probably get them anyway. I imagine the cost (memory wise) isn't all that much.

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.
Go to Top of Page

Helterskelter
Junior Member

United Kingdom
331 Posts

Posted - 15 February 2006 :  16:17:33  Show Profile  Visit Helterskelter's Homepage  Send Helterskelter an ICQ Message
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

Go to Top of Page

MarkJH
Senior Member

United Kingdom
1722 Posts

Posted - 15 February 2006 :  17:56:05  Show Profile  Visit MarkJH's Homepage
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/
Go to Top of Page
Page: of 3 Previous Topic Topic Next Topic  
Previous Page | Next Page
 New Topic  Topic Locked
 Printer Friendly
Jump To:
Snitz Forums 2000 © 2000-2021 Snitz™ Communications Go To Top Of Page
This page was generated in 0.13 seconds. Powered By: Snitz Forums 2000 Version 3.4.07