Go Back   EcoModder Forum > Off-Topic > The Lounge
Register Now
 Register Now
 


Reply  Post New Thread
 
Submit Tools LinkBack Thread Tools
Old 08-02-2009, 11:24 PM   #91 (permalink)
Master EcoModder
 
McTimson's Avatar
 
Join Date: Sep 2008
Location: Nyack, NY
Posts: 310

Maverick - '22 Ford Maverick XLT
90 day: 40.02 mpg (US)
Thanks: 1
Thanked 5 Times in 5 Posts
When importing, the 'class' field should take its' data from the 'Fuel Type' field from the EM garage. Right now, it takes it from the 'vehicle type' field, which is either car, truck, motorcycle, or other.

The comments section is pretty big in the EM garage, so I put a couple lines of stuff in there - but in GCA, when you look at the overall garage, it looks bad.

And, clicking on 'My Fuel Log' when logged in gives:
Code:
Warning: mysqli_connect() [function.mysqli-connect]: (HY000/2005): Unknown MySQL server host 'DB_HOST' (1) in /home/greencaralbum/public_html/myfuellog.php on line 4
error connecting to database
It might be because I have 2 cars under my login, though.

__________________
  Reply With Quote
Alt Today
Popular topics

Other popular topics in this forum...

   
Old 08-02-2009, 11:40 PM   #92 (permalink)
Dartmouth 2010
 
SVOboy's Avatar
 
Join Date: Nov 2007
Location: Hanover, NH
Posts: 6,447

Vegan Powa! - '91 Honda CRX DX
Team Honda
90 day: 66.52 mpg (US)
Thanks: 92
Thanked 122 Times in 90 Posts
Send a message via AIM to SVOboy Send a message via MSN to SVOboy Send a message via Yahoo to SVOboy
Changed the 'class' thing up. I need to find a way to sync up the different class types being used, that's annoying...

Yeah, I need to figure out why it looks weird.

I've not programmed the my fuel logs thing yet, is why Sorry for putting out that dead link!

Thanks for the help, it's really much appreciated, I also need to try to keep the importing from making duplicate copies of vehicles!

Anyway, working hard. It's much harder than I thought to make an interactive site
  Reply With Quote
Old 08-13-2009, 10:40 PM   #93 (permalink)
Dartmouth 2010
 
SVOboy's Avatar
 
Join Date: Nov 2007
Location: Hanover, NH
Posts: 6,447

Vegan Powa! - '91 Honda CRX DX
Team Honda
90 day: 66.52 mpg (US)
Thanks: 92
Thanked 122 Times in 90 Posts
Send a message via AIM to SVOboy Send a message via MSN to SVOboy Send a message via Yahoo to SVOboy
Added lightboxes for the album photos, check it out: GreenCarAlbum Homepage - GreenCarAlbum

I'll refine things soon, but definitely a pretty function. Gonna work hard to finish up soon
  Reply With Quote
Old 08-14-2009, 12:57 AM   #94 (permalink)
Dartmouth 2010
 
SVOboy's Avatar
 
Join Date: Nov 2007
Location: Hanover, NH
Posts: 6,447

Vegan Powa! - '91 Honda CRX DX
Team Honda
90 day: 66.52 mpg (US)
Thanks: 92
Thanked 122 Times in 90 Posts
Send a message via AIM to SVOboy Send a message via MSN to SVOboy Send a message via Yahoo to SVOboy
Fixed all the fuel log stuff (I hope), including the my fuel log function. Gonna add some more functionality there, though I've been balking on an easy solution for syncing between the sites without going and designing a full-blow api

GreenCarAlbum Garage - GreenCarAlbum
  Reply With Quote
Old 08-14-2009, 06:28 PM   #95 (permalink)
Dartmouth 2010
 
SVOboy's Avatar
 
Join Date: Nov 2007
Location: Hanover, NH
Posts: 6,447

