Website Stats for TMNF XAseco+RASP ver. 2.0

Discuss everything about Xymph's Aseco flavoured server control scripts for TM Forever / classic TMN and for TM² Canyon.

Moderators: Xymph, TM-Patrol

User avatar
w1lla
TM-Patrol
TM-Patrol
Posts: 1466
Joined: 23 May 2007 07:20
Owned TM-games: TMU, TMN, TMF
Manialink(s): intr
Location: Venray

Website Stats for TMNF XAseco+RASP ver. 2.0

Post by w1lla » 04 Jan 2010 16:41

Website Stats for TMNF XAseco+RASP ver. 2.0
Based upon the Website stats from Cypher80 see here, I edited his version and made a couple of changes.



This version has some includings from:
* Fufi's TMFDatafetcher&Colorparser. See Below for the configuration of that one.
If it isnt activated you will still see a empty banner with some things preconfigured in a .php file.
* Fixed TMX Info Comments errors ([track] was included.).
* Fixed php errors.
* No more TMNData.

TMFDatafetcher Configuration

In order for the DataFetcher to work, you'll need the following things:
a stats server login, which has to be obtained from NADEO, to get that, kindly ask Request (request@nadeo.com)
a webserver running PHP 5 and mySQL 5
in php the "openSSL" library has to be installed and enabled
the php "cURL" library should be installed (if it does not exist, the class automatically reverts to standard fopen functions, which can cause problems with remote URLs)
Open the tmfdatafetcher.config.php and fill in the settings by editing the lines:

Code:
$fetcherSettings['stats_user'] = 'yourstatsserverlogin';
$fetcherSettings['stats_password'] = 'yourstatsserverpassword';
$fetcherSettings['mysql_server'] = 'mysqlhost';
$fetcherSettings['mysql_login'] = 'mysqlusername';
$fetcherSettings['mysql_password'] = 'mysqlpassword';
$fetcherSettings['mysql_database'] = 'mysqldatabase';

$fetcherSettings['fetch_method'] = 0;
$fetcherSettings['refresh_after_midnight'] = false;

The database is needed for the caching. The other settings are described in the config file itself.
Downloadlink:

