aMule Forum

Please login or register.

Login with username, password and session length
Advanced search  

News:

We're back! (IN POG FORM)

Pages: [1] 2

Author Topic: AMPS - AMule PHP Statistics  (Read 139775 times)

uberpenguin

  • Evil harbinger of the Krokodil.
  • Developer
  • Approved Newbie
  • *****
  • Karma: 1
  • Offline Offline
  • Posts: 26
    • http://uberpenguin.they-are.us/
AMPS - AMule PHP Statistics
« on: May 22, 2004, 07:56:57 PM »

Hi everybody!  I've been working on an update/replacement for the aged aStats that is written in PHP and contains a lot more niceties than did the old aStats (i18n support, dynamically updated, cross-platform support, theme support planned).

If you would like to test AMPS and help me iron out the bugs (hopefully I have caught  most of them), you can download it here:

http://download.berlios.de/amule/amps-0.7.5.tar.gz

You can also see a demo here (when/if my computer is up and running):

http://stilvollerhut.ath.cx/~mattb/amps/

Please read the README file in its entirety before proceeding as it contains some important notes about setting things up.  AMPS ONLY WORKS WITH AMULE CVS AND 2.0RC RELEASES for reasons described in README (although it's not difficult to make it work with 1.2.6; I developed AMPS using that version). If you would like to mess around with the behavior of AMPS, read the SETTINGS document (just don't come complaining if you break it :P).  Soon I plan to add some theme support, so if you find a colour/icon/layout scheme you like, have a look at style.css and make sure to contact me if you want to have that theme included in future AMPS revisions.

If you find any bugs that need fixing or have any feature requests, please inform me of them.

If you would like to add a translation, please see the thread in the translations forum.

Enjoy!

-uberpenguin
Logged

deltaHF

  • Evil Admin
  • Former Developer
  • Hero Member
  • *****
  • Karma: 6
  • Offline Offline
  • Posts: 3920
  • .. Legends may sleep, but they never die ..
    • http://www.amule.org
Re: AMPS - AMule PHP Statistics
« Reply #1 on: May 22, 2004, 08:11:54 PM »

and feel free to create onlinesig images so we can make a gallery later and everyone can dl and use them in amps/cas/wxcas ;)

you can post it in the gfx forum -> http://www.amule.org/amule/thread.php?threadid=2315&sid=

thx & greets

Stevil

  • Full Member
  • ***
  • Karma: 0
  • Offline Offline
  • Posts: 110
Re: AMPS - AMule PHP Statistics
« Reply #2 on: May 25, 2004, 02:27:17 AM »

@uberpenguin

runs under FreeBSD 5.2.1 --> http://stevil.no-ip.com
still a problem with 1.2.6 and output...but runs ;)
Logged
5.3-RELEASE FreeBSD 5.3-RELEASE #0: Fri Nov 5 04:19:18 UTC 2004

errare humanum est ;)

uberpenguin

  • Evil harbinger of the Krokodil.
  • Developer
  • Approved Newbie
  • *****
  • Karma: 1
  • Offline Offline
  • Posts: 26
    • http://uberpenguin.they-are.us/
Re: AMPS - AMule PHP Statistics
« Reply #3 on: May 25, 2004, 02:37:07 AM »

The reason AMPS doesn't work with 1.2.6 is because amulesig.dat is written to ~/.aMule.  Most peoples' webserver configurations run the daemon as a user who cannot read private directories like home (and for good reason!).  If you modify your aMule source to write amulesig.dat to /tmp or some other shared filesystem or run apache as a privileged user (NOT RECOMMENDED), then you can get AMPS working with 1.2.6...

-uberpenguin
Logged

Stevil

  • Full Member
  • ***
  • Karma: 0
  • Offline Offline
  • Posts: 110
Re: AMPS - AMule PHP Statistics
« Reply #4 on: May 25, 2004, 04:44:48 AM »

thx, i'll try it with CVS ;)
Logged
5.3-RELEASE FreeBSD 5.3-RELEASE #0: Fri Nov 5 04:19:18 UTC 2004

errare humanum est ;)

deltaHF

  • Evil Admin
  • Former Developer
  • Hero Member
  • *****
  • Karma: 6
  • Offline Offline
  • Posts: 3920
  • .. Legends may sleep, but they never die ..
    • http://www.amule.org
Re: AMPS - AMule PHP Statistics
« Reply #5 on: May 27, 2004, 07:01:56 PM »

