OGS - Frequently Asked Questions - User styling


[Main FAQ][Rules and Scoring][Features][Game Interface][OGS Rating System][Title tournaments][Minitournaments][Ladders][User styling]


  1. How can I change my site skin / board background / board stones?
  2. How can I create my own skin?
  3. Local style doesn't work (/tmp/ogs/styles.css or C:\OGS\styles.css) under Firefox! -- thanks to Leira for the answer

1. How can I change my site skin / board background / board stones?

You should go to the site skinning section of this website and select the skin / board background / board stones that suits you best.

[Back to Top]


2. How can I create my own skin?

Effective 20 October, 2011 skins can no longer be contributed. We are working on a way for users to create their own colors, but site structure (in css) will no longer be alterable. The old instructions remain below.

---------------

If you would like to make your own style to be added to the list, and contribute to the personalisation options on the site, then that would be great - Download the styling sandbox and play around with the .css yourself. You can also use the "LOCAL" style by putting your css in the correct directory to use the website directly with your version. Submit any entries you complete here, and you will have ownership of the style, meaning that you have responsibilities and control over any updates you wish to make to your style.

[Back to Top]


3. Local style doesn't work (/tmp/ogs/styles.css or C:\OGS\styles.css) under Firefox! -- thanks to Leira for the answer

FireFox gives users the possibility to set their own preferences in a file named user.js (see http://kb.mozillazine.org/User.js_file). You most likely will have to create it by hand, as it does not exist by default.

In order to do that, you must go to your "profile folder" (the one FireFox creates with your personal settings and info). Personally, my computer runs under Linux, and I found mine in some subfolder of ~/.mozilla/firefox for Windows users it should be at some subfolder of
C:\Documents and Settings\<login/username>\Application Data\Mozilla\Firefox\Profiles (for Win XP)
C:\Users\<login/username>\AppData\Roaming\Mozilla\Firefox\Profiles (for Win Vista and 7)

Check out this link http://kb.mozillazine.org/Profile_folder_-_Firefox for more detailed information.
Just be sure that there is another file named prefs.js within the same folder. If there is already a user.js, you only have to edit it so as to include the following code, else, create a file with that name. Any text editor will do the trick (you might want to be careful with Notepad though, as it uses txt as its default file extension)

//Grant OGS access to local files
user_pref("capability.policy.policynames", "localfilelinks");
user_pref("capability.policy.localfilelinks.sites", "http://www.online-go.com");
user_pref("capability.policy.localfilelinks.checkloaduri.enabled", "allAccess");

Save the file and restart FireFox, now you should be able to use the Local skinning, and edit it, and have fun with it :)

Hope that helps. If you may know, I got that information from here http://kb.mozillazine.org/Links_to_local_pages_do_not_work

DISCLAIMER: it is due to security reasons that FireFox and Chrome disable links to local files from remote files. Allowing them may put your computer at risk (as it may give malicious code the opportunity to access your personal information or worse), so please do it at your own discretion :)

[Back to Top]



Rules - Privacy - Terms and Conditions - Contact Us

Hosted by: NainWak.Org