Your favorite Apple, iPhone, iPad, iOS, Jailbreak, and Cydia site.
Thread: GPS Based HTML Lockscreen Weather Theme
is a discussion within theiPhone 4|4S New Skins / Themes Launches
forums, a part of theNew Skins / Themes Launches
section;Good day! Sorry if this has been discussed before but i have small question to ask. I have added MyLocation fix by bushel (which works nice, thanks!) and turned to
...-
10-15-2012, 01:34 AM #2401What's Jailbreak?
- Join Date
- Oct 2012
- Location
- Vaasa, Finland, Finland
- Posts
- 2
- Thanks
- 0
- Thanked 0 Times in 0 Posts
Good day!
Sorry if this has been discussed before but i have small question to ask.
I have added MyLocation fix by bushel (which works nice, thanks!) and turned to sig.change. Problem with this is that is seem that location icon at status bar is always on. Is this suppose to happen?
thanks in advance
-
10-15-2012, 02:32 AM #2402iPhone? More like MyPhone
- Join Date
- Dec 2010
- Location
- Istanbul, Turkey
- Posts
- 277
- Thanks
- 2,515
- Thanked 185 Times in 104 Posts
-
10-15-2012, 02:37 AM #2403What's Jailbreak?
- Join Date
- Oct 2012
- Location
- Vaasa, Finland, Finland
- Posts
- 2
- Thanks
- 0
- Thanked 0 Times in 0 Posts
-
10-16-2012, 04:57 AM #2404
-
10-26-2012, 11:39 PM #2405Master Theme Creator
- Join Date
- Feb 2010
- Location
- Memphis,Tn
- Posts
- 4,684
- Thanks
- 2,882
- Thanked 5,583 Times in 2,403 Posts
I have designed another way to pull weather for your device. With no tweaks at all. It is ip based. It doesnt pull your ip it pulls your providers ip.
It currently is running on 3 of my devices and each one pulls the correct city. This is not 100% because it is ip. Depending on which ip your provider is using it may change.
Also reason i'm here. The google widget pulls from google. Which we all know isnt the best weather. So today in search of a way to change long and lat to Woeid I ran across a GPS based widget done by Gunny29 for theme bAdOS.
Well with just one script and deleting maybe 4 lines of code. I now have converted it to run by itself with googlejsapi.
As I said before it isnt guaranteed to be perfect but it does have a backup which is turn a value to false + just enter your location. You can check it out here. http://modmyi.com/forums/iphone-4-ne...d-badgb-2.html
-
The Following User Says Thank You to June'sIphone For This Useful Post:
Hip5 (12-06-2012)
-
10-27-2012, 12:22 AM #2406Random Thanks Collector
- Join Date
- Mar 2008
- Location
- England (leeds)
- Posts
- 1,603
- Thanks
- 684
- Thanked 1,104 Times in 543 Posts
-
10-27-2012, 03:55 PM #2407King Kong ain't got nothing on me!
- Join Date
- Apr 2011
- Location
- USA
- Posts
- 5,450
- Thanks
- 26,301
- Thanked 9,202 Times in 3,477 Posts
MyLocation App update for 5.1.1 - 6.1.2 from bushe!
Download these Instructions - Instructions!
To install the MyLocation app, just add my repo and install it! - http://cydia.myrepospace.com/kohidevice/
Want to protect your JailBreak! Add this repo http://cydia.myrepospace.com/iLEXiNFO/ & Install "iLEX R.A.T."
It will allow you to bring your phone back to a fresh jailbroken state!
-
The Following User Says Thank You to King_O_Hill For This Useful Post:
raiderx (11-18-2012)
-
10-27-2012, 04:32 PM #2408Random Thanks Collector
- Join Date
- Mar 2008
- Location
- England (leeds)
- Posts
- 1,603
- Thanks
- 684
- Thanked 1,104 Times in 543 Posts
-
The Following User Says Thank You to Richard For This Useful Post:
King_O_Hill (11-19-2012)
-
10-27-2012, 04:34 PM #2409King Kong ain't got nothing on me!
- Join Date
- Apr 2011
- Location
- USA
- Posts
- 5,450
- Thanks
- 26,301
- Thanked 9,202 Times in 3,477 Posts
MyLocation App update for 5.1.1 - 6.1.2 from bushe!
Download these Instructions - Instructions!
To install the MyLocation app, just add my repo and install it! - http://cydia.myrepospace.com/kohidevice/
Want to protect your JailBreak! Add this repo http://cydia.myrepospace.com/iLEXiNFO/ & Install "iLEX R.A.T."
It will allow you to bring your phone back to a fresh jailbroken state!
-
The Following 3 Users Say Thank You to King_O_Hill For This Useful Post:
Hip5 (12-06-2012), Ian Nicoll (12-10-2012), RKO1195 (12-07-2012)
-
11-17-2012, 01:12 PM #2410iPhone? More like MyPhone
- Join Date
- Dec 2010
- Location
- Istanbul, Turkey
- Posts
- 277
- Thanks
- 2,515
- Thanked 185 Times in 104 Posts
The Turkish translation for weather widgets,
To whom it may concern…
PS. You must save the .js file as Unicode Utf 8 to see the turkish characters like ğ, ş, ç etc…
case "tr":
var days = ["Pazar","Pazartesi","Salı","Çarşamba","Perşembe"," Cuma","Cumartesi"];
var months=["Ocak","Şubat","Mart","Nisan","Mayıs","Haziran","T emmuz","Ağustos","Eylül ","Ekim","Kasım","Aralık"];
break;
case "tr":
translatedesc=obj.description.toLowerCase();
if (translatedesc=='light snow') { document.getElementById("desc").innerHTML='Hafif Kar'; }
if (translatedesc=='tornado') { document.getElementById("desc").innerHTML='Hortum! '; }
if (translatedesc=='tropical storm') { document.getElementById("desc").innerHTML='Tropik Fırtına'; }
if (translatedesc=='hurricane') { document.getElementById("desc").innerHTML='Kasırga '; }
if (translatedesc=='severe thunderstorms') { document.getElementById("desc").innerHTML='Şiddetl i Fırtına'; }
if (translatedesc=='thunderstorms') { document.getElementById("desc").innerHTML='Fırtına '; }
if (translatedesc=='mixed rain and snow') { document.getElementById("desc").innerHTML='Karla Karışık Yağmur'; }
if (translatedesc=='mixed rain and sleet') { document.getElementById("desc").innerHTML='Karla Karışık Yağmur'; }
if (translatedesc=='mixed snow and sleet') { document.getElementById("desc").innerHTML='Sulusep ken'; }
if (translatedesc=='freezing drizzle') { document.getElementById("desc").innerHTML='Kar Serpintisi'; }
if (translatedesc=='drizzle') { document.getElementById("desc").innerHTML='Serpint i'; }
if (translatedesc=='freezing rain') { document.getElementById("desc").innerHTML='Buzlu Yağmur'; }
if (translatedesc=='showers') { document.getElementById("desc").innerHTML='Sağanak '; }
if (translatedesc=='snow flurries') { document.getElementById("desc").innerHTML='Kar Sağanak'; }
if (translatedesc=='light snow showers') { document.getElementById("desc").innerHTML='Hafif Kar Sağanak'; }
if (translatedesc=='light snow grains') { document.getElementById("desc").innerHTML='Hafif Kar'; }
if (translatedesc=='blowing snow') { document.getElementById("desc").innerHTML='Tipi'; }
if (translatedesc=='snow') { document.getElementById("desc").innerHTML='Kar'; }
if (translatedesc=='hail') { document.getElementById("desc").innerHTML='Dolu'; }
if (translatedesc=='sleet') { document.getElementById("desc").innerHTML='Sulusep ken'; }
if (translatedesc=='dust') { document.getElementById("desc").innerHTML='Toz'; }
if (translatedesc=='foggy') { document.getElementById("desc").innerHTML='Sisli'; }
if (translatedesc=='haze') { document.getElementById("desc").innerHTML='Puslu'; }
if (translatedesc=='smoky') { document.getElementById("desc").innerHTML='Dumanlı '; }
if (translatedesc=='blustery') { document.getElementById("desc").innerHTML='Tozlu'; }
if (translatedesc=='windy') { document.getElementById("desc").innerHTML='Rüzgarl ı'; }
if (translatedesc=='cold') { document.getElementById("desc").innerHTML='Soğuk'; }
if (translatedesc=='cloudy') { document.getElementById("desc").innerHTML='Bulutlu '; }
if (translatedesc=='mostly cloudy') { document.getElementById("desc").innerHTML='Çok Bulutlu'; }
if (translatedesc=='partly cloudy') { document.getElementById("desc").innerHTML='Parçalı Bulutlu'; }
if (translatedesc=='clear') { document.getElementById("desc").innerHTML='Açık'; }
if (translatedesc=='sunny') { document.getElementById("desc").innerHTML='Güneşli '; }
if (translatedesc=='fair') { document.getElementById("desc").innerHTML='Az Bulutlu'; }
if (translatedesc=='mixed rain and hail') { document.getElementById("desc").innerHTML='Yağmurl a Karışık Dolu'; }
if (translatedesc=='hot') { document.getElementById("desc").innerHTML='Sıcak'; }
if (translatedesc=='isolated thunderstorms') { document.getElementById("desc").innerHTML='Fırtına '; }
if (translatedesc=='scattered thunderstorms') { document.getElementById("desc").innerHTML='Gökgürü ltülü Fırtına'; }
if (translatedesc=='scattered showers') { document.getElementById("desc").innerHTML='Gökgürü ltülü Sağanak'; }
if (translatedesc=='heavy snow') { document.getElementById("desc").innerHTML='Tipi'; }
if (translatedesc=='scattered snow showers') { document.getElementById("desc").innerHTML='Gökgürü ltülü Kar'; }
if (translatedesc=='partly cloudy') { document.getElementById("desc").innerHTML='Parçalı Bulutlu'; }
if (translatedesc=='thundershowers') { document.getElementById("desc").innerHTML='Gökgürü ltülü Sağanak'; }
if (translatedesc=='snow showers') { document.getElementById("desc").innerHTML='Kar Yağışlı'; }
if (translatedesc=='isolated thundershowers') { document.getElementById("desc").innerHTML='Gökgürü ltülü Sağanak'; }
if (translatedesc=='light rain shower') { document.getElementById("desc").innerHTML='Yağmurl u'; }
if (translatedesc=='not available') { document.getElementById("desc").innerHTML='Yok'; }
if (translatedesc=='showers in the vicinity') { document.getElementById("desc").innerHTML='Çevresi Yağmurlu'; }
if (translatedesc=='partly sunny') { document.getElementById("desc").innerHTML='Parçalı Bulutlu'; }
if (translatedesc=='ground fog') { document.getElementById("desc").innerHTML='Buzlu Sis'; }
if (translatedesc=='light drizzle') { document.getElementById("desc").innerHTML='Hafif Sağanak'; }
if (translatedesc=='light rain') { document.getElementById("desc").innerHTML='Hafif Yağmurlu'; }
if (translatedesc=='mist') { document.getElementById("desc").innerHTML='Puslu'; }
if (translatedesc=='fog') { document.getElementById("desc").innerHTML='Sisli'; }
if (translatedesc=='rain') { document.getElementById("desc").innerHTML='Yağmur' ; }
if (translatedesc=='rain shower') { document.getElementById("desc").innerHTML='Yağmurl u'; }
if (translatedesc=='severe thunderstorm/windy') { document.getElementById("desc").innerHTML='Gökgürü ltülü Fırtına'; }
document.getElementById("lastupdate").innerHTML = "Son Güncelleme - " + currentTimeString + " " + timeOfDay;
document.getElementById("visibility").innerHTML = "Görüş Mesafesi: " + obj.visibility + obj.visibilityunit;
document.getElementById("humidity").innerHTML = "Nem : " + obj.humidity + "%";
if (direction <= 360) obj.winddir = "K";
if (direction < 348.75) obj.winddir = "K-KB";
if (direction < 326.25) obj.winddir = "KB";
if (direction < 303.75) obj.winddir = "B-KB";
if (direction < 281.25) obj.winddir = "B";
if (direction < 258.75) obj.winddir = "B-GB";
if (direction < 236.25) obj.winddir = "GB";
if (direction < 213.75) obj.winddir = "G-GB";
if (direction < 191.25) obj.winddir = "G";
if (direction < 168.75) obj.winddir = "G-GD";
if (direction < 146.25) obj.winddir = "GD";
if (direction < 123.75) obj.winddir = "D-GD";
if (direction < 101.25) obj.winddir = "D";
if (direction < 78.75) obj.winddir = "D-KD";
if (direction < 56.25) obj.winddir = "KD";
if (direction < 33.75) obj.winddir = "K-KD";
if (direction < 11.25) obj.winddir = "K";
if (direction == 0) obj.winddir = "Yok";
if (direction == 0) {
document.getElementById("wind").innerHTML = "Rüzgar : " + obj.winddir;
} else {
document.getElementById("wind").innerHTML = "Rüzgar : " + obj.winddir + " - " + Math.round(obj.windspeed) + " " + obj.windunit;}
break;
-
-
12-06-2012, 05:35 PM #2411
Question and sorry its been awhile!
I have a theme that in the Config.js there and option to turn the 'GPS = false' and have the theme run off the 'var locale ="
Only problem is when i do this i get nothing, other than the overlay and icons, on the homescreen. Is there something from cydia i need to download or edit a file other than the Config.js file?
If i turn the GPS = True the theme works just fine. I guess i want the option to either use GPS or Non-GPS with the theme im using.
Hope this makes sense to someone and their help is much appreciated!
-
The Following User Says Thank You to Jkauf55 For This Useful Post:
chevymusclecar (12-07-2012)
-
12-06-2012, 06:45 PM #2412King Kong ain't got nothing on me!
- Join Date
- Apr 2011
- Location
- USA
- Posts
- 5,450
- Thanks
- 26,301
- Thanked 9,202 Times in 3,477 Posts
In the "var locale=", you need to put in your weather code. The code will vary based on who made the widget and what means they use to pull the weather data. It usually states in the config file as to what format the "locale" needs to be. Example:
var locale=USOH4567
Hope this helps!MyLocation App update for 5.1.1 - 6.1.2 from bushe!
Download these Instructions - Instructions!
To install the MyLocation app, just add my repo and install it! - http://cydia.myrepospace.com/kohidevice/
Want to protect your JailBreak! Add this repo http://cydia.myrepospace.com/iLEXiNFO/ & Install "iLEX R.A.T."
It will allow you to bring your phone back to a fresh jailbroken state!
-
The Following 3 Users Say Thank You to King_O_Hill For This Useful Post:
chevymusclecar (12-07-2012), Hip5 (12-06-2012), RKO1195 (12-07-2012)
-
12-06-2012, 06:49 PM #2413
Try searching for your location code and insert it at var locale = "xxxxxxxx"
Weather Location Codes/IDs
or what I prefer and use for mine is, with my GPS on, var locale = "0"
-
The Following User Says Thank You to ataga12 For This Useful Post:
chevymusclecar (12-07-2012)
-
12-07-2012, 12:19 PM #2414The Mechanic
- Join Date
- Aug 2010
- Location
- Vancouver Canada
- Posts
- 7,610
- Thanks
- 30,845
- Thanked 35,606 Times in 6,735 Posts
-
The Following 4 Users Say Thank You to The_Durben For This Useful Post:
chevymusclecar (12-07-2012), Jkauf55 (12-07-2012), King_O_Hill (12-07-2012), metaserph (12-07-2012)
-
12-07-2012, 04:00 PM #2415Power User
- Join Date
- Aug 2010
- Location
- Seattle, WA
- Posts
- 5,108
- Thanks
- 15,046
- Thanked 16,161 Times in 3,548 Posts
Bro you can look for this entire line that starts with...
function convertWoeid () ...
And replace with...
function convertWoeid () {
var url = "http://weather.yahooapis.com/forecastrss?w="+postal+"&u=f";
$.get(url, function(data) {
zip = $(data).find('guid').text().split('_')[0];
weatherRefresherTemp(zip);
});
}
if is Dacal's code...if not I'm not sure unless I see it.
Hope that helps bud!
-
The Following 4 Users Say Thank You to chevymusclecar For This Useful Post:
Jkauf55 (12-07-2012), King_O_Hill (12-07-2012), lostinthemes (12-17-2012), metaserph (12-07-2012)
-
12-07-2012, 07:12 PM #2416
-
The Following User Says Thank You to Jkauf55 For This Useful Post:
chevymusclecar (12-08-2012)
-
12-08-2012, 10:01 AM #2417Power User
- Join Date
- Aug 2010
- Location
- Seattle, WA
- Posts
- 5,108
- Thanks
- 15,046
- Thanked 16,161 Times in 3,548 Posts
-
The Following User Says Thank You to chevymusclecar For This Useful Post:
King_O_Hill (12-08-2012)
-
12-08-2012, 12:57 PM #2418Power User
- Join Date
- Aug 2010
- Location
- Seattle, WA
- Posts
- 5,108
- Thanks
- 15,046
- Thanked 16,161 Times in 3,548 Posts
ifile bookmarks for noobs