new version: http://download.berlios.de/amule/amps-0.7.1.tar.gz  :)

works 100% on FreeBSD too ;)

Stevil

  • Full Member
  • ***
  • Karma: 0
  • Offline Offline
  • Posts: 110
Re: AMPS - AMule PHP Statistics
« Reply #6 on: May 28, 2004, 12:26:47 AM »

you've a changelog? :)
Logged
5.3-RELEASE FreeBSD 5.3-RELEASE #0: Fri Nov 5 04:19:18 UTC 2004

errare humanum est ;)

uberpenguin

  • Evil harbinger of the Krokodil.
  • Developer
  • Approved Newbie
  • *****
  • Karma: 1
  • Offline Offline
  • Posts: 26
    • http://uberpenguin.they-are.us/
Re: AMPS - AMule PHP Statistics
« Reply #7 on: May 28, 2004, 01:03:05 AM »

Quote
Originally posted by Stevil
you've a changelog? :)

It's the file named CHANGELOG :)

-uberpenguin
Logged

Stevil

  • Full Member
  • ***
  • Karma: 0
  • Offline Offline
  • Posts: 110
Re: AMPS - AMule PHP Statistics
« Reply #8 on: January 05, 2005, 08:59:12 PM »

FreeBSD 5.3-RELEASE
AMPS 0.7.1
aMule-2.0.0rc8

--> http://stevil.no-ip.com/amps/

no output :(

any suggetions?
Logged
5.3-RELEASE FreeBSD 5.3-RELEASE #0: Fri Nov 5 04:19:18 UTC 2004

errare humanum est ;)

deltaHF

  • Evil Admin
  • Former Developer
  • Hero Member
  • *****
  • Karma: 6
  • Offline Offline
  • Posts: 3920
  • .. Legends may sleep, but they never die ..
    • http://www.amule.org
Re: AMPS - AMule PHP Statistics
« Reply #9 on: January 05, 2005, 09:05:54 PM »

wrong path to your onlinesig.dat maybe ?

Stevil

  • Full Member
  • ***
  • Karma: 0
  • Offline Offline
  • Posts: 110
Re: AMPS - AMule PHP Statistics
« Reply #10 on: January 05, 2005, 09:36:52 PM »

/tmp

dont think so :(
Logged
5.3-RELEASE FreeBSD 5.3-RELEASE #0: Fri Nov 5 04:19:18 UTC 2004

errare humanum est ;)

deltaHF

  • Evil Admin
  • Former Developer
  • Hero Member
  • *****
  • Karma: 6
  • Offline Offline
  • Posts: 3920
  • .. Legends may sleep, but they never die ..
    • http://www.amule.org
Re: AMPS - AMule PHP Statistics
« Reply #11 on: January 05, 2005, 09:37:50 PM »

ok, i'll review it tomorrow

Stevil

  • Full Member
  • ***
  • Karma: 0
  • Offline Offline
  • Posts: 110
Re: AMPS - AMule PHP Statistics
« Reply #12 on: January 05, 2005, 10:10:16 PM »

ok, thx for support! ;)
Logged
5.3-RELEASE FreeBSD 5.3-RELEASE #0: Fri Nov 5 04:19:18 UTC 2004

errare humanum est ;)

thedude0001

  • evil bugfinder ;)
  • Hero Member
  • *****
  • Karma: 6
  • Offline Offline
  • Posts: 827
Re: AMPS - AMule PHP Statistics
« Reply #13 on: January 06, 2005, 02:34:01 PM »

Very nice programm, I really like it.

But I've got a feature request: It would be really great if there was some way to export the image to another machine, so I can upload it to my Webspace. I would like to have this picture in my signature in sokme web forums, but I think this would be too much for my 128 kbit/s upload... ;(

So I would really appreciate it if there was any way to save the image to my hard drive so i can upload it with a cronjob. And if there is such a way and i was just too dumb to see it: Sorry, but i don't really understand a single bit of PHP.   :rolleyes:
Logged
Das Schlimme auf dieser Welt ist
daß die Dummen so selbstsicher sind
und die Gescheiten so voller Zweifel.

darksidex

  • Mule Farmer
  • Full Member
  • ***
  • Karma: 4
  • Offline Offline
  • Posts: 194
Re: AMPS - AMule PHP Statistics
« Reply #14 on: January 10, 2005, 09:49:48 AM »

If you use X, you should use wxCas, it does it.
Logged
First of all, I apologize for my bad english. :D
Pages: [1] 2