Vegan Powa! - '91 Honda CRX DX
Team Honda
90 day: 66.52 mpg (US)
Thanks: 92
Thanked 122 Times in 90 Posts
Send a message via AIM to SVOboy Send a message via MSN to SVOboy Send a message via Yahoo to SVOboy
Got my first bit of AJAX code running after fighting a little bit. Checks to see if usernames are already registered. GreenCarAlbum Sign Up - GreenCarAlbum
  Reply With Quote
Old 08-14-2009, 11:10 PM   #96 (permalink)
Dartmouth 2010
 
SVOboy's Avatar
 
Join Date: Nov 2007
Location: Hanover, NH
Posts: 6,447

Vegan Powa! - '91 Honda CRX DX
Team Honda
90 day: 66.52 mpg (US)
Thanks: 92
Thanked 122 Times in 90 Posts
Send a message via AIM to SVOboy Send a message via MSN to SVOboy Send a message via Yahoo to SVOboy
Made some pretty fuel log graphing: GreenCarAlbum Garage - GreenCarAlbum
  Reply With Quote
Old 08-15-2009, 01:17 AM   #97 (permalink)
Banned
 
Join Date: Feb 2008
Location: maine
Posts: 758

oldscoob - '87 subaru wagon gl/dr
90 day: 47.06 mpg (US)
Thanks: 21
Thanked 18 Times in 14 Posts
hey that is nice. I just need to figure actual mileage for myself, inspired to do so after seeing that.
  Reply With Quote
Old 08-15-2009, 03:48 PM   #98 (permalink)
Dartmouth 2010
 
SVOboy's Avatar
 
Join Date: Nov 2007
Location: Hanover, NH
Posts: 6,447

Vegan Powa! - '91 Honda CRX DX
Team Honda
90 day: 66.52 mpg (US)
Thanks: 92
Thanked 122 Times in 90 Posts
Send a message via AIM to SVOboy Send a message via MSN to SVOboy Send a message via Yahoo to SVOboy
Integrating twitter into the site so when you add a vehicle/gas log entry/photo album/etc it will send a tweet out from your account. Neat stuff.

You can add your twitter info here: GreenCarAlbum Profile Editor - GreenCarAlbum

I haven't programmed the actual updates yet but it shouldn't be too hard now that I have the API working etc.
  Reply With Quote
Old 08-15-2009, 06:02 PM   #99 (permalink)
Dartmouth 2010
 
SVOboy's Avatar
 
Join Date: Nov 2007
Location: Hanover, NH
Posts: 6,447

Vegan Powa! - '91 Honda CRX DX
Team Honda
90 day: 66.52 mpg (US)
Thanks: 92
Thanked 122 Times in 90 Posts
Send a message via AIM to SVOboy Send a message via MSN to SVOboy Send a message via Yahoo to SVOboy
Auto-twittering currently supported with fuel log updates, will add to other features soon

EcoModder (EcoModder) on Twitter to see an example. I've fixed the rounding since that though
  Reply With Quote
Old 08-16-2009, 12:50 PM   #100 (permalink)
Master EcoModder
 
Matt Herring's Avatar
 
Join Date: Jun 2008
Location: North Andover, MA
Posts: 857

Bone's 2010 Prius - '10 Toyota Prius Black
90 day: 56.78 mpg (US)
Thanks: 5
Thanked 23 Times in 19 Posts
This may have been posted in the thread but it's 10 pages long and I'm hot and tired today. What's the procedure for importing my ecomodder.com fuel log to the Green Car Album site?

When I click on My Fuel Log page on the Green Car site I get an error message "error querying site"

Have my pics up...linked to Twitter...just need to import my fuel log...

Thanks for the help!

  Reply With Quote
Reply  Post New Thread






Powered by vBulletin® Version 3.8.11
Copyright ©2000 - 2024, vBulletin Solutions Inc.
Content Relevant URLs by vBSEO 3.5.2
All content copyright EcoModder.com