These forums have been archived and are now read-only.

The new forums are live and can be found at https://forums.eveonline.com/

EVE Technology Lab

 
  • Topic is locked indefinitely.
12Next page
 

POS Timer - A Reinforcement Timer Web Application

Author
Kossaw
Body Count Inc.
Mercenary Coalition
#1 - 2011-09-08 04:19:33 UTC  |  Edited by: Kossaw
A simple web site to track POS, Station and Structure Reinforcement timers .....

To see it working -> POS Timer Web Site

Yes, I can host a web site for you.
To host your own site: Get the source code -> Here

The web site is based on the Yii framework (which makes it simple to write) so you will need to install this if you don't already have it. Get the framework from Here

If you find it useful and/or need some support, donations of ISK would be welcomed.

Latest Version: 2.2.0 Released 2011-10-12

* Moved configuration settings into a INI file. Settings can now be changed without editing php files
* Added support for customised themes. Theme can be selected from Settings page.

Eve-O Archive Link
===================================

Previous Versions

Version 1.1.0
- Anyone can register to receive e-mail alerts. Registration is via e-mail.
- Optional Fields for Planet / Moon / Alliance are available.
- Reinforcement Times can be entered as Day, Hour, Minutes to go or Absolute UTC timer.
- Optional Notes filed visible to Admins only.

Version 1.1.1
- Bug fix to Update form

Version 1.2.0
- Added color coding to POS Timer front page
- Added options to hide the front page to unregistered visitors

Version 2.0.0
- Major rewrite of user security administration

Latest Version: 2.1.0 Released 2011-08-31

* Added RSS feed. An RSS Feed of all timers is available if the front page is public.
* Auto page link to Dotlan for system information

Don't be Stupid - DO NOT USE YOUR EVE USERNAME OR PASSWORD to register for a PosTimer site. Passwords are encrypted and hashed but I have no control over what someone else might do to the database.

WTB : An image in my signature

Louis Vitton
Viziam
Amarr Empire
#2 - 2011-09-19 06:37:36 UTC
hey guys,

I like this application but i am with a shared hosting service and was told i could still use this but i have to include the framework along with the timer itself can someone tell me which files or what to do on this matter?

Cheers for help in advance.

Louis Vitton
Kossaw
Body Count Inc.
Mercenary Coalition
#3 - 2011-09-21 09:06:51 UTC  |  Edited by: Kossaw
Yes, you can do this.

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 -
etc

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;



Let me know how you get on and I will update the install notes as required.

WTB : An image in my signature

Louis Vitton
Viziam
Amarr Empire
#4 - 2011-09-21 11:19:37 UTC
hey mate,

Thank you its working well.

I have deleted users from the SQL database is going to be an issue?

Cheer Louis

Btw if i get some isk soon, some is coming your way :)
Kossaw
Body Count Inc.
Mercenary Coalition
#5 - 2011-09-22 05:01:37 UTC
Deleting users should be OK as long as you still have access to one user with "Superuser" privileges.

WTB : An image in my signature

Tomy LEE
Perkone
Caldari State
#6 - 2011-10-01 15:12:08 UTC
Got this message :

CDbException
The table "pos" for active record class "Pos" cannot be found in the database.

index.php configuration :
$yii=dirname(__FILE__).'/framework/yii.php';
$config=dirname(__FILE__).'/protected/config/main.php';

main.php is correctly configured with DB.

any idea ?

Thx
Kossaw
Body Count Inc.
Mercenary Coalition
#7 - 2011-10-02 09:00:58 UTC
Lets try this again .....

The table name is case sensitive. Do you have a table called "pos" in your database ? Otherwise, follow the info in the installation notes about un-commenting the logging and sending me an eve-mail.

WTB : An image in my signature

Tomy LEE
Perkone
Caldari State
#8 - 2011-10-02 13:16:12 UTC
Thank you, it works ;) Will send you some isk soon.
Louis Vitton
Viziam
Amarr Empire
#9 - 2011-10-04 05:09:45 UTC
Hey Kossaw,

I have an idea for a feature request.

Use the Eve API to verify if people are allowed into the application

Kossaw
Body Count Inc.
Mercenary Coalition
#10 - 2011-10-04 13:12:56 UTC
Yeah, I've considered it...

