Author | Comment |
Barrett Administrator
 Posted: 9 Oct 2002 14:48 GMT Total Posts: 1676 | continue discussion of 'file database'
--- -Barrett A |
Barrett Administrator
 Posted: 9 Oct 2002 14:50 GMT Total Posts: 1676 | hey Z PLEASE take note that the current version of files.cgi is the one that I modified - it sorts everything perfectly and as far as i can tell works perfectly (it even sorts the 'view all' pages)...
what modifications did you make while you were updating it yesterday? i noticed that you had long titles instead of short titles in the lists... what else did you implement?
i think it's time to rename top_test.htm to top.htm..... what do you think?
--- -Barrett A |
Barrett Administrator
 Posted: 10 Oct 2002 21:34 GMT Total Posts: 1676 | Z, now we need an author database with a number assigned to each author. btw, again the link to admin is to admin.htm! lol, that just keeps happening...
ok, 1 more thing, dates need to be 1 big number! using the time() function. this will make sorting easier for dates, and will make the 'recent files' easier to use as well. this is VERY important Z.
--- -Barrett A |
Barrett Administrator
 Posted: 10 Oct 2002 22:42 GMT Total Posts: 1676 | ok Z, all of the files have a date in seconds. what i did was $atime=time()-(100-$id)*86000;
and $mtime=$atime+50000;
so each file was 1 day apart according to their id. it goes back to like july 4th, so that's a good date. and it displays the date correctly and stuff too
no sorting yet...
[Edited by Barrett on 11-Oct-02 01:43]
--- -Barrett A |
spiral Wraith Posted: 10 Oct 2002 22:52 GMT Total Posts: 958 | ah, no wonder my thing never updated, i never log out. oops |
Barrett Administrator
 Posted: 11 Oct 2002 15:46 GMT Total Posts: 1676 | yeah... gotta log out - makes reading new posts much easier.
Z, i could have SWORN we had some TI-86 files from greg deitche... what happened to those?
--- -Barrett A |
zkostik Carrier
 Posted: 11 Oct 2002 21:12 GMT Total Posts: 2486 | i know B, i thought we had those too! hmm...let's see. dangit, do you still have that file with file/description list? okay, hmm. did you add those? sorry i haven't seen those yet. anyways, i'll go on and add them.
as for author db, i thought we'd just have each file labeled with its author. and maybe have some sort of author list generator that's will be linked to a list of files each author has submitted. either way we'd have to redo the file submission since we're going to require logging in. don't worry about that, i'll work on that.
--- 09 F9 11 02 9D 74 E3 5B D8 41 56 C5 63 56 88 C0 |
Barrett Administrator
 Posted: 12 Oct 2002 08:25 GMT Total Posts: 1676 | reason for author database - to make it easier to change email addresses; and to make everything more convinient for everyone... there are many advantages.
--- -Barrett A |
zkostik Carrier
 Posted: 12 Oct 2002 17:16 GMT Total Posts: 2486 | no B, teemz must handle this since it sends a confirmation email when you change your email. this is just a security thing. we could use it t store some other info, but not the way you meant to use it.
--- 09 F9 11 02 9D 74 E3 5B D8 41 56 C5 63 56 88 C0 |
Digital Guardian
 Posted: 18 Oct 2002 11:33 GMT Total Posts: 1051 | I still can't rate any 89 games but I can rate other files such as tanker maps. Whats up with this? |
Barrett Administrator
 Posted: 18 Oct 2002 12:36 GMT Total Posts: 1676 | what does it say when you try to rate them?
--- -Barrett A |
zkostik Carrier
 Posted: 18 Oct 2002 15:12 GMT Total Posts: 2486 | yeah, this is strange indeed. we'd like to know what browser/script tell you when the error (if it gives you the error screen) happens? cuz we can't work out the problem if we don't know what exactly happens. thanks.
--- 09 F9 11 02 9D 74 E3 5B D8 41 56 C5 63 56 88 C0 |
Digital Guardian
 Posted: 21 Oct 2002 11:18 GMT Total Posts: 1051 | It gives me the "Forbidden: You must be logged in to rate files!" error. BTW I don't check e-mail or go online during the weekend everyone, so sorry for the delay. |
Digital Guardian
 Posted: 21 Oct 2002 11:21 GMT Total Posts: 1051 | Just a thought...it may only let admins rate the certain files, not normal users??? |
Barrett Administrator
 Posted: 21 Oct 2002 15:02 GMT Total Posts: 1676 | are you going to http://calcgames.org, or http://www.calcgames.org?
--- -Barrett A |
zkostik Carrier
 Posted: 21 Oct 2002 20:33 GMT Total Posts: 2486 | okay, are you opening those in a separate window? and no, everybody can rate any file, so that's not the problem. also, does it give you this error for every single file or just some? if some, please give me the file ID's so i can investigate the problem. thanks.
--- 09 F9 11 02 9D 74 E3 5B D8 41 56 C5 63 56 88 C0 |
Digital Guardian
 Posted: 22 Oct 2002 07:33 GMT Total Posts: 1051 | B: I'm going to http://calcgames.org Z: All windows are opened in their asigned frames. All the 89 files except tankers maps as far as I know. Since I don't have any other calc, I don't look at the other calc files. |
