hey guys came up with a suggestion to Darren about a donations bar to see how much money has actually been donated it might help stimulate more people to donate
PROBLEM--ADMIN needs some1 to do it for him so if ur artistic and good with this stuff post here and DARREN will tell u the details cheersssssss
MY VY SV8 HBD http://forums.justcommodores.com.au/...y-sv8-hbd.html
I can code a bit of php, so I'll have a play and see if I can make sumfin.![]()
VK Wagz 308 - [Buildup Thread]
VK Wagz 253 Twin Turbo - [Buildup Thread]
VK Wagz EFI 5.0L 5spd - [Buildup Thread]
TECH: VK EFI Conversion - Fix your dead EFI 5L ignition module - Trimatic shift kit
In 3 weeks when my savings account is at the exact point where i want it, i'll be donating $100, i get $50 a week taken out of my pay and always have for my savings, i just want to see it reach my point i want it at then i can transfer cash over to JC.
But i'll definantly be donating.
Originally Posted by wikky
Well I've now knocked up a simple script....took me about 2 hours. Thought it would of taken longer, especially coz I had to look up some maths questions which I've forgotten since school (percentages).
I'll upload it 2morrow and I'll chuck a link up to it. At the moment on the page shows 3 different ways I tried displaying the info. First I displayed it as a text, then the 2nd and 3rd as bar graphs which show how much has been donated and how much is still needed. I haven't spent any time on the graphics side of things, so it's all pretty basic looking for now.
I made an admin panel which is password protected. In there u can edit the total amount of donations needed, and the amount of donations so far in total (u edit the whole number, but I can make it so u just add say $20 when u get the donation, and it adds it to the total, but yeah will sort that out later).
Also as I'm not very advanced in php, I decided not to use a database, mainly for security reasons. I've used them b4, but I'd prefer not to use them for this just incase someone gets into the JC database through a security flaw in my code....so I tried something new, and all the data is stored in text files.
Anyways I'll show ya's 2morrow.![]()
VK Wagz 308 - [Buildup Thread]
VK Wagz 253 Twin Turbo - [Buildup Thread]
VK Wagz EFI 5.0L 5spd - [Buildup Thread]
TECH: VK EFI Conversion - Fix your dead EFI 5L ignition module - Trimatic shift kit
Great work! I'm looking forward to it, I don't think the db needs any more load![]()
haha thanx heaps VHpirie much appreciated
MY VY SV8 HBD http://forums.justcommodores.com.au/...y-sv8-hbd.html
Here it is. At the moment it isn't nothing flash. To start with I didn't have any graphical bars, so I knocked one up in photoshop. Obviously that can be made to suit.
This page shows the details. The graphical bar I made hasn't got any text yet (to show figures), but that can be put in also.
http://www.cablesa.com.au/donations_.../donations.php
And here's the admin panel....again it's nothing flash. No graphics at all, just pretty straight forward. I'll neaten it up and make it look a bit nicer when I do some more work on it.
http://www.cablesa.com.au/donations_JC_test/update.php
The password is '12345'. At the moment the password is stored in the config file. After some more work I'm gonna store it in a text file and use md5 encryption. I'm trying to think of a way to store it other then a text file tho, coz even with the md5 encryption, it seems a bit vulnerable stored in a text file.
There shouldn't be to many bugs, so go ahead and test it out. Change the settings then have a look at the bar.
I've tried to fix most things which could cause an error. Like if a few pages in the admin panel are accessed directly, u can change the settings without logging in, so I've now made every file in the admin panel require authorisation (u only have to login once on the main update page tho). But I might change that soon to use cookies and sessions, coz I recently played around with a DIY forum (I followed a tutorial to make a basic forum), and added a member registration page, login and logout, and yeah a few things like that which could be useful on something like this.
But yeah go have a play and see wat ya's rekon. But if u change the settings, refresh the donations page soon after, just incase someone else goes through and changes the settings then it will seem like sumfin has stuffed up but really hasn't.
And please give me ur opinions, wat u think is good and bad, and wat u think needs to be added etc etc.![]()
VK Wagz 308 - [Buildup Thread]
VK Wagz 253 Twin Turbo - [Buildup Thread]
VK Wagz EFI 5.0L 5spd - [Buildup Thread]
TECH: VK EFI Conversion - Fix your dead EFI 5L ignition module - Trimatic shift kit
u no ur stuff is that done through alot of code JAVA? lol
MY VY SV8 HBD http://forums.justcommodores.com.au/...y-sv8-hbd.html
thx mate, nah it's done using php.
Might have to put a limit on the amount of digits which can be entered lol
Also I might setup the cookies and sessions so the admin doesn't have to log back in after changing something...just a lil sumfin to make it easier.
VK Wagz 308 - [Buildup Thread]
VK Wagz 253 Twin Turbo - [Buildup Thread]
VK Wagz EFI 5.0L 5spd - [Buildup Thread]
TECH: VK EFI Conversion - Fix your dead EFI 5L ignition module - Trimatic shift kit
I've been working on this last night and 2day. Was a bit tipsy last night but still made some progress lol.
Have made a fair few changes, here's a rough list.
Admin panel...
- Got some colours happenin.
- Added a preview box.
- Added the time and date down the bottom.
- Now uses cookies (md5 encrypted data) and session limits to control admin panel logins.
- Ability to change between different bar styles.
- More stable error control system.
- Added a 4 character limit to the update settings text fields.
- Now only numerical characters can be entered into the update settings text fields, it won't allow anything else to be entered.
- Added automatic redirection to the update pages. (so it takes u back to the update menu)
And yeah that's about it so far.
Hey Darren if u want me to make a graphic bar to suit JC, let me know wat colours u want, and wat pattern if any.![]()
Oh yeah, instead of logging in on the update.php page, I've now added admin.php which takes care of the login side of things, so here's the new link.
http://www.cablesa.com.au/donations_JC_test/admin.php
Let me know wat ya's rekon.
VK Wagz 308 - [Buildup Thread]
VK Wagz 253 Twin Turbo - [Buildup Thread]
VK Wagz EFI 5.0L 5spd - [Buildup Thread]
TECH: VK EFI Conversion - Fix your dead EFI 5L ignition module - Trimatic shift kit
looking pretty good mate well done
MY VY SV8 HBD http://forums.justcommodores.com.au/...y-sv8-hbd.html
very nice, I'm easy on colours, heck JC is well overdue for an upgrade.
As long as it gets the point across which I can see this does a big thumbs up!
Thanks a million.
I've been thinkin, maybe I should try and make the donations page a part of the forum. Like so it shows members who have donated, and also so members can donate online (similar to the current setup with paypal).
But that might take a bit of time. I've never made mods for vBulletin, and I'd need it to run on a database otherwise they'll be text files everywhere lol.
I've made mods for phpBB (one being like a photobucket sort of thing for each member) b4, but that isn't as advanced as this forum's software. I might download myself a copy of vBulletin, install it on my computer and have a play around.
But yeah, for now I might just finish the current one I've been working on. But I think I might run it off a database so I can store more info to make it more less boring lol.
VK Wagz 308 - [Buildup Thread]
VK Wagz 253 Twin Turbo - [Buildup Thread]
VK Wagz EFI 5.0L 5spd - [Buildup Thread]
TECH: VK EFI Conversion - Fix your dead EFI 5L ignition module - Trimatic shift kit
il be donating once this thing is up and running haha il take a lil credit for sharing the idea but most of it will have 2 go 2 u VHpirie wouldnt have happened with out ya mate cheers and of course darren 4 keeping JC goin :P
MY VY SV8 HBD http://forums.justcommodores.com.au/...y-sv8-hbd.html