Author |
Topic  |
|
Goose
New Member

Denmark
74 Posts |
Posted - 05 May 2001 : 19:25:07
|
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
|
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.
|
 |
|
work mule
Senior Member
   
USA
1358 Posts |
Posted - 06 May 2001 : 01:50:53
|
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.
|
 |
|
Aznknight
Senior Member
   
USA
1373 Posts |
Posted - 06 May 2001 : 02:16:13
|
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 |
 |
|
Goose
New Member

Denmark
74 Posts |
Posted - 06 May 2001 : 06:04:02
|
Oki.
I might have a look on it myself then -- when I have some spare time.
Thanks for your replies
Martin |
 |
|
work mule
Senior Member
   
USA
1358 Posts |
Posted - 06 May 2001 : 14:22:01
|
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
|
 |
|
|
Topic  |
|