i30 Owners Club

Another quick fuel consumption converter

0 Members and 1 Guest are viewing this topic.

Offline The Gonz

  • Admin
  • *
  • Afghanistan Vet
    • Posts: 16,734

    • au Australia
      Adelaide

  • Callsign GUNZ
(re https://www.i30ownersclub.com/forum/index.php?topic=11921.0)


I've 'written' one very similar for this forum to set up as a resource without linking.  :whistler:
(click to show/hide)

... and it looks like this:
(click to show/hide)
« Last Edit: May 17, 2013, 11:55:47 by Gonz »
  • Frugal Firty: FDSLXCRDi5spHyperSilverBodyKit+Mods & MrsG'sPDSRPrem


Offline Dazzler

  • Admin
  • *
  • Laughter is the best medicine...
    • Posts: 67,423

    • au Australia
      Devonport Tasmania

  • Best Car Forum on the Net
My head hertz  :undecided:
  • 2021 MG PHEV ( had 4 x i30 plus a Getz an Elantra and a Tucson)


Offline Phil №❶

  • Top Gear
  • *
  • Loco, most of the time!
    • Posts: 21,976

    • au Australia
      Mos Eisley, South Australia
Me 2 Mega Hertz :faint:
  • 2008 SX CRDi Auto White (Lila)[hr]2010 SLX CRDi Auto Red (Ruby)


Offline rustynutz

  • Top Gear
  • *
    • Posts: 17,513

    • au Australia
      South Gippsland

Offline Shambles

  • Admin
  • *
  • Retyred @ Last
    • Posts: 43,333

    • england England
      Manchester, UK
    • i30 Owners Club
Quote from: rustynutz
Thanks Gonz...but does it work?  :undecided:

I've had a quick look (I'm not a javascript programmer) and created a forum "page" to run it (we cannot run a form within a post).

I also stripped out the HEAD and BODY stuff as SMF already provides them, but here's what it looks like:

https://www.i30ownersclub.com/forum/index.php?page=pageECO
  • Ioniq MY2018 SE Premium Hybrid in Polar White with added oomph


Offline Shambles

  • Admin
  • *
  • Retyred @ Last
    • Posts: 43,333

    • england England
      Manchester, UK
    • i30 Owners Club
And here is the unadulterated version, outside the forum

https://www.i30ownersclub.com/Gonz.html deprecated
  • Ioniq MY2018 SE Premium Hybrid in Polar White with added oomph


Offline AlanHo

  • Global Moderator
  • *
  • Geriatric Teenager
    • Posts: 21,468

    • england England
      Solihull, UK

  • 2021 KIA Niro 3 1.6 Petrol Hybrid
I entered 100 km and 5 litres and nothing happened.

How do you get it to convert and display the results?
  • 2021 KIA Niro3 1.6 petrol Hybrid


Offline Shambles

  • Admin
  • *
  • Retyred @ Last
    • Posts: 43,333

    • england England
      Manchester, UK
    • i30 Owners Club
Quote from: AlanHo
How do you get it to convert and display the results?

If you ever find out, please let me know.
  • Ioniq MY2018 SE Premium Hybrid in Polar White with added oomph


Offline Dazzler

  • Admin
  • *
  • Laughter is the best medicine...
    • Posts: 67,423

    • au Australia
      Devonport Tasmania

  • Best Car Forum on the Net
 :wts: :undecided: :whistler:
  • 2021 MG PHEV ( had 4 x i30 plus a Getz an Elantra and a Tucson)


Offline Phil №❶

  • Top Gear
  • *
  • Loco, most of the time!
    • Posts: 21,976

    • au Australia
      Mos Eisley, South Australia
Pay Gonz, of course. You don't think it's free do you.  :Shocked: :mrgreen:
  • 2008 SX CRDi Auto White (Lila)[hr]2010 SLX CRDi Auto Red (Ruby)


Offline The Gonz

  • Admin
  • *
  • Afghanistan Vet
    • Posts: 16,734

    • au Australia
      Adelaide

  • Callsign GUNZ
Hello from the Careers Expo!
I'm having a nice real, free coffee at the exhibitors' lounge with net access.
The calculator works for me. Take all the code and save it as an aspx file, then open it in your browser. Perhaps pasting the text into a post changed something if the posting process misinterprets some tags as functional. I'll e-mail the working aspx file to anyone who wants to test it. :D
  • Frugal Firty: FDSLXCRDi5spHyperSilverBodyKit+Mods & MrsG'sPDSRPrem


