Theme Config
From PsychoWiki
PsychoStats » PsychoStats Configuration » Theme Config
| |
This page was automatically generated and needs to be cleaned up. It wont be auto generated again so please feel free to lend a hand. If the content is already clean remove this warning. |
Main theme settings
- allow_user_change - Can users select different themes from the default? (if other themes are available).
- compiledir - Directory to save compiled themes to. Directory must be writable by the web server user. If left blank the system default will be used (usually c:\temp for windows and /tmp for linux).
- force_compile - If enabled the pages within the theme are ALWAYS compiled on every request. This should NEVER be enabled unless you are working on a theme or the language within a theme. Having this enabled causes pages to be appromimately 0.5 - 2.0 seconds slower.
- hide_config_help - Hide the configuration help box?
- page_benchmark - Should a page benchmark be shown on each page (usually at the bottom)? The benchmark shows how long it took for the page to process and how many SQL queries there were. Some people might prefer to disable this.
- rootflagsdir - Root directory for flag images. If left blank this directory will be relative to rootimagesdir: "rootimagesdir/flags"
- rootflagsurl - ...
- rooticonsdir - ...
- rooticonsurl - ...
- rootimagesdir - ...
- rootimagesurl - ...
- rootmapsdir - ...
- rootmapsurl - ...
- rootrolesdir - ...
- rootrolesurl - ...
- rootweaponsdir - ...
- rootweaponsurl - ...
- scripturl - ...
- show_ips - ...
- show_login - ...
- show_register - ...
- stylesheet - ...
- themedir - ...
- themeurl - ...
[edit] Section: format
- format.allowed_html_tags - What tags are allowed within HTML inputted by users (from player and clan logos). Comma seperated list of valid tags, IE: a,img,b,hr
- format.date - Default date format for all date timestamps in a theme. This is generally used for all date output in the theme (no time value). Theme authors can override this with their own formats on each date variable specifically. See the php docs for the date format
- format.datetime - Default date format for all date timestamps in a theme. This is generally used for all date+time output in the theme. Theme authors can override this with their own formats on each date variable specifically. See the php docs for the date format
- format.time_offset - If your stats are processed on a remote game server that is in a different timezone you can set the time offset between this website and the game server. Ex: game server is +05:00 and the website is +04:00 -- You would set the offset to -01:00
[edit] Section: icons
- icons.allow_overwrite - ...
- icons.allow_upload - ...
- icons.max_height - ...
- icons.max_size - ...
- icons.max_width - ...
[edit] Section: images
- images.cache_dir - ...
- images.cache_enabled - ...
- images.cache_timeout - ...
- images.search_ext - ...
[edit] Section: map
- map.google_key - Your Google API key must be entered in order for Google Maps to function. See the google API for more information.
- map.iplookup_url - The URL that is used to fetch the information for an IP address. Use $ip to embed the IP to lookup. If $ip is not specified it will automatically be appended to the URL.