Discussion Forums  >  Self Hosted Control Panels

Replies: 22    Views: 131

mrDavid
BTMods.com
Profile
Posts: 3936
Reg: May 21, 2011
San Diego, CA
51,910
02/06/13 09:16 PM (12 years ago)

Usage Map (2.1.8) is broken / self hosted

Hi BT, The usage map isn't working for 2.1.8 for as much as I can tell, It looks like the API key was revoked for it? Here is a screenshot: http://s8.postimage.org/hk64xmmbp/usage_map.png If you guys could take a look it would be super appreciated, thanks! Cheers, David https://buzztouchmods.com
 
SmugWimp
Smugger than thou...
Profile
Posts: 6316
Reg: Nov 07, 2012
Tamuning, GU
81,410
like
02/06/13 09:22 PM (12 years ago)
Is that the 2.1.8 interface, or is that a skin you did? Looks very nice. Should 'we' do the API key, or does BT? I didn't see anything on it one way or the other... Cheers! -- Smug
 
mrDavid
BTMods.com
Profile
Posts: 3936
Reg: May 21, 2011
San Diego, CA
51,910
like
02/06/13 09:26 PM (12 years ago)
My clients that host self-hosted servers with buzztouchmods.com get a special skin, but I recently released the download to that on BTM :-) You can get it here: https://www.buzztouchmods.com/downloads.php?cat_id=4&download_id=47 Not sure, thinking (hoping) that if David is still awake he will respond to this sometime, if not I'm sure someone will by the morning, maybe we do need our own key? maybe? Cheers, David https://buzztouchmods.com
 
MGoBlue
Apple Fan
Profile
Posts: 980
Reg: Jun 07, 2011
Gold River, CA
10,600
like
02/06/13 09:30 PM (12 years ago)
@MrDavid - Have you gotten a new map key from Google? I have tried that (you need to paste it into your config.php file) but I still get the error.
 
mrDavid
BTMods.com
Profile
Posts: 3936
Reg: May 21, 2011
San Diego, CA
51,910
like
02/06/13 09:38 PM (12 years ago)
@MGoBlue - checking it out now! Will try to grab a key and get back to you within 5-10 minutes. Cheers, David https://buzztouchmods.com
 
mrDavid
BTMods.com
Profile
Posts: 3936
Reg: May 21, 2011
San Diego, CA
51,910
like
02/06/13 09:53 PM (12 years ago)
Works for me now! Step 1: https://code.google.com/apis/console/ Make sure to accept the agreement (be logged into your google/gmail account) Step 2: under "services" enable "Google Maps API v2" and "Google Maps API v3" and turn them ON. Step 3: under "API Access" look at your API key and copy. Step 4: in config.php under line 65 and 66 find: /* google maps API key for application usage map */ define("APP_GOOGLE_MAPS_API_KEY", "YOUR_GOOGLE_API_KEY"); and change: define("APP_GOOGLE_MAPS_API_KEY", "YOUR_GOOGLE_API_KEY"); (YOUR_GOOGLE_API_KEY is what you remove and place your key at) Step 5: Thank @MGoBlue and welcome him back to the forums! Cheers! David https://buzztouchmods.com
 
MGoBlue
Apple Fan
Profile
Posts: 980
Reg: Jun 07, 2011
Gold River, CA
10,600
like
02/06/13 09:55 PM (12 years ago)
Awesome. I probably just didn't reset my key properly. I'll retry shortly. I've found a couple of php trapped file errors, but everything seems to be working fine.
 
teqbean
Code is Art
Profile
Posts: 119
Reg: Jan 01, 2012
Atlanta, GA
3,340
like
02/07/13 12:09 AM (12 years ago)
Working perfectly! Sweet!
 
MadRod
Aspiring developer
Profile
Posts: 1853
Reg: Apr 12, 2012
Lisbon
27,930
like
02/07/13 04:13 AM (12 years ago)
Hey David, did you have to fill in your billing info? Thanks. Miguel
 
