Author | Comment |
zkostik Carrier
 Posted: 29 Sep 2002 20:44 GMT Total Posts: 2486 | continue the discussion started in the 'file database' topic
--- 09 F9 11 02 9D 74 E3 5B D8 41 56 C5 63 56 88 C0 |
zkostik Carrier
 Posted: 30 Sep 2002 20:32 GMT Total Posts: 2486 | update: review system is almost complete. it already shows reviews, only review adding function isn't done yet (if you go to post a review, you'll get an error, but that's okay, because it's not complete yet). only one review is allowed for each file (hmm...at least for now, maybe multiple reviews will be allowed later on), therefore, you won't get the review form if you click 'review' on already reviewed items. later, i'll make 'review' button only appear with items that can be reviewed.
only one item has a test review now, and that's Teenage Mutant Ninja Turtles 3 (ID=81)
--- 09 F9 11 02 9D 74 E3 5B D8 41 56 C5 63 56 88 C0 |
zkostik Carrier
 Posted: 3 Oct 2002 21:41 GMT Total Posts: 2486 | update:login check added. you need to be logged in in order to rate or review filessome bugs fixedrating system is now donereview system is almost done, just a couple of things remain to be codedsome other stuff donetake a look at the [demo]!!!the program is still being worked on, so, some stuff may not function as its supposed. also, if you get an error it can be coz i'm updating it. anyway, have fun. i'd like some feedback while i'm working on this. tks!!!
!oh, so far you MUST use the dropdown menus in the demo since only the navigation was replaced. clicking the navigation buttons will get you the current file listings, not the new demo ones!
[Edited by zkostik on 04-Oct-02 00:44]
--- 09 F9 11 02 9D 74 E3 5B D8 41 56 C5 63 56 88 C0 |
Barrett Administrator
 Posted: 4 Oct 2002 12:40 GMT Total Posts: 1676 | nice demo Z... one problem was DOS programs will show 'All Programs'
--- -Barrett A |
zkostik Carrier
 Posted: 4 Oct 2002 17:50 GMT Total Posts: 2486 | prolly a typo somewhere...i'll fix that sometime later. btw, that top_test.htm was done quite a while ago, i might have changed something since. tks for checking it out. i'll get the reviews fully working today or tomorrow.
[Edited by zkostik on 04-Oct-02 20:52]
--- 09 F9 11 02 9D 74 E3 5B D8 41 56 C5 63 56 88 C0 |
zkostik Carrier
 Posted: 4 Oct 2002 17:58 GMT Total Posts: 2486 | haha, i forgot to add the 'DOS' programs to the filter fixed and working now!
--- 09 F9 11 02 9D 74 E3 5B D8 41 56 C5 63 56 88 C0 |
zkostik Carrier
 Posted: 4 Oct 2002 21:21 GMT Total Posts: 2486 | update: reviews are fully working now
todo's: file grouping better sort lotsa optimizations!
pls give the current version a good test, i don't want the released version to have any problems. helping me to test and troubleshoot the script will also make the release faster! i'd appreciate any input.
--- 09 F9 11 02 9D 74 E3 5B D8 41 56 C5 63 56 88 C0 |
Barrett Administrator
 Posted: 4 Oct 2002 21:22 GMT Total Posts: 1676 | the links in tankers are off (or were earlier today)
--- -Barrett A |
zkostik Carrier
 Posted: 4 Oct 2002 21:31 GMT Total Posts: 2486 | oh, thanks for noticing. actually, they were just copied from the original Tankers info page and weren't fixed. i'll fix those.
--- 09 F9 11 02 9D 74 E3 5B D8 41 56 C5 63 56 88 C0 |
Barrett Administrator
 Posted: 5 Oct 2002 14:55 GMT Total Posts: 1676 | k Z, 1 major problem, and 1 minor problem with the index_test.htm page and files.cgi stuff.
the minor problem (with index_test.htm) is that admin points to admin.htm, so fix that before you rename index_test to index.
the major problem (with files.cgi), is that when you try to download something, it first prints the html tag first, so it shows up as "Location http://blah blah blah blah" or whatever... so it must be printing 'content html blah blah blah' and then printing 'Location blah"... so just change that so it only prints 'Location blah'... i'll do it right now if i don't see any evidence of you working on it (just so i don't mess you up =Þ)
--- -Barrett A |
Barrett Administrator
 Posted: 5 Oct 2002 15:23 GMT Total Posts: 1676 | hmmm..... i can't seem to find the problem... check this out Z... what have you changed in the last couple days?
