ioi said:
Member comments are in the process of being added, info on how many members own the game is now removed in line with other big sites, boxarts will soon have a new dedicated page with full, scrollable images, score boxes are the prime focus which is why they are large, sales info will be added soon.
Forum is staying black on white since everybody moaned so much when we moved to white on black.
|
Hey Ioi,
I don't want to sound like I am beating a dead horse, but I was thinking about my earlier idea earlier for colors...
I think it would take maybe 1 - 2 hours to change it so that people can choose a different color scheme, let me go into detail:
I am assuming 2 things:
1)User preferences/settings are kept in a MySQL table, for how many posts per page, etc you want
2)The "pages" we see are actually passed through a PHP page before they are rendered to the browser
So..
Step 1: Create a new column in the user table, call it color or something
Step 2: Create a new section in the settings page where you can update your color scheme
Step 3: When rendering the page through the PHP page for the css style sheet concatenate a number (stored from the User settings MySQL colum onto the CSS page - you will need more than 1 css sheet for this to work)
Step 1: Create a new column in user MySQL table, call it color, default it to "1" (without the quotes) this is the number of the current color scheme (black on white) - pretty selfexplanitory, time to complete - minutes
Step 2: Create a new sections page where we can choose color scheme - time to complete - 30 minutes. When user changes the color scheme it will update the mysql table with the new color, to keep it easy, lets just to black text on white background and white text on black background - if they choose the latter, replace the "1" in the color column for the user with a 2.
Step 3: When you render the page through the PHP script just have the PHP script grab the column value from the users mysql row.. Been awhile since I did PHP but would be something like:
Select color from user_table where user = "tanstalas" (this would return a "2" for example if I had the setting for white text on black)
When it renders the CSS part going through the PHP table just concatenate the number onto the end of the css page. Right now it looks like the following (assume this is the CSS page)
<link rel="stylesheet" href="http://gamrconnect.vgchartz.com/assets/css/master.css" type="text/css" />
So basically you would just use PHP to concatenate the number from the color column of my settings to the css sheet so..
<link rel="stylesheet" href="http://gamrconnect.vgchartz.com/assets/css/master" . $color .".csstype="text/css" />
Now you would have 2 different css sheets stored in the assets/css folder for a black on white and white on black master1.css and master2.css
You can add different combinations as well to settings, red on white for example would insert a 3 into the column and you would have to make another CSS sheet with a red on white - but once you have ti set up, adding new color schemes would be easy.
The most time intensive part of this would be doing a find and replace on the master.css page and replacing the text color and background color's and then saving the new sheet and uploading it..
I'm sure there is stuff I did wrong up there, been about 8 years since I graduated from college.. but you get the point..
Anyhow, this is the last you will hear from me on this idea, I know you said that the Black on white will stay, but I think the above is an easy to implement solution that would only take a couple of hours and will please a lot of people..
Also I realize this is a cosmetics thing, and you have more important things to worry about now, but just throwing this out there for the future :)