+ Reply
Page 42 of 136 FirstFirst ... 324041424344 52 92 ... LastLast
Results 821 to 840 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;
Originally Posted by The_Durben In your location js above I'm assuming this is an error in the code? function getCoordinates(request) { if (request == "") { clearTimeout(refrechLocationTimer); validateWeatherLocation(escape(locale).replace(/^%u/g, "%"), setPostal);
...
  1. #821
    Addicted to Code Dacal's Avatar
    Join Date
    Nov 2010
    Posts
    1,891
    Thanks
    2,903
    Thanked 8,487 Times in 1,500 Posts

    Quote Originally Posted by The_Durben View Post
    In your location js above I'm assuming this is an error in the code?

    function getCoordinates(request) {
    if (request == "") {
    clearTimeout(refrechLocationTimer);
    validateWeatherLocation(escape(locale).replace(/^%u/g, "%"), setPostal);

    It should be refreshLocationTimer and not refrech?

    I'll try and add the coordinates back. I think I need only edit the location js as I have Ian's most recent scripts.
    Is that right?
    Lol ! I'm tired ! it's a spelling mistake, but no consequence as i use the same name in all places...

    You need to adjust/verify all i've mentionned above, so much work on the scripts that i really don't know the last that Ian had used... And certainly not the last i personnaly use.


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

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

    Ian Nicoll (03-15-2012), stratnik (03-15-2012), The_Durben (03-15-2012)

  3. #822
    What's Jailbreak? bloodbeer's Avatar
    Join Date
    Mar 2012
    Posts
    14
    Thanks
    4
    Thanked 1 Time in 1 Post
    Wow they all soo cool, thank you.

  4. The Following User Says Thank You to bloodbeer For This Useful Post:

    Dacal (03-15-2012)

  5. #823
    The Mechanic The_Durben's Avatar
    Join Date
    Aug 2010
    Location
    Vancouver Canada
    Posts
    8,424
    Thanks
    34,944
    Thanked 40,561 Times in 7,513 Posts

    Quote Originally Posted by Dacal View Post
    Lol ! I'm tired ! it's a spelling mistake, but no consequence as i use the same name in all places...

    You need to adjust/verify all i've mentionned above, so much work on the scripts that i really don't know the last that Ian had used... And certainly not the last i personnaly use.
    Actually correcting that error put my coordinates back on my phone. I thought that might be it.
    Sorry, tried to reply to that sooner but my phone died. Had to get to a plug.
    Seems to be working correctly now. Dacal you are the best my man!!!


    Oops Im not right. I turned off the app then edited myLocation txt to be another City and no coordinates
    So now not sure where to add that script. Either in location.js or in UniAW.js?
    Last edited by The_Durben; 03-15-2012 at 05:56 PM.

  6. The Following 3 Users Say Thank You to The_Durben For This Useful Post:

    Dacal (03-15-2012), Ian Nicoll (03-15-2012), metaserph (03-15-2012)

  7. #824
    Addicted to Code Dacal's Avatar
    Join Date
    Nov 2010
    Posts
    1,891
    Thanks
    2,903
    Thanked 8,487 Times in 1,500 Posts

    Quote Originally Posted by The_Durben View Post
    Actually correcting that error put my coordinates back on my phone. I thought that might be it.
    Sorry, tried to reply to that sooner but my phone died. Had to get to a plug.
    Seems to be working correctly now. Dacal you are the best my man!!!
    U're welcome ! Happy to participate to a new generation of weather widget. PS : I think you have change something else . I checked again the code and this spelling mistake is not the cause (the variable have the same spelling error in all the code).


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

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

    Ian Nicoll (03-15-2012), The_Durben (03-15-2012)

  9. #825
    Theme Modder WaGGuM's Avatar
    Join Date
    Feb 2011
    Posts
    1,713
    Thanks
    2,160
    Thanked 4,532 Times in 1,175 Posts

    Quote Originally Posted by Them3this View Post
    GPS forecast. Thanks to Schnedi for the beautiful styling.
    Where can I get this??

    Do tell!

  10. #826
    My iPhone is a Part of Me idle0095's Avatar
    Join Date
    Apr 2008
    Posts
    513
    Thanks
    25
    Thanked 136 Times in 98 Posts

    I saw them but it looks like its just a psd. Was looking for some already made.
    Quote Originally Posted by will822 View Post
    The clock face and hands are from Ian's UNiAW5.0 weather mod.

    Get them here: http://modmyi.com/forums/iphone-4-ne...niaw5-0-a.html

  11. #827
    Addicted to Code Dacal's Avatar
    Join Date
    Nov 2010
    Posts
    1,891
    Thanks
    2,903
    Thanked 8,487 Times in 1,500 Posts

    Quote Originally Posted by The_Durben View Post
    Actually correcting that error put my coordinates back on my phone. I thought that might be it.
    Sorry, tried to reply to that sooner but my phone died. Had to get to a plug.
    Seems to be working correctly now. Dacal you are the best my man!!!


    Oops Im not right. I turned off the app then edited myLocation txt to be another City and no coordinates
    So now not sure where to add that script. Either in location.js or in UniAW.js?
    Best in UniAW.js. I send the complete package to Ian. I think he will work on an update soon.

    Quote Originally Posted by Dacal View Post
    Best in UniAW.js. I send the complete package to Ian. I think he will work on an update soon.
    Or you can add here in location.js :

    function woeid_loaded(request) {
    if (get_location == true) { clearTimeout(refreshWeatherTimer); }
    var effectiveRoot = findChild(request.responseXML, "ResultSet");
    postal = parseInt(findChild(effectiveRoot, "Result").getElementsByTagName("woeid")[0].childNodes[0].nodeValue);

    if (latitude < 0) { textLat = Math.round(latitude*100)/100 + "\u00B0" + "S"; }
    else if (latitude > 0){ textLat = Math.round(latitude*100)/100 + "\u00B0" + "N"; }
    else { textLat = Math.round(latitude*100)/100 + "\u00B0"; }

    if (longitude < 0) { textLong = Math.round(longitude*100)/100 + "\u00B0" + "W"; }
    else if (longitude > 0) { textLong = Math.round(longitude*100)/100 + "\u00B0" + "E"; }
    else { textLong = Math.round(longitude*100)/100 + "\u00B0"; }

    document.getElementById("coordinates").innerHTML = textLat + " " + textLong;

    get_location = true;
    refreshWeather();
    }
    Last edited by Dacal; 03-15-2012 at 06:09 PM.


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

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

    Ian Nicoll (03-15-2012), stratnik (03-15-2012), The_Durben (03-15-2012)

  13. #828
    The Mechanic The_Durben's Avatar
    Join Date
    Aug 2010
    Location
    Vancouver Canada
    Posts
    8,424
    Thanks
    34,944
    Thanked 40,561 Times in 7,513 Posts

    Quote Originally Posted by Dacal View Post
    Best in UniAW.js. I send the complete package to Ian. I think he will work on an update soon.
    Added that line in "red" to the UniAW.js and now it's sorted.
    Used the app for current location which should be unknown but it pulls the info now and then switched the app off and edited coordinates to another city and it showed all info as well
    Thanks again Dacal. I'm tired and preoccupied as well. Just playing with this to keep my mind off things.

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

    Dacal (03-15-2012), Ian Nicoll (03-15-2012), metaserph (03-15-2012)

  15. #829
    ".plist master" Them3this's Avatar
    Join Date
    Mar 2011
    Location
    Pittsburgh
    Posts
    2,058
    Thanks
    638
    Thanked 2,624 Times in 1,027 Posts

    Quote Originally Posted by The_Durben View Post
    Looks good. I would think it would look better with realistic weather icons instead of the blue if you have BG images like the main showing. The blue icons might look good with space images in the BG though.

    Just throwing ideas out for you dude, but really it's about personal preference.
    Nah man definitely appreciate the insight

  16. The Following User Says Thank You to Them3this For This Useful Post:

    The_Durben (03-15-2012)

  17. #830
    Theme Kingpin TCcentex's Avatar
    Join Date
    Jan 2010
    Location
    San Antonio, Texas
    Posts
    1,777
    Thanks
    1,857
    Thanked 1,972 Times in 876 Posts

    I downloaded off cydia and love it! I'm going to customize it for a couple of my themes but noticed it didn't have a config.js file included in the theme. I looked through this thread and there appear to be a few different versions of config/setup folders and I was unable to make it work (I'm truly an artist - suck at coding) -- is there a simple add-on where I can add a config/setup folder to allow users easy adjustment of languages/Celsius vs Fahrenheit/24hr vs 12hr, etc?

    Thanks!

  18. The Following User Says Thank You to TCcentex For This Useful Post:

    metaserph (03-15-2012)

  19. #831
    Theme Modder WaGGuM's Avatar
    Join Date
    Feb 2011
    Posts
    1,713
    Thanks
    2,160
    Thanked 4,532 Times in 1,175 Posts

    Hey I know this is a noob question but how can I open up one of these themes on my Mac and actively tweak the code/layout?

    Is there a program that I can use to call to all the files in conjunction?

    Thanks!

  20. #832
    The Mechanic The_Durben's Avatar
    Join Date
    Aug 2010
    Location
    Vancouver Canada
    Posts
    8,424
    Thanks
    34,944
    Thanked 40,561 Times in 7,513 Posts

    Quote Originally Posted by TCcentex View Post
    I downloaded off cydia and love it! I'm going to customize it for a couple of my themes but noticed it didn't have a config.js file included in the theme. I looked through this thread and there appear to be a few different versions of config/setup folders and I was unable to make it work (I'm truly an artist - suck at coding) -- is there a simple add-on where I can add a config/setup folder to allow users easy adjustment of languages/Celsius vs Fahrenheit/24hr vs 12hr, etc?

    Thanks!
    Here TC
    http://db.tt/SvzlZugv

    Fully set up theme albeit a little plain but has config for clock 12/24 and language support for date and weather conditions. Also c and f

    I have a preview pic some pages back but credit to rasputin for the base to set up configs and schnedi for the languages.

  21. The Following 4 Users Say Thank You to The_Durben For This Useful Post:

    Dirtstep (03-16-2012), Ian Nicoll (03-15-2012), metaserph (03-15-2012), TCcentex (03-16-2012)

  22. #833
    Dalmatinac stratnik's Avatar
    Join Date
    Dec 2010
    Posts
    1,076
    Thanks
    5,880
    Thanked 4,157 Times in 835 Posts

    Dacal you're a genius,
    I added your new "location.js" and works perfectly (no more unknown).
    Thanks mate



    I added the last update on the original widget
    and got this



    and this



    and "update at | invalid date"

    My question is,
    can someone make a short line (second picture) that shows the last update 24hr.
    Last edited by stratnik; 03-15-2012 at 08:41 PM.

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

    Dacal (03-16-2012), metaserph (03-15-2012)

  24. #834
    Green Apple
    Join Date
    Feb 2012
    Posts
    53
    Thanks
    4
    Thanked 108 Times in 18 Posts

    Quote Originally Posted by KraXik View Post
    Have you posted this anywhere Schnedi?
    Yes he has, sinfuliphone forum
    Membership is required.

  25. #835
    Livin the iPhone Life KraXik's Avatar
    Join Date
    Mar 2011
    Location
    Winchester, UK
    Posts
    2,624
    Thanks
    2,671
    Thanked 1,754 Times in 891 Posts

    Quote Originally Posted by kyle_ View Post
    Yes he has, sinfuliphone forum
    Membership is required.
    No thanks.

  26. #836
    Green Apple
    Join Date
    Feb 2012
    Posts
    53
    Thanks
    4
    Thanked 108 Times in 18 Posts

    Quote Originally Posted by KraXik View Post
    No thanks.
    Okey here u go -> EPHD Forecast.rar

  27. #837
    desconocido
    Join Date
    Sep 2008
    Posts
    2,940
    Thanks
    2,901
    Thanked 25,716 Times in 2,504 Posts

    Quote Originally Posted by kyle_ View Post
    Okey here u go -> EPHD Forecast.rar
    ximet

    that's already posted in Elite thread and that question was answered in previous page....

  28. #838
    Theme Kingpin TCcentex's Avatar
    Join Date
    Jan 2010
    Location
    San Antonio, Texas
    Posts
    1,777
    Thanks
    1,857
    Thanked 1,972 Times in 876 Posts

    Quote Originally Posted by The_Durben View Post
    Here TC
    http://db.tt/SvzlZugv

    Fully set up theme albeit a little plain but has config for clock 12/24 and language support for date and weather conditions. Also c and f

    I have a preview pic some pages back but credit to rasputin for the base to set up configs and schnedi for the languages.
    Thanks Durben

  29. The Following User Says Thank You to TCcentex For This Useful Post:

    The_Durben (03-16-2012)

  30. #839
    Green Apple
    Join Date
    Feb 2012
    Posts
    53
    Thanks
    4
    Thanked 108 Times in 18 Posts

    Quote Originally Posted by schnedi View Post
    kyle_

    that's already posted in Elite thread and that question was answered in previous page....
    Yes i know but if he ask here I can think he would have answere here and not in another thread.

  31. #840
    CHG128 和平與愛 chg128's Avatar
    Join Date
    Jan 2008
    Location
    KL-UK
    Posts
    1,872
    Thanks
    4,324
    Thanked 4,679 Times in 1,212 Posts

    here is my today


    i hope you guys can read the font

    here you go the GPS LC mod





    donwload here http://apple.org.hk/apple/download/file.php?id=2843


    Credit to @crazyvivek for the original gps weather LC and Ian Nicoll for somecode ,Thanks to The_Durben and maybe other ..


    you need download the GPS WEATHER LOCKSCREEN from Cydia make it work.


    Enjoy guys & have fun ....

  32. The Following 8 Users Say Thank You to chg128 For This Useful Post:

    Dirtstep (03-16-2012), elilab (03-16-2012), folch28 (03-17-2012), Ian Nicoll (03-16-2012), King_O_Hill (03-16-2012), mrsmickey (03-16-2012), phil73 (03-16-2012), The_Durben (03-16-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