Opus   Opus 2.30 Publisher's Manual
   Product Overview
   Installation and Set Up
   Customising a Paper 
    Adding an RSS Feed
    Auxiliary Fields
    Blogging
    Creating Simple Forms
    Defining utags
    Extra Configuration Options
    Upload Document Types
    Using Sections
   Templates
   Using Datacards
   Using Objects
   Author Maintenance
   Activity Logging
   Technical Issues
   Appendices

Note that text shown in this style documents a feature which isn't in the current release but will be in the next release and text shown thus indicates a feature which is being removed in the next release.

If you find anything in this documentation which is wrong or unclear then please use the link at the bottom on the page to comment and we will update the page to correct it or make it clearer.

Search:


Extra Configuration Options

You can tune Opus further by defining constants and setting them to appropriate values. You do this in ./php/cfg/config.inc where you will find some constants such VPUMP_DATABASE as already defined. You can add more using the same syntax.

Basic Tuning Features

LOG_AUTHOR_HITS
If set to "N" then it stops Opus logging page hits by authors who are logged on i.e. your own page hits won't be recorded in the hit log.
ADD_HYPERLINKS
If set to "N" then it stops Opus automatically creating hyperlinks itself when it sees an email address or URL in an article.
MAX_IMAGE_UPLOAD_SIZE
Sets the allowed maximum size for uploaded images, in KB. The default is 250 if this is not defined i.e. 250KB.
LOG_READER_HOST
If set to "N" then Opus doesn't log the IP address of the reader's PC when logging the page hit.

Why would one want to do this? If your web site is in the UK then it comes under the Data Protection Act 1998 and one could argue that the fact that we log the host name of the each visitor to your site in the reader database put you in peril as this could be classed as personal data under the Act as it could be traced back or put together with other information to identify the individual. It's a murky area. If you think you should stop logging host names you now can do this setting this constant to "N".

CACHE_EXPIRY_TIME
If set to a number greater than zero then Opus will cache pages for that many seconds so any subsequent hits within that time will be rendered from the cache. This can significantly improve the performance of busy sites however if doesn't work on pages with any time objects or if you are logged in as an author, or the page is the result of a form (e.g. search results).
OPUS_DEFAULT_LOCATION
Allows you to set a default location when adding diary articles.

Programming With Opus

The following options are only really useful if you're programming an application which uses Opus - they're of no use if you're running Opus on its own.

AUTHENTICATE_VIA_PHP_AUTH
If set to "Y" then Opus authenticates users by looking at the username and password they used to log into the server pages using Apache mod_auth.
AUTHENTICATION_FIXED
If set to "Y" then the email address and password of an author can't be changed (because authors are being created by something else).
EXTERNAL_AUTHENTICATION
If set to "Y" the Opus assumes that authentication is happening somewhere else so it drops the "log off" option from the Author Menu and the "authoropts" merge field (this was previously triggered by AUTHENTICATE_VIA_PHP_AUTH).

Comment on this page

Copyright
Privacy Policy