SmugWimp
Smugger than thou...
Profile
Posts: 6316
Reg: Nov 07, 2012
Tamuning, GU
81,410
like
02/07/13 04:21 AM (12 years ago)
I didn't. I just went on without, and no problems. Copied/Pasted my key. Cheers! -- Smug
 
MadRod
Aspiring developer
Profile
Posts: 1853
Reg: Apr 12, 2012
Lisbon
27,930
like
02/07/13 05:16 AM (12 years ago)
Hey, I did all that, but I dont get an API key. if tried, for testing, activating google maps for andoid, and I get an API key in my API keys, but nothing shows up when I activate my google maps API v2 and 3. Must be missing something... Thanks. Miguel
 
Arubaman
Aspiring developer
Profile
Posts: 636
Reg: Oct 20, 2011
Akron
16,910
like
02/07/13 10:52 AM (12 years ago)
Thanks @MrDavid worked for me...I did create a php trap error---define("APP_GOOGLE_MAPS_API_KEY", "YOUR_GOOGLE_API_KEY"); for some reason Dreamweaver deleted "APP_GOOGLE_MAPS_API_KEY", when I inserted my key, with that part gone had a lot of trap errors. Easy fix though.
 
Arubaman
Aspiring developer
Profile
Posts: 636
Reg: Oct 20, 2011
Akron
16,910
like
02/07/13 10:53 AM (12 years ago)
MadRod go to your console after you activate api's and create a browser key- "Once the service has been activated, your API key is available from the API Access page, in the Simple API Access section. Maps API applications use the Key for browser apps."
 
Arubaman
Aspiring developer
Profile
Posts: 636
Reg: Oct 20, 2011
Akron
16,910
like
02/07/13 10:55 AM (12 years ago)
 
mrDavid
BTMods.com
Profile
Posts: 3936
Reg: May 21, 2011
San Diego, CA
51,910
like
02/07/13 11:49 AM (12 years ago)
@Miguel you figure it out? David https://buzztouchmods.com
 
MadRod
Aspiring developer
Profile
Posts: 1853
Reg: Apr 12, 2012
Lisbon
27,930
like
02/07/13 12:26 PM (12 years ago)
Gonna try it later. Thanks guys
 
MadRod
Aspiring developer
Profile
Posts: 1853
Reg: Apr 12, 2012
Lisbon
27,930
like
02/07/13 04:08 PM (12 years ago)
Worked fine. Thanks guys. Miguel
 
mrDavid
BTMods.com
Profile
Posts: 3936
Reg: May 21, 2011
San Diego, CA
51,910
like
02/07/13 04:13 PM (12 years ago)
Sweet! Glad you got it figured out! Cheers, David https://buzztouchmods.com
 
Joe Sprott
Code is Art
Profile
Posts: 414
Reg: Aug 20, 2011
Melbourne, FL
10,290
like
02/08/13 08:39 AM (12 years ago)
I have uploaded google api but the problem I am having is when inserting an address in the sub title form field I do not get a longitude and latitude read out?
 
Joe Sprott
Code is Art
Profile
Posts: 414
Reg: Aug 20, 2011
Melbourne, FL
10,290
like
02/08/13 08:43 AM (12 years ago)
console reads "Can't find coordinates!" I tried 2 addresses when testing
 
ATRAIN53
Code is Art
Profile
Posts: 1755
Reg: Nov 17, 2011
Chicago
26,450
like
02/08/13 11:11 AM (12 years ago)
Thanks David and MRDavid! I LOVE having this feature now on my CP. More excited about this than the PN.
 
mrDavid
BTMods.com
Profile
Posts: 3936
Reg: May 21, 2011
San Diego, CA
51,910
like
02/08/13 11:36 AM (12 years ago)
I KNOW RIGHT? Clients love data :-) David https://buzztouchmods.com
 
Korkut Ata
Aspiring developer
Profile
Posts: 108
Reg: Aug 09, 2011
Luxembourg
11,580
like
02/08/13 01:03 PM (12 years ago)
Great fix, thanks MrDavid.
 

Login + Screen Name Required to Post

pointerLogin to participate so you can start earning points. Once you're logged in (and have a screen name entered in your profile), you can subscribe to topics, follow users, and start learning how to make apps like the pros.