corsasport.co.uk
 

Corsa Sport » Message Board » General Chat » Could I have some feedback please? **UPDATED**


New Topic

New Poll
  Subscribe | Add to Favourites

You are not logged in and may not post or reply to messages. Please log in or create a new account or mail us about fixing an existing one - register@corsasport.co.uk

There are also many more features available when you are logged in such as private messages, buddy list, location services, post search and more.


Author Could I have some feedback please? **UPDATED**
PaulW
Member

Registered: 26th Jan 03
Location: Atherton, Greater Manchester
User status: Offline
   29th Jan 04 at 19:12   View User's Profile U2U Member Reply With Quote

http://www.stnicholas-school.org.uk/gallery/

I've only been working on this since Monday, and its also my first go at coding in ASP, so I've also been learning myself that.

What I've been doing is a gallery system for our school website, I would of rather done it in PHP, but our webhost doesn't support it

What do you think of it? Is the layout ok?

Please let me know! Cheers!



[Edited on 05-02-2004 by PaulW]
PaulW
Member

Registered: 26th Jan 03
Location: Atherton, Greater Manchester
User status: Offline
29th Jan 04 at 19:17   View User's Profile U2U Member Reply With Quote

quote:
Originally posted by m-dot
whats SNC Gallery version 0.92?

surely if its your coding, you shouldnt be using free gallery scripts


Its not

SNC is an abreviation of St Nicholas

[Edited on 29-01-2004 by PaulW]
m-dot
Member

Registered: 17th Aug 03
Location: Warrington
User status: Offline
29th Jan 04 at 19:23   View User's Profile U2U Member Reply With Quote

what the hell, i never posted that
Paul_J
Member

Registered: 6th Jun 02
Location: London
User status: Offline
29th Jan 04 at 19:24   View User's Profile U2U Member Reply With Quote

just watch the kids fill it with porn
PaulW
Member

Registered: 26th Jan 03
Location: Atherton, Greater Manchester
User status: Offline
29th Jan 04 at 19:24   View User's Profile U2U Member Reply With Quote

ya bloody did then ya deleted it straight after!
m-dot
Member

Registered: 17th Aug 03
Location: Warrington
User status: Offline
29th Jan 04 at 19:24   View User's Profile U2U Member Reply With Quote

not me mate
PaulW
Member

Registered: 26th Jan 03
Location: Atherton, Greater Manchester
User status: Offline
29th Jan 04 at 19:25   View User's Profile U2U Member Reply With Quote

quote:
Originally posted by Paul_J
just watch the kids fill it with porn


only I can add items to the gallery, no-one else!

mainly cos the admin side is still 'lacking' of features & is still buggy

plus the front end aint perfect, still a few things I need to sort out!
Dom
Member

Registered: 13th Sep 03
User status: Offline
29th Jan 04 at 19:28   View User's Profile U2U Member Reply With Quote

looks very neat mate Although shrink the folder icons a little more to speed it up a tad. Also mate, i know this would be drag to do, but why not put the website into frames? since the menu doesnt change nor does the header (not from the browsing of the site), it would also cut down repeating table code etc in all of the html files, thus saving space and thus making it faster loading
However, very nice mate. Would be interested in how the backend works though - you running it from a database for the passwords etc or are they hardcoded? i take it you just getting the script to display all of the pics in a certain folder on the screen?

Dom
p.s - mate, im in a similar situation, having to learn php/cgi and linux(mandrake) and apache etc its doing my fooking nut in php/cgi seem to be very easy its just linux thats peeing me off, having to use command lines to start the apache server and change settings etc etc
PaulW
Member

Registered: 26th Jan 03
Location: Atherton, Greater Manchester
User status: Offline
29th Jan 04 at 19:36   View User's Profile U2U Member Reply With Quote

was thinking about using frames to hold the gallery in, just means butchering the templates a bit! the backend doesn't use a database (yet) for now its just a few functions reading & writing to some temp files which are located outside the htdocs folder, so not accessible via the web browser itself, so passwords & stuff can't be got at. Code is extremely messy though!

yeah its just reading the list of pics from a folder, nothing too complicated! Makes it a bit easier doing it all aswell, as thumbnails & preview images are created on-the-fly if they don't already exist, and deleted if the hi-res pic is removed, so makes it very easy to add/remove pics from the catagories

Need to work on sub-catagories though, as while I was coding it I didnt really think of including support for sub folders, but I think I best had!

I'm going to leave it as it is for now until tomorrow, got a meeting with the governors & the head of the school about the website, so will see what they think of the gallery now.

hehe also

/etc/init.d/apache restart

Surely writing that one line to restart apache isn't too hard!!

[Edited on 29-01-2004 by PaulW]
Dom
Member

Registered: 13th Sep 03
User status: Offline
29th Jan 04 at 19:50   View User's Profile U2U Member Reply With Quote

quote:
Originally posted by PaulW
was thinking about using frames to hold the gallery in, just means butchering the templates a bit! the backend doesn't use a database (yet) for now its just a few functions reading & writing to some temp files which are located outside the htdocs folder, so not accessible via the web browser itself, so passwords & stuff can't be got at. Code is extremely messy though!

yeah its just reading the list of pics from a folder, nothing too complicated! Makes it a bit easier doing it all aswell, as thumbnails & preview images are created on-the-fly if they don't already exist, and deleted if the hi-res pic is removed, so makes it very easy to add/remove pics from the catagories

Need to work on sub-catagories though, as while I was coding it I didnt really think of including support for sub folders, but I think I best had!

I'm going to leave it as it is for now until tomorrow, got a meeting with the governors & the head of the school about the website, so will see what they think of the gallery now.

hehe also

/etc/init.d/apache restart

