Theme Config

From PsychoWiki

Jump to: navigation, search

PsychoStats » PsychoStats Configuration » Theme Config

Image:warning.png

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

[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

[edit] Section: images

[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.