l0ser140 / postimer

Simple Web Site to display Re-inforcement Timers for Eve online Structures.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

#Postimer Simple Web Site to display Re-inforcement Timers for Eve online Structures.

The application is based on the Yii framework and requires this to function. Download Yii from http://www.yiiframework.com/ See the help and tutorials on the Yii site for help on configuring. It is recommended that you get the simple example website "hangman" working to ensure that your Yii framework is correctly installed.

Installation Notes:

  1. Upload the software to your web site and expand. Remember to set read and execute permissions on the software.
  2. Create a new mySQL database called 'postimer' using phpMyAdmin and import the SQL file in /protected/data/postimer.sql
    If you choose to use a different database name you will need to configure this in step 5.
  3. If this is a new installation, copy /protected/config/settings.ini.template to /protected/config/settings.ini
    • Changes will be required in the following lines of /protected/config/settings.ini
      dbname = "postimer"
      dbuser = "your_mysql_username"
      dbpassword = "your_mysql_password"
    • You should now be able to log in
    • If you have problems connecting to the database, Check the configuration file in /protected/config/settings.ini to ensure you are connecting to the correct database with the right username, password, and table prefix.
      Note: Table names and field names are CASE SENSITIVE in some unix installations. e.g. authitem and AuthItem are NOT the same.
  4. The default database should have 4 sample POS timers and login details for "Admin" and "Demo"
  5. Admin Password is stored in the the "User" table. Default initial log ins are "admin / admin" and "demo / demo". Login as Admin and "Manage Users" to give Superuser privileges to any additional superuser accounts. Once you have a working superuser account you should set the "admin" and "demo" user status to "Banned". Note that "superuser" rights are no longer required to create POS Timers.
  6. To send e-mail alerts configure a cron job to run every hour using the command : php /path/to/protected/yiic.php timerEmail sendMail
    • If you have problems e-mailing check the database configuration in /protected/config/console.php
  7. Other options can be configured using the "settings" option from the top menu. You can optionally require users to log in to be able to see pos timer information.
  8. Optional : If you are upgrading from a previous version, go to "Manage Users" -> "Manage Profile Fields". Delete the "isEditor" field. This field is no longer used.
  9. Assign Roles to users
    • Superuser accounts have rights to manage other user accounts with the "Manage Users" menu.
    • Superusers cannot create, modify or delete POS timers.
    • Superusers can assign rights to other users
    • To allow a user to post and update POS timers a superuser must assign Access Rights
      • Login with a superuser account
      • Select "Access Rights" from the top menu
      • Select a user from the list of user names
      • Select "Create and Delete POS Timers" from the Drop Box
      • Click the Assign Button

Notes for users on a shared hosting service.

Some users on shared hosting services may be required to install the Yii framework in the same directory structure as the POSTimer application. In this case, the POSTimer application files should be uploaded to your host before installing the Yii framework.

  1. Upload the POSTimer files to a new folder on your web host. You will end up with directories something like
    /mytimersite/assets/
    /mytimersite/css/
    /mytimersite/images/
    /mytimersite/protected/
    /mytimersite/themes/
    /mytimersite/index.php
  2. Now install the Yii framework directory into the same root as the application. You will end up with a directory something like
    /mytimersite/framework/yii.php <- this is the important startup file
    /mytimersite/framework/base/
    /mytimersite/framework/ - lots more files -
  3. Modify /mytimersite/index.php line 4 to point to the Yii install directory and the Yii startup file.
    $yii=dirname(FILE).'/framework/yii.php';
    should work (I haven't tested it) otherwise try
    $yii=/mytimersite/framework/yii.php;

About

Simple Web Site to display Re-inforcement Timers for Eve online Structures.

License:GNU General Public License v3.0


Languages

Language:PHP 91.9%Language:Groff 5.6%Language:JavaScript 1.4%Language:CSS 1.2%Language:Batchfile 0.0%Language:ApacheConf 0.0%