Offline Just Rick

  • V.I.P
  • *
  • Big Dogs Rule
    • Posts: 7,617

    • au Australia
      Beverley Western Australia

  • miracles can happen
Gonz best you start emailing because I couldn't get any of it to work  :whistler:
  • 2011 SLX CRDI 6 Spd, 2010 Holden Cruze CD Diesel and 2001 Hyundai Accent Coupe


Offline The Gonz

  • Admin
  • *
  • Afghanistan Vet
    • Posts: 16,734

    • au Australia
      Adelaide

  • Callsign GUNZ
OK, when I get a break back home I'll compare your page with mine.  :sweating:
......................

OK, mine is still working and it's been FTPd to here. :goodjob:
If this one runs, maybe you stripped out more than you thought, Rusty.  :whistler:
I don't mind just leaving it there linked but the nicest way would be for me to bequeath it to the forum ahead of my demise.  :rolleyes:
  • Frugal Firty: FDSLXCRDi5spHyperSilverBodyKit+Mods & MrsG'sPDSRPrem


Offline The Gonz

  • Admin
  • *
  • Afghanistan Vet
    • Posts: 16,734

    • au Australia
      Adelaide

  • Callsign GUNZ
Not sure whether a mod to a post results in a bump so here's one anyway ---^
  • Frugal Firty: FDSLXCRDi5spHyperSilverBodyKit+Mods & MrsG'sPDSRPrem


Offline AlanHo

  • Global Moderator
  • *
  • Geriatric Teenager
    • Posts: 21,468

    • england England
      Solihull, UK

  • 2021 KIA Niro 3 1.6 Petrol Hybrid
That one works for me.

A useful addition for us Brits would be to enable you to enter the distance in units of either miles or kilometers
  • 2021 KIA Niro3 1.6 petrol Hybrid


Offline The Gonz

  • Admin
  • *
  • Afghanistan Vet
    • Posts: 16,734

    • au Australia
      Adelaide

  • Callsign GUNZ
... enter the distance in units of either miles or kilometres
That will take a bit of a deep dive into the code but I'll look into it. :goodjob:
  • Frugal Firty: FDSLXCRDi5spHyperSilverBodyKit+Mods & MrsG'sPDSRPrem


Offline Just Rick

  • V.I.P
  • *
  • Big Dogs Rule
    • Posts: 7,617

    • au Australia
      Beverley Western Australia

  • miracles can happen
OK, when I get a break back home I'll compare your page with mine.  :sweating:
......................

OK, mine is still working and it's been FTPd to here. :goodjob:
If this one runs, maybe you stripped out more than you thought, Rusty.  :whistler:
I don't mind just leaving it there linked but the nicest way would be for me to bequeath it to the forum ahead of my demise.  :rolleyes:
Cool that one worked Thanks
  • 2011 SLX CRDI 6 Spd, 2010 Holden Cruze CD Diesel and 2001 Hyundai Accent Coupe


Offline The Gonz

  • Admin
  • *
  • Afghanistan Vet
    • Posts: 16,734

    • au Australia
      Adelaide

  • Callsign GUNZ
The latest has just been uploaded :D
Economy Calculator
  • Frugal Firty: FDSLXCRDi5spHyperSilverBodyKit+Mods & MrsG'sPDSRPrem


Offline Shambles

  • Admin
  • *
  • Retyred @ Last
    • Posts: 43,333

    • england England
      Manchester, UK
    • i30 Owners Club
Thanks Gonz - good work.

Your new code has been converted into a forum page :D


https://www.i30ownersclub.com/forum/index.php?topic=22379.0

  • Ioniq MY2018 SE Premium Hybrid in Polar White with added oomph


Offline rustynutz

  • Top Gear
  • *
    • Posts: 17,513

    • au Australia
      South Gippsland
If this one runs, maybe you stripped out more than you thought, Rusty.  :whistler:

Geez, I'm not aware of doing any stripping.....well, not in front of you lot anyhow....  :eek:  :whistler:


Unread Posts

 


SimplePortal 2.3.5 © 2008-2012, SimplePortal