Log in

View Full Version : Status hack beta 2.0


meteore
03-26-2003, 10:00 PM
Status Hack version Beta 2.0

By Meteore Copyright 2003 ?

Mail-me:cletonnelier@wanadoo.fr
--------------------------------------------

This hack will stay beta until I find it totally complete to be a full release.
And when it will become a release it would surely be the last version.

This hack allows you to had a page where you could put the list of a things with
a status. Each item can be updated.

It could be really useful for example if you'd like to show your member the hacks
you have installed on the board, their status and a brief description, or for example
to list some objecs you have. It coul also be used to list server and to show their status.

I know this hack is not coded like some would like it but it's my coding way so
if you don't like just don't take it !

The status which is a dropdown contains 5 fields and for the moment you can't add or remove one (sorry but it will come)


News since the first version:

- The link to add an item is shown only to the allowed members
- Their is now a new input field in case people who add items want to put a link
- The dropdown status condition are now stored when they are changed so that people
can see the past status of the item.
- I had try to do the design a little bit more easy to personnalize but I know it is
really really what you should expect



To-Do list:

- Change the design of the History of the past conditions so that it looks more
attractive
- Code a system of graph of how many times each condition has been used
- Change the way the date are done so that it takes automatically the actual one without
the need to enter it
- Try to use the database to store the history rather than files
- Optionnal: Something to let people put attachments (asked by a member here)
- Possibility to add or remove some of the field in the dropdown box

ANY OTHER SUGGESTIONS ARE WELCOME !!!!

Enjoy =)

I forget something: go in the template headinclude and put at the end:
<SCRIPT LANGUAGE="JavaScript">
function PopupCentrer(page,largeur,hauteur,options) {
var top=(screen.height-hauteur)/2;
var left=(screen.width-largeur)/2;
window.open(page,"","top="+top+",left="+left+",width="+largeur+",height="+hauteur+","+options);
}
</SCRIPT>

For those who have already installed the beta 1.0 you need to add a field called links in the table condtiontrail in your database, type varcahr(50). And to upload all the files , but only the edittrail and th e addtrail need to be changed)

For all suggestions, bug, request of new feature or problem mail-me at cletonnelier@wanadoo.fr

meteore
03-27-2003, 08:08 PM
first screen

meteore
03-27-2003, 08:09 PM
second screen

meteore
03-27-2003, 08:09 PM
and the last

SpeedStreet
03-27-2003, 08:35 PM
Can you please explain what this hack does? I'm not entirely sure I understand.

meteore
03-27-2003, 08:38 PM
this is like an extra page.
It let the webmaster of the forum to add a page where there is a list of items with condition. Those condition are personnalisable so as people can set it as they want to use it. Like list of film and the state of them (unavailable,available, ...) or everything else that you could want

see the screenshot for more informations

gopherhockey
03-27-2003, 09:07 PM
I originally requested this hack, and meteore was really cool about offering his expertise.

I run a web site for a large mountain biking organization in Minnesota. Due to the muddy conditions we can sometimes have with rain (or spring and winter conditions) - we have the need to post trail conditions to our fellow bikers. This helps us keep riders off the trails when they are wet - warn people not to drive long distances only to find a muddy trail etc.

The more I thought about my "special" need, the more I felt there was room for other systems to use this... a few examples might be things like information services use (system outages/status) - snowmobile or ski conditions... surfing (?) - anything that requires a "one page" view of the status of a number of different items..

You can get real creative with this kind of hack, our use was very specific and I thank meteore for his efforts. I'm clicking install - you can come see it in action on my site - I'll post a link soon.

gopherhockey
03-28-2003, 12:03 AM
Here is this hack working on my site using the initial version of this hack (and a few extra tweaks here and there)

http://www.morcmtb.org/forums/trail.php

Velocd
03-28-2003, 02:58 AM
lol.. at first I couldn't figure out what the hell this hack was referring to. ;)

I saw condition, and was thinking in terms of IF-THEN conditions, but I saw "trail" and thought you were referring to some complex PHP term for a variable type or something.

Mountain biking.. now it makes sense. :p

filburt1
03-28-2003, 03:19 AM
Recommendation: in the future, always follow vB's default way of modeling tables so you don't have to edit the templates to get them to work in custom styles.

Lethal
03-28-2003, 03:36 AM
Won't use it but nice hack!

SpeedStreet
03-28-2003, 12:08 PM
Very cool hack...nice work!

Dean C
03-28-2003, 03:33 PM
Interesting hack... completely baffled as how to use it though :(

- miSt

g-force2k2
03-28-2003, 08:16 PM
looks like a good job Meteore ;)

regards,
g-force2k2

meteore
03-28-2003, 09:13 PM
I am gonna modify it because the code looks really like a beginner lol so I am gonna try to do it much better and also add new features.

Erwin
03-28-2003, 10:54 PM
Interesting. :) Your description is rather difficult to understand, but I see what you mean.

ricoche
03-29-2003, 06:34 AM
Hi there,

EDIT: Fixed my problem. Everything is working great.

Thanks,

Ricoche

bandersen
03-31-2003, 07:58 PM
Hi, I liked this one and will see if I can use it.
I dont understand that body template though... it messes up my header and the background color in the header is white...

Can you add code so that people can attach a file? Like so the name of trail would become the download / link.. Not sure how big a job that is.
Thank you for a nice hack.

meteore
04-01-2003, 09:45 PM
New Version is now available !!! Beta 2.0

Mathiau
04-03-2003, 05:29 AM
it is basically a news boradcast - u know like a "conditions updater" or "weather update"

you know now radio stations get people to call in if they see an accident or something?

Well, this is like that, except you post what you are reporting and it keeps a record for all to see - very easy to understand if you think about it for a min.

Now, ineed to think of how i could use it, just cause it is such a cool hack!