Administrator Settings

Note: This article is for an old version of OpenX.

The latest OpenX documentation can be found at the following URLs:

This page comprises five groups of settings:

  1. Login credentials
  2. Basic information
  3. Preferences
  4. Synchronisation settings
  5. Timezone information

Login credentials

You can change the username and password of the Admin user here. Ensure that you keep a secure record of the changes you make here. If you have forgotten your password, follow the password reset procedure.

Basic Information

This is where you add or amend the contact details of the admin user.

Preferences

Here you can specify the default language of the interface in the Language drop-down list. Select Admin's delete actions need confirmation for safety if you want a confirmation dialog to appear when the user attempts a delete operation. This gives users an opportunity to cancel a delete action that they may have taken inadvertently. Remember, you cannot undo a delete in OpenX. If you want all outgoing email messages made by OpenX (notifying the end of campaigns etc.) to be recorded, select the Log all outgoing email messages checkbox.

Synchronisation settings

You can tell OpenX to check for updates to the software automatically; select the Check for updates checkbox.

Timezone information

Set the timezone for your adserver here. If you change the timezone from its original setting, you may affect the statistics you gather, as the interval since the most recent scheduled maintenance might then be altered.

As OpenX performs many operations based on time (eg. logging and presenting banner delivery statistics), it is important that your server's timezone be correctly configured in PHP
There are two different ways to do this, depending on which version of PHP you are using.

PHP 4.3, PHP 4.4 PHP 5.0
Setting the timezone in these versions of PHP requires that you export an environment variable called TZ in your web server configuration. This is obviously dependent on the web server you are using. As an example, if you are using the Apache web server, you can do this with the SetEnv directive:

SetEnv TZ Europe/London

You should also set the environment variable for your maintenance cronjob, for example, at the top of your crontab file, enter:

export TZ='Europe/London'

These examples may be different, if you have a different web server or crontab shell environment.

PHP 5.1, PHP 5.2
Setting the timezone in these versions of PHP is quite easy! Simply set the correct timezone in your php.ini file.

For example, in your php.ini file, set:

[Date]
Defines the default timezone used by the date functions
date.timezone = Europe/London

Help! I can't do either of those things!
If you do not have access to set the timezone on your server, don't panic! You should start off by asking your system administrator or your hosting provider to set this up for you. (Any decent hosting provider will be happy to learn about PHP timezones, and make the required changes to their setup so that everyone can have it set up correctly).

Alternatively, you can call "date_timezone_default_set()" on PHP 5.1 and PHP 5.2 or you can set "date.timezone" in a .htaccess file.

If you're still out of luck, however, OpenX can be installed without the PHP timezone setup - OpenX will simply make a best guess about which timezone your server is in, and you can then select a timezone manually if it's wrong. However, we strongly recommend that you set up the timezone in PHP correctly.

Other Time Issues

It is important that the time on your server is correct, otherwise your statistics may not be accurate. This is especially important if you are running OpenX on more than one server.

As a result, it is important that you configure your server with an NTP service, to ensure that your server clock(s) are accurate. See your operating system documentation for more information.