--- -Barrett A |
zkostik Carrier
 Posted: 5 Oct 2002 18:10 GMT Total Posts: 2486 | to tell you the truth B, i never intended on renaming that test index ad i only made it for testing. hence i didn't give it a good debug. thanks for noticing that anyways. as of download stuff, its still a mystery to me because i didn't change the download function. hmm...i'll try to figure this out. though, if anything gets across your mind, let me know.
--- 09 F9 11 02 9D 74 E3 5B D8 41 56 C5 63 56 88 C0 |
zkostik Carrier
 Posted: 5 Oct 2002 18:55 GMT Total Posts: 2486 | okay B, i fixed it! was a rather weird cause for this not to work but after couple minutes i found the problem. in case you wonder what it was, it was a call to the GetUser() function that for some reason interfered with download stuff. so, instead of checking user at the beginning of the script, we now check user inside each function or when we need that. nice you've noticed that problem at first.
--- 09 F9 11 02 9D 74 E3 5B D8 41 56 C5 63 56 88 C0 |
zkostik Carrier
 Posted: 5 Oct 2002 19:55 GMT Total Posts: 2486 | update: sorting is now perfect and is faster and somewhat more efficient than previous (which didn't sort very well actually...) download problem is now fixed (as i said in previous post)
to do's: file grouping file search capabilities
--- 09 F9 11 02 9D 74 E3 5B D8 41 56 C5 63 56 88 C0 |
Barrett Administrator
 Posted: 5 Oct 2002 20:23 GMT Total Posts: 1676 | so Z... good job... i'd say it's about ready rename top_test to top.htm... definitely... are there any errors with the current test? if all it needs is more features then i say we go for it.
--- -Barrett A |
Barrett Administrator
 Posted: 5 Oct 2002 20:24 GMT Total Posts: 1676 | oh, and for file grouping, i say at the bottom of each 'list', there should be a link that says 'View All', and it'll show all of the file's and their info.
--- -Barrett A |
Barrett Administrator
 Posted: 5 Oct 2002 20:27 GMT Total Posts: 1676 | Z i found a bug, the TI-82 tron's link goes to the TI-89 one.
--- -Barrett A |
Barrett Administrator
 Posted: 5 Oct 2002 20:29 GMT Total Posts: 1676 | one more bug Z.. this one is kind of big but i don't know how easily it can be fixed...beh go there and look at how many times there are 'doubles'... and even 'triples'... i'm guessing this has something to do with sorting, but i'm not sure...
[Edited by Barrett on 05-Oct-02 23:30]
--- -Barrett A |
Barrett Administrator
 Posted: 5 Oct 2002 20:38 GMT Total Posts: 1676 | 1 more bug, after 'rating' a file, it prints Content-Type: text/html twice so the 2nd one shows up as text at the top
--- -Barrett A |
zkostik Carrier
 Posted: 6 Oct 2002 09:13 GMT Total Posts: 2486 | bug with "Content Type..." is now fixed. i think. at least i don't see it anymore where we used to see it. the sorting bug is still being worked on. i'll work on it when i get back from work (around 10:40 pm here)
--- 09 F9 11 02 9D 74 E3 5B D8 41 56 C5 63 56 88 C0 |
Barrett Administrator
 Posted: 6 Oct 2002 10:09 GMT Total Posts: 1676 | don't forget Z that the link from the TI-82 tron still goes to the 89 page...
--- -Barrett A |
Barrett Administrator
 Posted: 6 Oct 2002 12:17 GMT Total Posts: 1676 | ok Z, i made it so that Tron 82 shows up in 82 games, however, i had to rename the filename to Tron 82... (instead of Tron)... which means, that if 2 files have the same name, it will take the first one.... which is very weird...
--- -Barrett A |
Barrett Administrator
 Posted: 6 Oct 2002 16:59 GMT Total Posts: 1676 | 83 games - loderunner loads as loderunner ROM
[Edited by Barrett on 06-Oct-02 21:31]
--- -Barrett A |
Barrett Administrator
 Posted: 6 Oct 2002 18:43 GMT Total Posts: 1676 | ok Z i think i fixed the 'same name problem'... it must be a bug in perl... what i did was i made $id the first item in the 4 item |'s thingy instead of $shortname... so it works... i think...
--- -Barrett A |
zkostik Carrier
 Posted: 6 Oct 2002 20:30 GMT Total Posts: 2486 | ahh, yes the problem with files is my fault and i see where it now lies. its the sort problem. i'll rework the sort stuff when i get some time. if you look at the sort stuff you'll most likely see why it is so. you can give it a try if you want, but i'll get to it as soon as i can.
--- 09 F9 11 02 9D 74 E3 5B D8 41 56 C5 63 56 88 C0 |
Barrett Administrator
 Posted: 6 Oct 2002 22:24 GMT Total Posts: 1676 | k Z, view all works, and if you want, you can go here and it'll show all files (300 k though)... btw, sorry but i think i accidently forgot to redownload files.cgi, so i accidently wrote over your change that fixed the download problem... sorry 'bout that... so if you could do that, and make it sort correctly (including the 'view all' thing... (which will require a lot of changing from what i can see) we'll be able to switch the site over to the database.this is looking goodthanks Z
--- -Barrett A |
zkostik Carrier
 Posted: 7 Oct 2002 05:53 GMT Total Posts: 2486 | yeah B, view all is phat! it's cool to see all the files on one page (it's a bit long tho) ya, tks for helpng me out. i just fixed the download problem. what you actually do, is move the GetUser() call from script initialization to all functions that use it. that's it. ay, i'm going to work in about 30 mins, so i'll try to work on sort when i come back. l8r
--- 09 F9 11 02 9D 74 E3 5B D8 41 56 C5 63 56 88 C0 |
Barrett Administrator
 Posted: 8 Oct 2002 17:03 GMT Total Posts: 1676 | Z it looks like all sorting works (exept on 'view all')! even files with the same name will show up with the correct ID #!!!.. check it out, if this all works then let's switch over.
[Edited by Barrett on 08-Oct-02 20:04]
--- -Barrett A |
Barrett Administrator
 Posted: 8 Oct 2002 18:09 GMT Total Posts: 1676 | hmmmm...... i was trying to get sort on 'view all' to work... but i keep getting internal server errors... i have no idea what's wrong... do you have a debugger Z? i tried some but i couldn't figure out what was wrong, it was insisting to me that arrays should really be strings and crap like that... can you try and figure out what's wrong Z? and don't delete your current version cus i may have randomly typed something that we won't be able to figure out...
--- -Barrett A |
Barrett Administrator
 Posted: 8 Oct 2002 21:42 GMT Total Posts: 1676 | ok Z, 'tfiles.cgi' works perfectly... i see you're working on files.cgi right now so i'm trying to let you know that i've got a working version... go on aim if you see this.
--- -Barrett A |
spiral Wraith Posted: 8 Oct 2002 21:44 GMT Total Posts: 958 | the wat pages u've read and wat pages u haven't doesn't seem to work too well (is it because i'm opening them in different windows?) b/c it's just been displaying the same files even w/o changes since the start of it. |
Barrett Administrator
 Posted: 8 Oct 2002 21:49 GMT Total Posts: 1676 | what it does, is records the last time you logged out, and everything after the last time you logged out is 'unread'
--- -Barrett A |
zkostik Carrier
 Posted: 8 Oct 2002 21:53 GMT Total Posts: 2486 | don't worry bout the sort. i'll get it to work eventually. as of perl debugger, Perl Edotor prog does a fairly decent job for me. you'll also need to install the Perl runtime stuff found on perl.com or something like that to be able to run scripts. good luck! actually, right now i'm figuring out things about the sort function found in perl. it could sort our db if we split the data for it. take a look at what i made so far. i'll continue to work on it. $a and $b are the operands sort comapres. see me on AIM and i'll explain more, but there are still some changes to do there to make it fully working.
--- 09 F9 11 02 9D 74 E3 5B D8 41 56 C5 63 56 88 C0 |
Barrett Administrator
 Posted: 8 Oct 2002 21:55 GMT Total Posts: 1676 | Z go on aim
--- -Barrett A |