glFusion Wiki

Site Tools


glfusion:configuration:miscellaneous

Miscellaneous

Cookies

These variables define the names of all of glFusion's cookies. They can easily be changed in case there's a name collision with the cookies used by some other software package that you may use on your site, or if you are hosting multiple glFusion sites from the same server.

Session Cookie Name
Name of the cookie that stores the session ID.
Permanent Cookie Name
Name of the permanent cookie.
Session IP Validation
Determines how much of the users IP is used to validate a session; As a security precaution, glFusion validates that the IP address used to set the long term cookie continues to match the IP address of the user each time it is checked. This can cause issues for users who change IP's often, eg. within the period defined by the long term cookie expiration, for example users that are behind a proxy server, or with short-term DHCP leases. All compares the complete address, A.B.C the first x.x.x, A.B the first x.x, None disables checking.
Password Cookie Name
Name of the password cookie.
Theme Cookie Name
Name of the theme cookie.
Language Cookie Name
Name of the language cookie.
Timezone Cookie Name
Name of the timezone cookie.
Permanent Cookie Timeout
Permanent cookie timeout in seconds (28800 = 8 hours).
Session Timeout
Session cookie timeout (in seconds).
Cookie Path
The path on the server in which the cookie will be available on. If set to '/', the cookie will be available within the entire domain. If set to '/foo/', the cookie will only be available within the /foo/ directory and all sub-directories such as /foo/bar/ of domain.

The default value should be '/' in most cases. If you run your glFusion site in a sub-directory of your domain, set the path to the sub-directory.

For example, if your site URL is http://www.yourdomainhere.com/public_html/ you would set the path to /public_html/
Cookie Domain
The domain that the cookie is from. glFusion will attempt to guess the correct value for this setting (based on the 'site_url' variable). See the PHP manual for details.
Cookie Secure
Only set to True if your site uses HTTPS

Miscellaneous


Notifications
Send an email notification to Site E-Mail when a new story, comment, trackback or pingback has been submitted or a new user has registered with the site. The option can hold any combination of the following items:
  • story
  • comment
  • trackback
  • pingback
  • user
    (separated by commas), depending on which notification(s) you want.
Cron Schedule Interval
glFusion can emulate a cronjob, i.e. trigger a certain action at a given time. The code to be executed can be provided by a plugin or through the CUSTOM_runScheduledTask function in your lib-custom.php. The value given is in seconds and specifies the interval in which the code should be executed.

Please note that to trigger this action, you will need to have someone visit your site at around the specified time. On a site with few visitors, the code may only be executed with considerable delay. Set to 0 to disable.
Disable Autolinks
If set to True, disables the autolinks. I.e. links using the [story:] etc. syntax are not interpreted any more.

Debug

Root Debugging
When a PHP error occurs, glFusion's error handler will only display the actual error message to members of the Root group (to prevent leakage of possibly sensitive information). When set to true, this information will be displayed to all users. Use only for debugging purposes!
Debug OAuth
Display detailed message from Oauth authentication. If this is set to true - verbose log messages of the Oauth login process will be logged to the glFusion error.log file. This option is useful if you are experiencing issues with any of the Oauth protocols.
Debug HTML Filter
If this is set to true - the HTML filter will log details on which HTML elements and attributes are filtered. The filter results are logged in the error.log file.

Daily Digest

Daily Digest Enabled
Let users get stories e-mailed to them (True/False), aka Daily Digest. Please note that this requires cron and the use of PHP as a shell script.
Length of Stories
When Daily Digest is Enabled, send only the title and the link to the new stories False, or send the entire introtext True or send the first n characters from the introtext (where n = any other number).
Enable for new Users
When set to True, new users will be automatically subscribed to the daily digest when they register with the site.

HTML Filtering


Allow EMBED Object
Allow the EMBED object in HTML stories and posts. This allows you to embed YouTube videos and other streaming videos in stories. (Obsolete).
Skip HTML Filter for Root
When set to TRUE, this will allow members of the Root group to use all HTML in their posts. Use at your own risk!
Default set of allowed HTML
The default HTML tags that are allowed.
HTML allowed in comments
The set of HTML tags allowed when entering comments - a comma separated list
HTML allowed in stories
The set of HTML tags allowed when entering stories - a comma separated list.
Additional HTML allowed for Root users
Additional HTML tags that are only allowed for Root users - a comma separated list.