Digital Guardian
 Posted: 22 Oct 2002 09:57 GMT Total Posts: 1051 | I tried www.calcgames.org instead of calcgames.org and the rating worked fine. |
Barrett Administrator
 Posted: 22 Oct 2002 12:40 GMT Total Posts: 1676 | k, i think what we'll do is change all links from http://www.calcgames.org/blahblahblah to just blahblahblah and that should work... what's happening is the cookies are not accessable by www.calcgames.org if you logged in to calcgames.org.... OR we could change the link from cgi-bin/menu.cgi to http://www.calcgames.org/cgi-bin/menu.cgi and that should fix everything too.
--- -Barrett A |
zkostik Carrier
 Posted: 22 Oct 2002 14:48 GMT Total Posts: 2486 | that's a teemz problem, because it checks for referrer. and yes, cookies also store the page url that created them, hence "www." matters. B: you mean not to use relative links? the problem would still be there if he goes to calcgames.org rather than www.calcgames.org, what we need to do is expand the cookie processing function to take either domain.
--- 09 F9 11 02 9D 74 E3 5B D8 41 56 C5 63 56 88 C0 |
Barrett Administrator
 Posted: 22 Oct 2002 15:04 GMT Total Posts: 1676 | no, all we have to do is in index.htm, point to http://www.calcgames.org/cgi-bin/menu.cgi instead of just cgi-bin/menu.cgi. (since it'll load cookie under whatever site menu.cgi is loaded from)
--- -Barrett A |
zkostik Carrier
 Posted: 23 Oct 2002 20:34 GMT Total Posts: 2486 | okay, try that. see if it work. it'd be a nice and easy fix if you're right.
--- 09 F9 11 02 9D 74 E3 5B D8 41 56 C5 63 56 88 C0 |
Barrett Administrator
 Posted: 23 Oct 2002 21:11 GMT Total Posts: 1676 | hmmm.... now that i've given it more thought, we just have to be consistant with everything. everything needs to be partial path, or full path. maybe partial is better if we ever in a long, long time change domain names... and it also takes up less space.
--- -Barrett A |
zkostik Carrier
 Posted: 24 Oct 2002 09:00 GMT Total Posts: 2486 | these are absoluter and relative paths B. just so you say them right. yeah, relative paths are good for portability. change only ones you need to, leave others as relative. this probably won't fix the problem since part of the location is added to the relative path anyways.
--- 09 F9 11 02 9D 74 E3 5B D8 41 56 C5 63 56 88 C0 |
Barrett Administrator
 Posted: 24 Oct 2002 14:44 GMT Total Posts: 1676 | yeah it'll fix the problem cus it'll add the relative path to whatever URL the user is on.
--- -Barrett A |
Barrett Administrator
 Posted: 25 Oct 2002 13:44 GMT Total Posts: 1676 | Z, i fixed the Website problem where it loads 'website' in the main frame. it now loads new websites in '_new'.... is there a special notation for making it open in a new window even if the current window's name is _new?
--- -Barrett A |
Barrett Administrator
 Posted: 25 Oct 2002 14:22 GMT Total Posts: 1676 | ok Z, TEEMZ loads the www automatically, which means it does absolute paths. which means that it will be a heck of a lot easier for us to switch to absolute. i don't think we'll be changing our domain name any time soon so this shouldn't be much of a problem.
--- -Barrett A |
zkostik Carrier
 Posted: 25 Oct 2002 21:37 GMT Total Posts: 2486 | to open a new window you use "_blank". and yes, i guess we could use absolute paths since by now we have almost everything done by script and from templates and true, we don't plan on switching any time soon. so, if you could fix the problem that'd be cool. i'm going to be very busy this week, so i may not get much done. i did about half of the uploader. all that's left is to implement the actualy uploading function into the script. go to website admin, check it out. it doesn't work at full yet. take a look at script too B.
--- 09 F9 11 02 9D 74 E3 5B D8 41 56 C5 63 56 88 C0 |
Barrett Administrator
 Posted: 25 Oct 2002 21:40 GMT Total Posts: 1676 | k awesome Z... if you can, try and make it accept spaces in the zip filename... that'd be much better.... maybe replacing them with %20 or something?
btw, if you login in the menu, the login cookie lasts until you logout instead of when the browser closes. if you don't want that to happen, login through the forum and check the box.
[Edited by Barrett on 26-Oct-02 00:41]
--- -Barrett A |
zkostik Carrier
 Posted: 26 Oct 2002 16:54 GMT Total Posts: 2486 | yes, it accepts all characters windoze allowes you to have. including spaces. new cookie opt eh? cool! did you add it B? btw, can you add that "remember me" checkbox to the menu if you get some time? it kinda started it, but i can't seem to find where exactly teemz determines whether cookie is permanent so it can check that checkbox auto.
--- 09 F9 11 02 9D 74 E3 5B D8 41 56 C5 63 56 88 C0 |