http://bit.ly/ifile_bookmarks_for_noobs_
-
The Following 3 Users Say Thank You to chevymusclecar For This Useful Post:
King_O_Hill (12-08-2012), MamaJaay (12-09-2012), TaJr12 (12-10-2012)
-
12-17-2012, 05:20 PM #2419Power User
- Join Date
- Aug 2010
- Location
- Seattle, WA
- Posts
- 5,108
- Thanks
- 15,046
- Thanked 16,161 Times in 3,548 Posts
Not intended as spam...but is for the people! Will be adding more to it...
http://modmyi.com/forums/iphone-4-ne...tion-mods.html
-
The Following 2 Users Say Thank You to chevymusclecar For This Useful Post:
King_O_Hill (12-17-2012), TaJr12 (12-19-2012)
-
01-11-2013, 02:13 PM #2420Livin the iPhone Life
- Join Date
- Sep 2010
- Posts
- 2,900
- Thanks
- 2,106
- Thanked 3,444 Times in 1,617 Posts
Just curious will this be updated to iOS 6.0?
-
The Following User Says Thank You to Fattone66 For This Useful Post:
King_O_Hill (01-11-2013)
LinkBacks (?)
-
Curry's little Repo
Refback This thread04-12-2013, 02:27 PM -
overview for bushe
Refback This thread03-15-2013, 10:09 AM -
08-11-2012, 12:06 AM
-
Elite Pro HD - Seite 40
Refback This thread03-03-2012, 12:38 PM




LinkBack URL
About LinkBacks
Reply With Quote