The problem is that the amount of data required to control who is allowed to register is quite large.

The site is shared by several alliances, each composed of multiple corporations. So to restrict access to players with blue standings means maintaining standings tables for all those alliances, maintaining those standings by corporation API keys, maintaining User API keys and running cron jobs to keep the whole lot tidy and kick registered members when their standings change.

If you think that's a long sentence, try coding the API interface required ;-)

The FAIL site only has about 50 or 60 people registered to subscribe for e-mail reminders and its not like there's actually any secret information posted there that our opponents don't already know about anyway so

TL;DR too much :effort:

WTB : An image in my signature

Tomy LEE
Perkone
Caldari State
#11 - 2011-10-06 06:39:19 UTC
How is it possible to not show timers without log in in ?
Kossaw
Body Count Inc.
Mercenary Coalition
#12 - 2011-10-06 07:15:23 UTC
See step 5 of the installation notes - http://code.google.com/p/postimer/

Edit Lines 107 to 113 of protected/config/main.php

Note : This will change in the next release. (will be moved to a config file)

WTB : An image in my signature

Tomy LEE
Perkone
Caldari State
#13 - 2011-10-06 07:44:13 UTC
Awesome !
Kossaw
Body Count Inc.
Mercenary Coalition
#14 - 2011-10-12 12:05:48 UTC
New release adds support for customised themes and settings.

WTB : An image in my signature

Spymaster Alpha
EveTech Enterprises
#15 - 2011-11-08 19:07:39 UTC
Hi, could someone please explain to me a bit about how this works? I'm kind of new to POS stuff.

What are the different "types" (is it POS and outpost?)
What is "Cycle" (set to "shield" in the demo)

Thanks!
Louis Vitton
Viziam
Amarr Empire
#16 - 2011-11-09 02:50:02 UTC
Spymaster Alpha wrote:
Hi, could someone please explain to me a bit about how this works? I'm kind of new to POS stuff.

What are the different "types" (is it POS and outpost?)
What is "Cycle" (set to "shield" in the demo)

Thanks!


This is a reinforcement timer, mainly it is used to monitor structures both defensive and offensive that are coming out of reinforcement so you can either repair or destroy them respectively.

for POS's there is 1 cycle which is shield reinforcement

Stations, iHUB's have 2 reinforcement timers 1 for shield and 1 for armor that is what cycle is used for.

*** THIS IS NOT A POS MONITORING TOOL ***

Example of what this application is for;

If I reinforce your POS i would put the timer details into this application so i know when it is coming out of reinforcement so i can kill it.

A number of alliances use this to monitor timers so that they ensure they form fleets for them, as there can be a large number of timers in those alliances.

I hope this helps you.

Cheers Louis
StarCrash
Spirit Corp
#17 - 2011-11-15 00:01:50 UTC  |  Edited by: StarCrash
I install the files as your guide said and did the changes as needed

(<)?php -- Brackets are only here to allow input of these 5 lines of code.

// change the following paths if necessary
$yii=httpdocs/mytimersite/framework/yii.php';
$config=httpdocs/mytimersite/protected/config/main.php';

But i m getting this error

Parse error: syntax error, unexpected T_CONSTANT_ENCAPSED_STRING in /datasan/www/vhosts/pink.eve-domain.com/httpdocs/mytimersite/index.php on line 5

Any Ideas

Thanks

If no idea how to overcome this how much for u to host this for me?

Got the issues sort i used Keil Sonter who hosts my site for me i forgot to remove the . . on the command line

Thanks
Kossaw
Body Count Inc.
Mercenary Coalition
#18 - 2011-11-15 03:26:23 UTC  |  Edited by: Kossaw
OK, so you already spotted the missing ' characters after the = in lines 5 and 6. The actual error message is complaining that you haven't enclosed the string properly.

WTB : An image in my signature

StarCrash
Spirit Corp
#19 - 2011-12-11 00:01:50 UTC
Hey

Any way you could write in if you have the chance small, med , large pos i would but i m not a coder my self.

Also with there be an update to add in the custom offices


Thanks

StarCrash
RoKiKi ShaBim
PANIC at the Mining Field
#20 - 2012-01-09 01:38:01 UTC
Sent you a mail, but is there any way to edit it from tryng to use "localhost" as the DB connection?
12Next page