+ Reply
Page 117 of 136 FirstFirst ... 17 67 107115116117118119 127 ... LastLast
Results 2,321 to 2,340 of 2706

Your favorite Apple, iPhone, iPad, iOS, Jailbreak, and Cydia site.


Thread: GPS Based HTML Lockscreen Weather Theme

is a discussion within the

iPhone 4|4S New Skins / Themes Launches

forums, a part of the

New Skins / Themes Launches

section;
i've use schnedi code,and have no problem since yesterday..
...
  1. #2321
    Theme Modder sigit's Avatar
    Join Date
    Aug 2011
    Location
    indonesia
    Posts
    1,579
    Thanks
    2,901
    Thanked 4,122 Times in 1,325 Posts

    i've use schnedi code,and have no problem since yesterday..



    Last edited by sigit; 10-01-2012 at 11:07 PM.

  2. The Following 2 Users Say Thank You to sigit For This Useful Post:

    cukhiem (10-09-2012), faisalz (10-02-2012)

  3. #2322
    Addicted to Code Dacal's Avatar
    Join Date
    Nov 2010
    Posts
    1,889
    Thanks
    2,881
    Thanked 8,473 Times in 1,496 Posts

    Quote Originally Posted by King_O_Hill View Post
    Dacal, if I replace your location.js with a different on, not sure who wrote it, all my gps widgets work fine.

    So IMO whatever yahoo did, it only affects the code that was written by crazy and updated by you.

    Here is the link to the one that I used.

    location.zip
    The change on Yahoo only appears on the JSON Url. So, widget that use the URL below aren't affected (no change on Yahoo) :

    http://where.yahooapis.com/geocode?l...89622&gflags=R

    For the widgets, like mine, which use the JSON, there is a minor change since yesterday (the word "Results" became "Result", like the XML URL).

    http://where.yahooapis.com/geocode?l...lags=R&flags=J

    It explains why some widgets works and some don't.

    PS : i think the change is permanent now.


    My themes : Jade HD, Silex HD, BaSalt HD,ToPaz
    All are on Cydia and/or Theme It.

  4. The Following 8 Users Say Thank You to Dacal For This Useful Post:

    Cloud2Ground (10-02-2012), King_O_Hill (10-02-2012), lostinthemes (10-02-2012), metaserph (10-02-2012), RKO1195 (10-02-2012), sigit (10-02-2012), stratnik (10-02-2012), The.Drifter (10-02-2012)

  5. #2323
    Green Apple
    Join Date
    Jan 2008
    Posts
    41
    Thanks
    0
    Thanked 3 Times in 3 Posts

    So what now? do we have to wait for Yahoo?

  6. #2324
    sju
    sju is offline
    iPhone? More like MyPhone sju's Avatar
    Join Date
    Jan 2010
    Location
    denmark
    Posts
    245
    Thanks
    5
    Thanked 33 Times in 32 Posts

    i have the original lockscreen widget with 4 day forecast and the perpage widget they doesent work
    can someone please fix it, i just love this

  7. #2325
    Addicted to Code Dacal's Avatar
    Join Date
    Nov 2010
    Posts
    1,889
    Thanks
    2,881
    Thanked 8,473 Times in 1,496 Posts

    Quote Originally Posted by dkawa View Post
    So what now? do we have to wait for Yahoo?
    Don't know. I can have wrong, but i think the change is permanent (in fact, JSON format is now identical with the XML one).

    I'm afraid that all modders have need to modify their widgets.


    My themes : Jade HD, Silex HD, BaSalt HD,ToPaz
    All are on Cydia and/or Theme It.

  8. The Following 7 Users Say Thank You to Dacal For This Useful Post:

    Cloud2Ground (10-02-2012), King_O_Hill (10-02-2012), lostinthemes (10-02-2012), metaserph (10-02-2012), sigit (10-02-2012), stratnik (10-02-2012), The_Durben (10-02-2012)

  9. #2326
    King Kong ain't got nothing on me! King_O_Hill's Avatar
    Join Date
    Apr 2011
    Location
    USA
    Posts
    8,732
    Thanks
    38,722
    Thanked 16,153 Times in 5,908 Posts

    Quote Originally Posted by delutedsoul View Post
    Is there a fix for a widget that uses weather.js
    If you don't have a location.js, then you probably have a weather.js file instead. Go to this post by The_Durben and download his fix for this.

    Weather.js fix


    Also, if you don't know, Dacal is one of the Masters of code here and is one of the main players that has made a lot of the GPS stuff work in addition to a lot of other features we all use everyday in our widgets. Please check out some of his themes in his sig and support him by purchasing one or all of them, as they are all great themes.

    Thanks Dacal for all you do bud!
    Last edited by King_O_Hill; 10-02-2012 at 06:39 AM.
    Widget-Weather App Now Available! Also with MyLocation Support!
    Check out the thread here - Widget-Weather
    To install the Widget-Weather app, just go to Cydia and install. This will also remove MyLocation, as it is built in!
    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!

  10. The Following 5 Users Say Thank You to King_O_Hill For This Useful Post:

    Dacal (10-02-2012), nik1975 (10-02-2012), RKO1195 (10-02-2012), The.Drifter (10-02-2012), The_Durben (10-02-2012)

  11. #2327
    My iPhone is a Part of Me Hip5's Avatar
    Join Date
    Apr 2012
    Location
    Toledo,Ohio
    Posts
    715
    Thanks
    13,318
    Thanked 952 Times in 468 Posts

    I did the location file swap. They work but I seem to be half a City off. If I am in Toledo,Ohio depending on what part it will say sylvania or Perrysburgh. Just not Toledo. Any ideas. Tried respring and hard resets.
    Thanks;HIP5

  12. #2328
    Master of Colors delutedsoul's Avatar
    Join Date
    Apr 2010
    Location
    Fort Smith AR
    Posts
    1,185
    Thanks
    250
    Thanked 1,461 Times in 587 Posts

    Ok fellas the weather.js fix now shows my current condition but the image that shows in the background has a question mark. Any ideas how to fix this portion
    Attached Thumbnails Attached Thumbnails GPS Based HTML Lockscreen Weather Theme-imageuploadedbymodmyi1349187163.682998.jpg  

  13. #2329
    Addicted to Code Dacal's Avatar
    Join Date
    Nov 2010
    Posts
    1,889
    Thanks
    2,881
    Thanked 8,473 Times in 1,496 Posts

    Quote Originally Posted by Hip5 View Post
    I did the location file swap. They work but I seem to be half a City off. If I am in Toledo,Ohio depending on what part it will say sylvania or Perrysburgh. Just not Toledo. Any ideas. Tried respring and hard resets.
    Thanks;HIP5
    Hi ! Be careful, all modders have done some changes in the script. Switching between files that have the same names is not a good idea. The better is to modify the original file (just a few lines to correct).

    Quote Originally Posted by delutedsoul View Post
    Ok fellas the weather.js fix now shows my current condition but the image that shows in the background has a question mark. Any ideas how to fix this portion
    Idem.
    Last edited by Dacal; 10-02-2012 at 08:21 AM.


    My themes : Jade HD, Silex HD, BaSalt HD,ToPaz
    All are on Cydia and/or Theme It.

  14. The Following 3 Users Say Thank You to Dacal For This Useful Post:

    Cloud2Ground (10-02-2012), King_O_Hill (10-02-2012), The_Durben (10-02-2012)

  15. #2330
    Livin the iPhone Life Happy363's Avatar
    Join Date
    Nov 2010
    Posts
    1,242
    Thanks
    1,200
    Thanked 1,493 Times in 645 Posts

    That's funny mine shows pic but it seems to be standard res. so it only shows 1/2 the size! Ginna dig when I get off of work hope someone figures out by then!

    GPS Based HTML Lockscreen Weather Theme-imageuploadedbymodmyi1349188164.169613.jpg
    Last edited by Happy363; 10-02-2012 at 08:29 AM.

  16. #2331
    The Big D NewdestinyX's Avatar
    Join Date
    Jan 2012
    Posts
    9,302
    Thanks
    3,548
    Thanked 8,348 Times in 4,249 Posts

    Quote Originally Posted by Dacal View Post
    Hi ! Be careful, all modders have done some changes in the script. Switching between files that have the same names is not a good idea. The better is to modify the original file (just a few lines to correct).



    Idem.
    Thanks Dacal. But which lines in which scripts? Could we have a list?
    Last edited by NewdestinyX; 10-02-2012 at 09:04 AM.
    Here to help if I can. If I can't I know someone who can!

  17. #2332
    Addicted to Code Dacal's Avatar
    Join Date
    Nov 2010
    Posts
    1,889
    Thanks
    2,881
    Thanked 8,473 Times in 1,496 Posts

    Quote Originally Posted by NewdestinyX View Post
    Thanks Dacal. But which lines in which script? Could we have a list?
    A few page back. Just replace this lines :


    woeid = data.ResultSet.Result.woeid;
    city = data.ResultSet.Result.city;

    By :

    woeid = data.ResultSet.Results[0].woeid;
    city = data.ResultSet.Results[0].city;

    In fact, replace all "Results[0]" occurences by "Result".

    PS : It's the method for people who use the Yahoo JSON Url format in their script.


    My themes : Jade HD, Silex HD, BaSalt HD,ToPaz
    All are on Cydia and/or Theme It.

  18. The Following 7 Users Say Thank You to Dacal For This Useful Post:

    CloggieUK (10-02-2012), Cloud2Ground (10-02-2012), Destan (10-02-2012), King_O_Hill (10-02-2012), sigit (10-02-2012), stratnik (10-02-2012), The.Drifter (10-02-2012)

  19. #2333
    My iPhone is a Part of Me Hip5's Avatar
    Join Date
    Apr 2012
    Location
    Toledo,Ohio
    Posts
    715
    Thanks
    13,318
    Thanked 952 Times in 468 Posts

    Quote Originally Posted by NewdestinyX View Post
    Thanks Dacal. But which lines in which script? Could we have a list?
    +a lot.
    Thanks;HIP5

  20. #2334
    Master of Colors delutedsoul's Avatar
    Join Date
    Apr 2010
    Location
    Fort Smith AR
    Posts
    1,185
    Thanks
    250
    Thanked 1,461 Times in 587 Posts

    Quote Originally Posted by Dacal View Post
    Hi ! Be careful, all modders have done some changes in the script. Switching between files that have the same names is not a good idea. The better is to modify the original file (just a few lines to correct).



    Idem.
    Idem I'm not sure what that means

  21. #2335
    iPhoneaholic Cloud2Ground's Avatar
    Join Date
    Jan 2012
    Location
    Colorado
    Posts
    406
    Thanks
    12,502
    Thanked 1,177 Times in 323 Posts

    Quote Originally Posted by Dacal View Post
    A few page back. Just replace this lines :


    woeid = data.ResultSet.Result.woeid;
    city = data.ResultSet.Result.city;

    By :

    woeid = data.ResultSet.Results[0].woeid;
    city = data.ResultSet.Results[0].city;

    In fact, replace all "Results[0]" occurences by "Result".

    PS : It's the method for people who use the Yahoo JSON Url format in their script.
    Thank you very much Dacal, I really appreciate it! I just tried this with several of the widgets I switch between and tested them all and they all work Thanks again bro, thanks for everything you do!
    My Cool Signature Goes Here...

  22. The Following User Says Thank You to Cloud2Ground For This Useful Post:

    Dacal (10-02-2012)

  23. #2336
    The Big D NewdestinyX's Avatar
    Join Date
    Jan 2012
    Posts
    9,302
    Thanks
    3,548
    Thanked 8,348 Times in 4,249 Posts

    Quote Originally Posted by Dacal View Post
    A few page back.

    In fact, replace all "Results[0]" occurences by "Result".

    PS : It's the method for people who use the Yahoo JSON Url format in their script.
    Thanks, Dacal. Let me help some of our non native speakers that you can't say "replace + by". You have to reorder the sentence and sat "replace X with Y".

    So I think you're saying this:

    Just REPLACE THESE lines:
    woeid =data.ResultSet.Results[0].woeid;
    city = data.ResultSet.Results[0].city;

    WITH :
    woeid = data.ResultSet.Result.woeid;
    city = data.ResultSet.Result.city;

    Agreed?
    Here to help if I can. If I can't I know someone who can!

  24. The Following User Says Thank You to NewdestinyX For This Useful Post:

    Dacal (10-02-2012)

  25. #2337
    Addicted to Code Dacal's Avatar
    Join Date
    Nov 2010
    Posts
    1,889
    Thanks
    2,881
    Thanked 8,473 Times in 1,496 Posts

    Quote Originally Posted by delutedsoul View Post
    Idem I'm not sure what that means
    Sorry : Idem = ditto.

    If your widget worked fine before Yahoo have changed the format, just edit your javascript. Don't replace all the script.

    Quote Originally Posted by NewdestinyX View Post
    Thanks, Dacal. Let me help some of our non native speakers that you can't say "replace + by". You have to reorder the sentence and sat "replace X with Y".

    So I think you're saying this:

    Just REPLACE THESE lines:
    woeid =data.ResultSet.Results[0].woeid;
    city = data.ResultSet.Results[0].city;

    WITH :
    woeid = data.ResultSet.Result.woeid;
    city = data.ResultSet.Result.city;

    Agreed?
    Exactly,... Sorry, tired, at work... I wrote in english like a cow with a pen...
    Last edited by Dacal; 10-02-2012 at 09:13 AM.


    My themes : Jade HD, Silex HD, BaSalt HD,ToPaz
    All are on Cydia and/or Theme It.

  26. The Following 3 Users Say Thank You to Dacal For This Useful Post:

    Cloud2Ground (10-02-2012), King_O_Hill (10-02-2012), The_Durben (10-02-2012)

  27. #2338
    widget modder RKO1195's Avatar
    Join Date
    Aug 2010
    Location
    Alabama
    Posts
    2,205
    Thanks
    9,784
    Thanked 5,002 Times in 1,707 Posts

    Quote Originally Posted by delutedsoul View Post
    Ok fellas the weather.js fix now shows my current condition but the image that shows in the background has a question mark. Any ideas how to fix this portion


    if you useing the weather.js file then you need to go in it and make sure its the same as your weather pics! maybe png in js file and your pics are jpg and also you can change the size of pic in bottom of js file.
    WidgetWeather ​Thread

  28. The Following User Says Thank You to RKO1195 For This Useful Post:

    Cloud2Ground (10-02-2012)

  29. #2339
    The Big D NewdestinyX's Avatar
    Join Date
    Jan 2012
    Posts
    9,302
    Thanks
    3,548
    Thanked 8,348 Times in 4,249 Posts

    Quote Originally Posted by RKO1195 View Post
    if you useing the weather.js file then you need to go in it and make sure its the same as your weather pics! maybe png in js file and your pics are jpg and also you can change the size of pic in bottom of js file.
    Why the heck would we change anything at all with the names of pics ?? This is only the data feed path from yahoo that's changed.
    Here to help if I can. If I can't I know someone who can!

  30. #2340
    widget modder RKO1195's Avatar
    Join Date
    Aug 2010
    Location
    Alabama
    Posts
    2,205
    Thanks
    9,784
    Thanked 5,002 Times in 1,707 Posts

    im talking about the guy said his weather pic wasn't showing dude!!! if he was using the old weather js file that was posted above from Durben
    WidgetWeather ​Thread

  31. The Following User Says Thank You to RKO1195 For This Useful Post:

    Cloud2Ground (10-02-2012)

LinkBacks (?)

  1. 04-12-2013, 02:27 PM
  2. 03-15-2013, 10:09 AM
  3. 08-11-2012, 12:06 AM
  4. 03-03-2012, 12:38 PM

Posting Permissions
  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts