Velocity Reviews - Computer Hardware Reviews

Velocity Reviews > Newsgroups > Programming > HTML > Web interface

Reply
Thread Tools

Web interface

 
 
Chris Stolworthy
Guest
Posts: n/a
 
      10-18-2004
Hey guys have a question. I have a website for a guild for a game.
This website has a list of several people, we are running a system where we
can award "points" and people can use them to buy things. But right now my
website is using all tables, so basically it is a huge pain in the butt to
change and update points. I have to go in and reset the tables etc, but
also we need the site to re sort itself to show the person with the highest
number of points. So I am basically looking for a way to list these people
and have an admin option or something where I can type in their name and
either add or subtract points from their current balance then have the
website resort the names to show in order the people with the most number of
points. How can I do this?

TIA
-Chris


 
Reply With Quote
 
 
 
 
nice.guy.nige
Guest
Posts: n/a
 
      10-18-2004
While the city slept, Chris Stolworthy ()
feverishly typed...

> Hey guys have a question. I have a website for a guild for a game.
> This website has a list of several people, we are running a system
> where we can award "points" and people can use them to buy things.
> But right now my website is using all tables, so basically it is a
> huge pain in the butt to change and update points. I have to go in
> and reset the tables etc, but also we need the site to re sort itself
> to show the person with the highest number of points. So I am
> basically looking for a way to list these people and have an admin
> option or something where I can type in their name and either add or
> subtract points from their current balance then have the website
> resort the names to show in order the people with the most number of
> points. How can I do this?


This is the ideal job for a database. If you have decent web space you
should be able to run server-side scripts and have access to a database of
some sort (most likely SQL stylee). If so, you want to create a database
table of your members, with their info including points balance. Then a page
to extract this data and sort it by number of points (a very simple SQL
query). You can also build some admin pages so you can add/amend/delete
users, and adjust their points. If you or anyone else in your organisation
don't have the technical ability to do this, then employ someone to set it
up for you - I have very reasonable rates!

If you don't have the infrastructure to do this (ie. your webspace doesn't
allow it), you have a couple of options.

1. Move to web space that will allow this (doesn't have to be too expensive.
Affordable Host come to mind: http://www.affordablehost.com )
2. Set up some kind of offline database / spreadsheet for your data that
will export the results to a HTML table, and then slot that into your pages.
Make sure that whatever program you use for this doesn't spit out some kind
of horrendous tag soup! The online database version remains the ideal way to
do this, though.

Hope that helps.

Cheers,
Nige

--
Nigel Moss
http://www.nigenet.org.uk
Mail address not valid. , take the DOG. out!
In the land of the blind, the one-eyed man is very, very busy!


 
Reply With Quote
 
 
 
 
Robert Frost-Bridges
Guest
Posts: n/a
 
      10-18-2004
Chris Stolworthy wrote:

> Hey guys have a question. I have a website for a guild for a game.
> This website has a list of several people, we are running a system
> where we
> can award "points" and people can use them to buy things. But right
> now my website is using all tables, so basically it is a huge pain in
> the butt to
> change and update points. I have to go in and reset the tables etc,
> but also we need the site to re sort itself to show the person with
> the highest
> number of points. So I am basically looking for a way to list these
> people and have an admin option or something where I can type in their
> name and either add or subtract points from their current balance then
> have the website resort the names to show in order the people with the
> most number of
> points. How can I do this?


Definitely a case for a database as Nigel says. The site in my sig is a
small club site that is mostly driven by a mysql db and written out to
the page via a little php mixed in with the html. All the tables are
ordered via mysql queries and there is also an admin site in the
background for updates which are also done by a totally non-tech club
member via <select><option>'s and textarea's etc.
(It is actually hosted on http://www.affordablehost.com as well).


--
frostie
http://brightonfixedodds.net
 
Reply With Quote
 
 
 
Reply

Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Going from higher security level interface to lower security interface- HELP!!! - AM Cisco 4 12-28-2004 09:52 PM
PCI interface or USB interface David Wireless Networking 4 09-16-2004 01:01 PM
allow ssh only on outside interface, but telnet on inside interface of router no-one Cisco 0 07-28-2004 04:17 PM
PIX: how to allow 1 host from outside interface to access another host on the inside interface? jonnah Cisco 1 04-21-2004 02:26 PM
static nat between phisical interface and virtual interface on same ethernet Andrea Cisco 0 04-19-2004 09:37 AM



Advertisments
 



1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57