TPS Track Uploader

Moderators: AlexKF, xGEKKOx, NADEO

Post Reply
User avatar
xGEKKOx
Posts: 271
Joined: 18 Jul 2011, 21:04

TPS Track Uploader

Post by xGEKKOx » 19 Oct 2011, 15:02

Updated 20/10/2011 at 16:36
You need a dedicated machine with Linux and Apache2 installed with a site enabled to get it work!

I know can be hard to install for newby, but it is a great feature if you have a dedicated, so try it.
DOWLOAD TPSUploader Package

How to install :

After you downloaded the TPS Gaseco 2.x and installed the Loader for your system (be sure also apache2 use the loader) and follow those steps...

1) go to /var/www folder in your linux
2) go to the website folder currently you are using (example : /var/www/mysite)
3) create a new folder (example : TPSUploader)
4) unzip the package in this folder
5) give to the folder CHMOD 775 (or 755 or enough to work)
6) open the config.php and fill with the folders where your TrackmaniaServer usually run

7) go to the Trackmania Server/UserData/Maps/ folder and create a new folder "UploadeD" or how you want (remember to change also in config.php if you choose another name)
8) give CHMOD 777 to this folder
9) go to the new config.xml of TPS Gaseco and do:

Code: Select all

<uploader>ON</uploader>
<uploader_url>http://www.yoursite.xxx/TPSUploader/tps_track_upload.php</uploader_url>
Suggestion on how to do the folders tree for servers :
The folder must result like this (* are examples):
/home/*myuser*/*TrackMania_Servers*/*serverlogin*/UserData/Maps/UploadeD
In this case the config.php for the uploader must be like this:

Code: Select all

<?php
$manialink_path = 'http://www.mysite.xxx/TPSUploader/UploadTracks.php';
$trackmania_mainfolder = '/home/*myuser*/*TrackMania_Servers*';
$upload_final_folder = 'UserData/Maps/UploadeD';
$lenght_min = 10000; //It means 10 sec -- The min is 10000, if < 10000 it auto set to 10000 (10 sec)
$lenght_max = 50000; //It means 50 sec
?>
Is much important you use the name of the folder with the serverlogin.

Anyway we will help all to solve problems :)
Big thanks to Fighter helped me to debug it!!! :thx:
Enjoy!
TPS Gaseco - iPhone TM Remote Controller - GOS Coder

Fighter18
Posts: 2
Joined: 13 Jul 2011, 16:23

Re: TPS Track Uploader

Post by Fighter18 » 20 Oct 2011, 12:35

The Upload redirect to gekkos upload.php not to my

User avatar
xGEKKOx
Posts: 271
Joined: 18 Jul 2011, 21:04

Re: TPS Track Uploader

Post by xGEKKOx » 20 Oct 2011, 12:42

Thx for the bug, some distractions for me to do fast.
Now updated and is available to download.
I added a new line in config.php where you tell to uploader where the manialink is.
Thx to fighter!!
:thumbsup:

Edit : Done another fix. Thx to Fighter!!! :yes:
Now i think is perfect.
TPS Gaseco - iPhone TM Remote Controller - GOS Coder

User avatar
xGEKKOx
Posts: 271
Joined: 18 Jul 2011, 21:04

Re: TPS Track Uploader

Post by xGEKKOx » 20 Oct 2011, 15:41

Uploader now work perfect.
Another fix done.
Much thx go to Fighter, he helped me to debug. :thx:
TPS Gaseco - iPhone TM Remote Controller - GOS Coder

tmdunhill
Posts: 81
Joined: 10 Feb 2011, 02:15

Re: TPS Track Uploader

Post by tmdunhill » 19 Nov 2011, 14:54

Hello,

Function track uploader, works only with Linux or works also with Windows?

Tmdunhill

User avatar
xGEKKOx
Posts: 271
Joined: 18 Jul 2011, 21:04

Re: TPS Track Uploader

Post by xGEKKOx » 20 Nov 2011, 10:32

Works also with windows if you do the right settings.
TPS Gaseco - iPhone TM Remote Controller - GOS Coder

tmdunhill
Posts: 81
Joined: 10 Feb 2011, 02:15

Re: TPS Track Uploader

Post by tmdunhill » 10 Dec 2011, 03:44

Hello,

I would like a helping hand when I'm trying to upload the track, is experiencing the error below could help me?

www.tmdunhill.info/TPS/tpsupload.bmp


Greetings.

Tmdunhill

Post Reply

Return to “TPS GASECO”

Who is online

Users browsing this forum: No registered users and 1 guest