How to make a competition with login system

Whether you're a rookie or a pro, you'll find here the right series for you.
Post Reply
User avatar
Jo.sk
GeneRally Wizard
Posts: 294
Joined: Mon Jan 04, 2010 10:04 pm
Location: France
Contact:

How to make a competition with login system

Post by Jo.sk »

Warning : to allow login system, your website must execute php code !

First, you have to download the attached zip file which contain an excel file, and open it.
There is 2 worksheets in the file :

1) "Login (files to download)" : for competitions where drivers must download a file with tracks, cars, ...

You have to fill the following columns for each drivers : Login (A) / Password (B) / Event (C), but don't write in column FileToDownload (D)
You have also to fill the list of events : Event (F) and FileToDownload (G)
Put the name of competition in I3

When you have finished, hit the "Make php files" button and put created files + competition files to download in your website in the login folder.
For example, the login folder could be : http://gr.comp.com/gr/
In this folder you also need to creat an empty file named timer.txt , with these file attributes : read/write/execute for all people. This file will record IP, date and hour of login for each drivers.

And finally, each driver have to go here http://gr.comp.com/gr/ to put their login/password, download the file, unzip it and put the .trk/.gam/.car/... in the corresponding folders of the game, and play ...


2) "Login (racing codes)" : for competitions where drivers must use a racing code (in the game, the player have to create and use a driver named "nickname_XX" where XX is the racing code given by login system)

You have to fill the following columns for each drivers : Login (A) / Password (B)
Put the name of competition in D3

When you have finish, hit the "Make php file" button and put created file (index.php) in your website in the login folder.
For example, the login folder could be : http://gr.comp.com/gr/
In this folder you also need to creat an empty file named timer.txt , with these file attributes : read/write/execute for all people. This file will record IP, date and hour of login for each drivers.

And finally, each driver have to go here http://gr.comp.com/gr/ to put their login/password, create a driver named "nickname_XX", and play ...
Attachments
LoginSystem.zip
Excel file to create login files (php)
(20.71 KiB) Downloaded 585 times
Post Reply