[OBJ] Website - Code major parts

Archived discussions related to Transport Empire. Read-only access only.

Moderator: Transport Empire Moderators

User avatar
Hyronymus
Tycoon
Tycoon
Posts: 13233
Joined: 03 Dec 2002 10:36
Location: The Netherlands
Contact:

Post by Hyronymus »

That's bad management, Steve :roll: .
User avatar
Steve
Tycoon
Tycoon
Posts: 2085
Joined: 10 Jan 2004 20:19
Location: London
Contact:

Post by Steve »

I've gone over it and it works.. mostly. I haven't looked at any of the test.phps though, which of the ones you posted do I need to look at?

I commented out some authentication checks in the meeting.inc.php, as there is no login system yet and it will be public anyway. I'll be editing this and that in order to implement it into the website properly.
User avatar
The Master
Engineer
Engineer
Posts: 80
Joined: 02 Apr 2005 20:50
Location: Italy
Contact:

Post by The Master »

I have maked zip archive of all files that i have posted in the topic.

The right check, granted greater versatility. For example: only need that setting meeting right of user 0 at null, to allow meeting view only at registered user.
Attachments
The_Master-1_01.zip
(51.39 KiB) Downloaded 161 times
-----------------------------------
I play OpenTTD in italian under Debian GNU/Linux
User avatar
Steve
Tycoon
Tycoon
Posts: 2085
Joined: 10 Jan 2004 20:19
Location: London
Contact:

Post by Steve »

I'm converting a bitmask system for checking if a user has access. When I'm done, I'll post it here so you can check it over for security flaws and such.

Another thing I'm wondering about is the license you put at the top of each file. Is there a guideline somewhere about them?
User avatar
The Master
Engineer
Engineer
Posts: 80
Joined: 02 Apr 2005 20:50
Location: Italy
Contact:

Post by The Master »

I have tried to follow PEAR (PHP Extension and Application Repository) coding standard.

Look here:
http://pear.php.net/manual/en/standards.php
-----------------------------------
I play OpenTTD in italian under Debian GNU/Linux
tuisu
Engineer
Engineer
Posts: 10
Joined: 20 Sep 2005 20:18

Post by tuisu »

I'm really new here and have probably missed something.

But why don't you use some kind of existing cms? It seems like duplicate work.

Drupal would suit your needs. Or something lighter.

Feel free to hurt me if I missed anything.
User avatar
Steve
Tycoon
Tycoon
Posts: 2085
Joined: 10 Jan 2004 20:19
Location: London
Contact:

Post by Steve »

We'd have to modify the CMS to suit our needs. We don't need everything the CMS will give us. It's A LOT better this way. It just is. We had a meeting and everything!
User avatar
The Master
Engineer
Engineer
Posts: 80
Joined: 02 Apr 2005 20:50
Location: Italy
Contact:

Post by The Master »

Steve, you have "finished" work?
:)
-----------------------------------
I play OpenTTD in italian under Debian GNU/Linux
User avatar
PJayTycy
Route Supervisor
Route Supervisor
Posts: 429
Joined: 09 Mar 2004 20:30

Post by PJayTycy »

I'm just going over the unfinished objectives because I'm a little bored (this won't happen again for at least the next 5 days though)...


anything needs to be done here ?
On holiday from 16/07 till 31/07
User avatar
Hyronymus
Tycoon
Tycoon
Posts: 13233
Joined: 03 Dec 2002 10:36
Location: The Netherlands
Contact:

Post by Hyronymus »

He, great :P. I think we're all dieing to hear when Steve is able to upload stuff to the website. I also have the keys to upload but no idea what to change in the settings to make it work.
User avatar
Steve
Tycoon
Tycoon
Posts: 2085
Joined: 10 Jan 2004 20:19
Location: London
Contact:

Post by Steve »

Change in settings to make it work?

To be honest, I haven't done that much to The Master's code. Most of it was just me wondering how to do stuff in PHP. Anyone with any skill can probaly do the same think in a rather short amount of time.

I remember saying a while ago, not to admin any more websites.. and yet.. here I am! On a related note, where is our new hosting?
User avatar
Hyronymus
Tycoon
Tycoon
Posts: 13233
Joined: 03 Dec 2002 10:36
Location: The Netherlands
Contact:

Post by Hyronymus »

Hosting issues should go to Owen. With changing settings I mean changing settings on the server. I'm pretty convinced that something needs to be set to make a page with a database function work properly.
User avatar
orudge
Administrator
Administrator
Posts: 25129
Joined: 26 Jan 2001 20:18
Skype: orudge
Location: Banchory, UK
Contact:

Post by orudge »

Steve wrote:I remember saying a while ago, not to admin any more websites.. and yet.. here I am! On a related note, where is our new hosting?
I have been told that the servers should be ready for me to use tomorrow at some point, if all goes well with the final connection at the datacentre. (They are compensating me for the long time it has taken to set up). I will be in Edinburgh tomorrow, but if everything gets set up then, I should be able to offer you hosting on Sunday.
User avatar
Hyronymus
Tycoon
Tycoon
Posts: 13233
Joined: 03 Dec 2002 10:36
Location: The Netherlands
Contact:

Post by Hyronymus »

That sounds good, Owen. Can you announce it here when they are set up so we can discuss the hosting (what, how and how free).
User avatar
orudge
Administrator
Administrator
Posts: 25129
Joined: 26 Jan 2001 20:18
Skype: orudge
Location: Banchory, UK
Contact:

Post by orudge »

I am currently logged into server #1 (Yoda) and cPanel is being installed. :) If all goes well, you should be able to have hosting Very Soon™.
User avatar
Hyronymus
Tycoon
Tycoon
Posts: 13233
Joined: 03 Dec 2002 10:36
Location: The Netherlands
Contact:

Post by Hyronymus »

Nice, too bad you're already registering things like Very Soon ;).
User avatar
orudge
Administrator
Administrator
Posts: 25129
Joined: 26 Jan 2001 20:18
Skype: orudge
Location: Banchory, UK
Contact:

Post by orudge »

The server is now up and running. Steve or someone should contact me to set up an account. :)
User avatar
PJayTycy
Route Supervisor
Route Supervisor
Posts: 429
Joined: 09 Mar 2004 20:30

Post by PJayTycy »

So, has orudge been contacted yet ?
On holiday from 16/07 till 31/07
User avatar
Steve
Tycoon
Tycoon
Posts: 2085
Joined: 10 Jan 2004 20:19
Location: London
Contact:

Post by Steve »

He has, but he isn't reading his PMs...
User avatar
orudge
Administrator
Administrator
Posts: 25129
Joined: 26 Jan 2001 20:18
Skype: orudge
Location: Banchory, UK
Contact:

Post by orudge »

I've had a busy few days... replied to Steve's PM, and the hosting can be set up once he replies or gets in touch with me on MSN/IRC.

Topic locked, website up and running. If it will ever be finished... (09112006).
Locked

Return to “Transport Empire Development Archive”

Who is online

Users browsing this forum: No registered users and 3 guests