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/O Code)
 Does anyone have (cont'd)...
 New Topic  Topic Locked
 Printer Friendly
Author Previous Topic Topic Next Topic  

Goose
New Member

Denmark
74 Posts

Posted - 05 May 2001 :  19:25:07  Show Profile  Visit Goose's Homepage  Send Goose an ICQ Message
Sorry HUWR, but I have an addition...

The MOD you referred to works great but...only admins can change it. I would like for users to be able to choose the colour scheme in their profile.

Regards,
Martin

HuwR
Forum Admin

United Kingdom
20600 Posts

Posted - 05 May 2001 :  19:43:30  Show Profile  Visit HuwR's Homepage
This is not possible presently, the forum variables are currently stored in Application variables in config.asp It may be possible, simply by changing the application variables to session variables or cookies.

Go to Top of Page

work mule
Senior Member

USA
1358 Posts

Posted - 06 May 2001 :  01:50:53  Show Profile
Goose, I think you're right, that at one point Alan's site had something where users could select from a couple of colors for the site.

I don't know if that's still in use and I don't think he posted a mod for it either. Maybe you could email him and ask how he did it.

Go to Top of Page

Aznknight
Senior Member

USA
1373 Posts

Posted - 06 May 2001 :  02:16:13  Show Profile  Send Aznknight an AOL message  Send Aznknight an ICQ Message
actually it's for stuff outside of the forum. and what it does is it let members choose which color scheme they want to use. right now the color scheme is just limited to the outside borders of the site. Also for each scheme, we had to make a different set of icons for it because our layout used round corners which is done with .gif's.

like huwr said, this is has not been implement before because the forum color scheme is based on applications variables.

- Alan
www.iamviet.com
www.calvsa.net
Snitz Resource

Edited by - aznknight on 06 May 2001 02:18:20
Go to Top of Page

Goose
New Member

Denmark
74 Posts

Posted - 06 May 2001 :  06:04:02  Show Profile  Visit Goose's Homepage  Send Goose an ICQ Message
Oki.

I might have a look on it myself then -- when I have some spare time.

Thanks for your replies

Martin
Go to Top of Page

work mule
Senior Member

USA
1358 Posts

Posted - 06 May 2001 :  14:22:01  Show Profile
One possibility is to isolate all the variables that deal with colors. Then in config.asp, you could setup a select case statment in place of or after the part where all the variables are set from the application variables. Instead of using all the application variables, you'd hardcode your alternate sets of colors.

intColorSet is a number which represents all the different color sets you have in place.

Select Case intColorSet
Case 1
strCategoryCellColor = "#990000"
strCategoryFontColor = "#000000"
strForumFirstCellColor = "#cccccc"
strForumCellColor = "#eeeeee"
Case 2
strCategoryCellColor = "#333333"
strCategoryFontColor = "#000000"
strForumFirstCellColor = "#33ffff"
strForumCellColor = "#00ffff"
Case Else
'display default...

End Select

The variables that you'd probably look at modifying are:

strPageBGColor, strDefaultFontColor, strLinkColor, strLinkTextDecoration, strVisitedLinkColor, strVisitedTextDecoration, strActiveLinkColor, strHoverFontColor, strHoverTextDecoration, strHeadCellColor, strHeadFontColor, strCategoryCellColor, strCategoryFontColor, strForumFirstCellColor, strForumCellColor, strAltForumCellColor, strForumFontColor, strForumLinkColor, strTableBorderColor, strPopUpTableColor, strPopUpBorderColor, strNewFontColor

Go to Top of Page
  Previous Topic Topic Next Topic  
 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.5 seconds. Powered By: Snitz Forums 2000 Version 3.4.07