Surely writing that one line to restart apache isn't too hard!!

[Edited on 29-01-2004 by PaulW]

niiice seems like a nice and easy option, although the creating of the thumbnails on the fly?? thought that wasnt possible under ASP only way i have been able to do on the fly imagery was using add-on components that had to be installed on the server and cost loads too

as for the apache thing, yea i know its a simple one liner lol, but when your completly new to linux, apache and just learning php/cgi it all gets abit outta hand lol Ive yet to work out how to configure the apache server (mandrake put the files in different directories etc), all i know is where to dump html files and how to start/stop...oh and now restart , the thing worst thing is, tried downloading a newer version of apache and it wanted rebuilding and compiling and all sorts...so that kinda went out the window why cant it be as simple to install as windows yet as secure as linux, huh?
PaulW
Member

Registered: 26th Jan 03
Location: Atherton, Greater Manchester
User status: Offline
29th Jan 04 at 20:00   View User's Profile U2U Member Reply With Quote

Host already has quite a few components installed, so I'm able to use the ASPJpeg component, but I agree, when I was looking for something to manage JPG filesin ASP, components are all over $200!!!!

Have a look here

http://urpmi.org/easyurpmi/index.php

Its a util called URPMI, similiar to apt-get, but I aint 100% sure on how urpmi is used, but may make upgrading packages & sorting dependencies out alot easier!
PaulW
Member

Registered: 26th Jan 03
Location: Atherton, Greater Manchester
User status: Offline
5th Feb 04 at 13:52   View User's Profile U2U Member Reply With Quote

Ok I've just completely re-coded the backend to add a few features (9 thumbs per page view instead of the whole list, sub-catagories, improved speed, and a hidden Admin system )

Anyone care to give it a good test please?
Ian
Site Administrator

Avatar

Registered: 28th Aug 99
Location: Liverpool
User status: Offline
5th Feb 04 at 14:33   View Garage View User's Profile U2U Member Reply With Quote

Looks good although I'd lose the 'Powered by' footer.

You also have a border on the 22x22 forward and back GIFs on views with multiple images.

Do you have better descriptions for the galleries as well? 'Year 8 Art - Art by Year 8' doesn't really tell me a lot!
Steve
Premium Member

Avatar

Registered: 30th Mar 02
Location: Worcestershire Drives: Defender
User status: Offline
5th Feb 04 at 14:36   View Garage View User's Profile U2U Member Reply With Quote

i want a username and password to view galleries please
PaulW
Member

Registered: 26th Jan 03
Location: Atherton, Greater Manchester
User status: Offline
5th Feb 04 at 18:26   View User's Profile U2U Member Reply With Quote

quote:
Originally posted by Ian
Looks good although I'd lose the 'Powered by' footer.

You also have a border on the 22x22 forward and back GIFs on views with multiple images.

Do you have better descriptions for the galleries as well? 'Year 8 Art - Art by Year 8' doesn't really tell me a lot!


The footer was a part of the old debugging script, still not removed it all incase I need to turn on debug if there are problems!

The back & forward buttons I've tried doing border="0" for them, but as there a <form><input type="image"....> I think that coupled with the css style sheet are making the borders come up all time, I'll have a look through the style sheets when I get a minuite! Also the crappy descriptions will be changed as soon as the art teacher gets her ass in gear & gives me something better to put, all she did was gave me some pictures with no details or anything, I had to ask what was what in them

Steve - the password is there for a reason! Only people within the school are allowed in that section, its there so they can get in from home, but more content will be added in the future.

**EDIT**

Just took out the footer

[Edited on 05-02-2004 by PaulW]
Ian
Site Administrator

Avatar

Registered: 28th Aug 99
Location: Liverpool
User status: Offline
5th Feb 04 at 18:43   View Garage View User's Profile U2U Member Reply With Quote

Out of interest are you storing images as files in folders or BLOBs in a DB? I'm in the middle of writing something to allow upload/download of PDFs, Word docs etc. and chose to store them in the DB so sample code would be good!!
Ben
Banned

Registered: 12th Jan 03
Location: West Yorkshire
User status: Offline
5th Feb 04 at 18:47   View User's Profile U2U Member Reply With Quote

bastard i wanted to see some nice 6th form ladys, but u need a password can i have one plz
cdcool1
Member

Registered: 9th Jun 02
Location: Scunny
User status: Offline
5th Feb 04 at 18:49   View User's Profile U2U Member Reply With Quote

quote:
Originally posted by Ben
bastard i wanted to see some nice 6th form ladys, but u need a password can i have one plz


6th form yea right, dirty perv!
PaulW
Member

Registered: 26th Jan 03
Location: Atherton, Greater Manchester
User status: Offline
5th Feb 04 at 18:54   View User's Profile U2U Member Reply With Quote

quote:
Originally posted by Ian
Out of interest are you storing images as files in folders or BLOBs in a DB? I'm in the middle of writing something to allow upload/download of PDFs, Word docs etc. and chose to store them in the DB so sample code would be good!!


Soz m8 I've not really made this based on a DB! It's pretty much all file-based, with a txt file holding descriptions for the images/catagories. really is quite basic stuff (only been coding ASP now for near 2 weeks, never touched it before then in my life!)

Plus I'm still working on an upload/online file management script, but windows 2003 server is what the sites hosted on & uploads are capped at a max of 200k in size so I need to sweet-talk the host round to increasing that for me!

Really hate ASP though, PHP is sooo much nicer to use, but I agree with what you said up top, the session management & stuff is a hell of alot better within ASP than PHP!

 
New Topic

New Poll

Corsa Sport » Message Board » General Chat » Could I have some feedback please? **UPDATED** 23 database queries in 0.0165210 seconds