Site preview:
[url=http://w1lla.nl/stats/index.php?lang=ENG&page=home]Stats for TMF XAseco + RASP - Version 2.0
Last edited by w1lla on 25 Jan 2010 09:21, edited 1 time in total.

Code: Select all

tmnforever is nations and united makes it special. tmnforever has united. I need united!

User avatar
Ant
TM-Patrol
TM-Patrol
Posts: 1845
Joined: 01 Dec 2007 17:04
Owned TM-games: TMN, TMUF, TM Wii
Location: London, England
Contact:

Re: Website Stats for TMNF XAseco+RASP ver. 2.0

Post by Ant » 04 Jan 2010 19:46

nice 1 man, I see you kept in my home button as well. Thanks for helping with this by the way - i'm gonna be testing it soon and I'll let you know any problems !!

Again, thanks a lot :thumbsup:

-------------------------------------------------------------------EDIT------------------------------------------------------------------------------

I noticed from the index.php that you didn't use v1.9d to update from - there will be some problems for people with the buttons man (different sizes - probably not too important). heres an example of the button I added in index.php :

Code: Select all

<td width="16.666667%" height="22" class="menuback"><a href="?lang=<?php echo $lang ?>&page=home" class="menufont">
      <?php echo $lng_title_home ?>
      </a></td> 
Notice the

Code: Select all

<td width="16.666667%"
that number should be the same for each button.

When I have sorted mine out with your updates, i'll re-upload as well to my site :wink:

User avatar
Ant
TM-Patrol
TM-Patrol
Posts: 1845
Joined: 01 Dec 2007 17:04
Owned TM-games: TMN, TMUF, TM Wii
Location: London, England
Contact:

Re: Website Stats for TMNF XAseco+RASP ver. 2.0

Post by Ant » 05 Jan 2010 04:10

Ok the completely finished version is uploaded now, including the buttons fix.

- and also fixed what I pm'd you about w1lla :thumbsup:

The download is HERE !
feel free to update your upload too w1lla :wink:

User avatar
Ant
TM-Patrol
TM-Patrol
Posts: 1845
Joined: 01 Dec 2007 17:04
Owned TM-games: TMN, TMUF, TM Wii
Location: London, England
Contact:

Re: Website Stats for TMNF XAseco+RASP ver. 2.0

Post by Ant » 05 Jan 2010 21:41

W1lla, You haven't changed your link yet for the stats - what I warned you about in the pm I sent you is still there.

For now - everyone download from my link (complete version anyway) until W1lla lets us know when his is fixed.

nocturne
solid chaser
solid chaser
Posts: 1390
Joined: 08 Jun 2007 18:48
Owned TM-games: all
Contact:

Re: Website Stats for TMNF XAseco+RASP ver. 2.0

Post by nocturne » 05 Jan 2010 23:29

Man, now thing's really are getting confusing... what is it, 3 threads now..? :roflol:

While we're dealing with features, how about css formatting? The script is incredibly aesthetically challenged to begin with, and it's a real pain to go through all the formatting line by line.

User avatar
Ant
TM-Patrol
TM-Patrol
Posts: 1845
Joined: 01 Dec 2007 17:04
Owned TM-games: TMN, TMUF, TM Wii
Location: London, England
Contact:

Re: Website Stats for TMNF XAseco+RASP ver. 2.0

Post by Ant » 06 Jan 2010 00:15

yeah but the posts all link to the same thing - was unintentional tho for 3 topics, sorry about that - and as for the formatting - see the author of the stats :wink:

--------------------------------------------------------------------EDIT-----------------------------------------------------------------------------

Newest upload on 24 jan 15:30 GMT - Everything works !! - nice one AM :thumbsup:

@ W1lla & Assembler Maniac - see the readme and also the main footer in index.php :wink:

Get it here !
Last edited by Ant on 24 Jan 2010 15:37, edited 3 times in total.

User avatar
Ant
TM-Patrol
TM-Patrol
Posts: 1845
Joined: 01 Dec 2007 17:04
Owned TM-games: TMN, TMUF, TM Wii
Location: London, England
Contact:

Re: Website Stats for TMNF XAseco+RASP ver. 2.0

Post by Ant » 14 Jan 2010 22:28

Right, I'm having a problem now - These stats worked for the banners when I made a new database and drove 3 records, now other people have records on there, the banners don't work again!! W1lla has done tests (and so have I) but so far we can't find the problem.

I am using PHP version 5.3.0 and xampp version 1.7.2 if that helps anyone to determine what the problem could be.

User avatar
Ant
TM-Patrol
TM-Patrol
Posts: 1845
Joined: 01 Dec 2007 17:04
Owned TM-games: TMN, TMUF, TM Wii
Location: London, England
Contact:

Re: Website Stats for TMNF XAseco+RASP ver. 2.0

Post by Ant » 15 Jan 2010 03:02

My Apache logs can be downloaded Here if anyone can help.

User avatar
w1lla
TM-Patrol
TM-Patrol
Posts: 1466
Joined: 23 May 2007 07:20
Owned TM-games: TMU, TMN, TMF
Manialink(s): intr
Location: Venray

Re: Website Stats for TMNF XAseco+RASP ver. 2.0

Post by w1lla » 15 Jan 2010 09:37

try the new xampp try a fresh install and use php 5.3.1.

that might work...

Code: Select all

tmnforever is nations and united makes it special. tmnforever has united. I need united!

User avatar
w1lla
TM-Patrol
TM-Patrol
Posts: 1466
Joined: 23 May 2007 07:20
Owned TM-games: TMU, TMN, TMF
Manialink(s): intr
Location: Venray

Re: Website Stats for TMNF XAseco+RASP ver. 2.0

Post by w1lla » 15 Jan 2010 17:43

looks to the logs that your images are not reporting to the ones of being asked.

try to remove the .htacces file

and try again.

hopefully that will solve the problem...

Code: Select all

tmnforever is nations and united makes it special. tmnforever has united. I need united!

User avatar
Ant
TM-Patrol
TM-Patrol
Posts: 1845
Joined: 01 Dec 2007 17:04
Owned TM-games: TMN, TMUF, TM Wii
Location: London, England
Contact:

Re: Website Stats for TMNF XAseco+RASP ver. 2.0

Post by Ant » 15 Jan 2010 19:16

w1lla wrote:looks to the logs that your images are not reporting to the ones of being asked.

try to remove the .htacces file

and try again.

hopefully that will solve the problem...
No, that didn't change a thing
w1lla wrote:try the new xampp try a fresh install and use php 5.3.1.

that might work...
I will try the new xampp and php, but I'm definitely not destroying this database now. Cheers for suggestions man

User avatar
Ant
TM-Patrol
TM-Patrol
Posts: 1845
Joined: 01 Dec 2007 17:04
Owned TM-games: TMN, TMUF, TM Wii
Location: London, England
Contact:

Re: Website Stats for TMNF XAseco+RASP ver. 2.0

Post by Ant » 15 Jan 2010 19:47

ok - upgraded xampp and php - still no change on the banners - and I really don't want to start with a new database man - there must be another way around this problem !!

EDIT--> I also have these ports open:

21 - FTP
80 - HTTP
443 - HTTPS
3306 - MYSQL
8080 - HTTP-ALT

Am I missing any ??

User avatar
Ant
TM-Patrol
TM-Patrol
Posts: 1845
Joined: 01 Dec 2007 17:04
Owned TM-games: TMN, TMUF, TM Wii
Location: London, England
Contact:

Re: Website Stats for TMNF XAseco+RASP ver. 2.0

Post by Ant » 22 Jan 2010 22:25

no ideas ??? .....................anyone ??????????????????????? :?

User avatar
Ant
TM-Patrol
TM-Patrol
Posts: 1845
Joined: 01 Dec 2007 17:04
Owned TM-games: TMN, TMUF, TM Wii
Location: London, England
Contact:

Re: Website Stats for TMNF XAseco+RASP ver. 2.0

Post by Ant » 24 Jan 2010 12:30

ok fair enough, I won't have banners :roflol:

User avatar
Ant
TM-Patrol
TM-Patrol
Posts: 1845
Joined: 01 Dec 2007 17:04
Owned TM-games: TMN, TMUF, TM Wii
Location: London, England
Contact:

Re: Website Stats for TMNF XAseco+RASP ver. 2.0

Post by Ant » 24 Jan 2010 15:15

Ok this is now fixed, and I do have to say a massive thanks to Assembler Maniac who took out the time to help me and fix this.

These stats are now fully working as they should - the download can be found Here

Any other links I have put up for this will also work (gotta be v2.0 tho)

AM - you are the man !! I also credited you in the readme and the footer of the stats page :thumbsup:

Post Reply