Censoring


Censor Mode
Censor submissions and comments. Options are:
  • Disabled
  • Enabled(Exact Match)
  • Enabled(Word Beginning)
  • Enabled(Word Fragment)
Censor Replace Text
Text to replace a censored word with.
Censor List
An array of censored words.

IP Lookup


IP Lookup
The IP addresses of comment posters are logged and displayed for admin users. When this variable is set to point to a service that can do IP address lookups, it's possible to lookup the owner of an IP address by clicking on it, making it easier to report abuse to ISPs, etc. $_CONF['ip_lookup'] should hold the complete URL to the lookup service, with a '*' marking the place where the IP address should go. It's also possible to use Tom Willet's NetTools package, in which case the correct setting would be [site_url]/nettools/whois.php?domain=*.

Story Default Permission


Story Default Permissions[0]
The default Owner permissions for the Story editor. The settings here will determine what permissions are checked (Read only, or Read/Write), or unchecked (No access) by default in the Owner box of the Permissions panel in the Story editor. Options are No access, Read only, or Read/Write.
Story Default Permissions[1]
The default Group permissions for the Story editor. The settings here will determine what permissions are checked (Read only, or Read/Write), or unchecked (No access) by default in the Group box of the Permissions panel in the Story editor. Options are No access, Read only, or Read/Write.
Story Default Permissions[2]
The default Member permissions for the Story editor. The settings here will determine what permissions are checked (Read only, or Read/Write), or unchecked (No access) by default in the Members box of the Permissions panel in the Story editor. Options are No access, Read only, or Read/Write.
Story Default Permissions[3]
The default Anonymous permissions for the Story editor. The settings here will determine what permissions are checked (Read only, or Read/Write), or unchecked (No access) by default in the Anonymous box of the Permissions panel in the Story editor. Options are No access, Read only, or Read/Write.

Topic Default Permission


Topic Default Permissions[0]
The default Owner permissions for the Topic editor. The settings here will determine what permissions are checked (Read only, or Read/Write), or unchecked (No access) by default in the Owner box of the Permissions panel in the Topic editor. Options are No access, Read only, or Read/Write.
Topic Default Permissions[1]
The default Group permissions for the Topic editor. The settings here will determine what permissions are checked (Read only, or Read/Write), or unchecked (No access) by default in the Group box of the Permissions panel in the Topic editor. Options are No access, Read only, or Read/Write.
Topic Default Permissions[2]
The default Member permissions for the Topic editor. The settings here will determine what permissions are checked (Read only, or Read/Write), or unchecked (No access) by default in the Members box of the Permissions panel in the Topic editor. Options are No access, Read only, or Read/Write.
Topic Default Permissions[3]
The default Anonymous permissions for the Topic editor. The settings here will determine what permissions are checked (Read only, or Read/Write), or unchecked (No access) by default in the Anonymous box of the Permissions panel in the Topic editor. Options are No access, Read only, or Read/Write.

Block Default Permission


Block Default Permissions[0]
The default Owner permissions for the Block editor. The settings here will determine what permissions are checked (Read only, or Read/Write), or unchecked (No access) by default in the Owner box of the Permissions panel in the Block editor. Options are No access, Read only, or Read/Write.
Block Default Permissions[1]
The default Group permissions for the Block editor. The settings here will determine what permissions are checked (Read only, or Read/Write), or unchecked (No access) by default in the Group box of the Permissions panel in the Block editor. Options are No access, Read only, or Read/Write.
Block Default Permissions[2]
The default Member permissions for the Block editor. The settings here will determine what permissions are checked (Read only, or Read/Write), or unchecked (No access) by default in the Members box of the Permissions panel in the Block editor. Options are No access, Read only, or Read/Write.
Block Default Permissions[3]
The default Anonymous permissions for the Block editor. The settings here will determine what permissions are checked (Read only, or Read/Write), or unchecked (No access) by default in the Anonymous box of the Permissions panel in the Block editor. Options are No access, Read only, or Read/Write.
glfusion/configuration/miscellaneous.txt · Last modified: 2017/04/12 21:11 (external edit)

Page Tools