+ Reply
Page 1 of 2 12 LastLast
Results 1 to 20 of 39
  1. #1
    Green Apple
    Join Date
    Sep 2007
    Posts
    83
    Thanks
    4
    Thanked 34 Times in 15 Posts

    Default [RELEASE] Weather Widget

    Since many have been asking... I have made a few tweaks and now everyone can add a the weather to ANY theme they have. I take almost no credit for this widget -- as code was written by others -- but I managed to make it a stand alone widget so that it works with WinterBoard. I have enclosed three files (Myopia, Split and OneLine). I have tweaked all three to save you some work. YOU will need to edit the configureMe.js file in the Private folder so you can add your correct location, F/C, Wallpaper/Lockscreen as well as which style and icons... also you can tweak the StyleSheets if you want to move the location of the images.


    Instructions:

    1. Place this theme as a stand alone in WinterBoard (for beter compatibility make sure it is positioned BELOW the theme you want to use it with.

    2. Check it off in WinterBoard (along with other themes you want to use)

    3. Voila!







    Edit:

    I have now also included the 6 day forecast weather icon (thanks to Houdini7 for his work on this)

    Attached Files Attached Files
    Last edited by dannyben; 10-12-2008 at 12:14 AM.

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

    ancola66 (05-07-2009), CasinoMonkey (05-06-2009), crimson75 (10-28-2008), evolutionarymc (10-11-2008), iPhoneMadness (10-11-2008), LastSonOfKrypton (05-06-2009), LeathaFace (10-12-2008), mr.sparky (10-11-2008), NArush (10-11-2008), OXxDiStUrBeDxX0 (10-27-2008), Raaj FX was banned (11-08-2010), XonX (08-14-2009), Zehlek (10-12-2008)

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

    Hey thanks for this, i want to know if its possible to move it a bit down, because using the Android theme it almost on top of the icons, i want it more to the bottom, but i dunno how to edit it, i was taking a look at the files stylesheets and stuff but i really dunno ill apreciate the help

    I am using One Line

  4. #3
    Green Apple
    Join Date
    Sep 2007
    Posts
    83
    Thanks
    4
    Thanked 34 Times in 15 Posts

    I have it pictured with android. To change the location of the image you need to change the margins in the .js file not the style sheets. I will post better instructions when I can get in front of a computer.

  5. #4
    iPhone? More like MyPhone
    Join Date
    Feb 2008
    Posts
    251
    Thanks
    20
    Thanked 4 Times in 4 Posts

    first off thanks!! In the Ol weather widget can you tell me what I change in the script to get rid of the bar being shaded? I want it clear not tinted. Thanks

  6. #5
    iPhoneaholic evolutionarymc's Avatar
    Join Date
    Mar 2008
    Location
    MidWest
    Posts
    317
    Thanks
    43
    Thanked 28 Times in 23 Posts

    Thanks my stuff stopped working when I just upgraded Winterboard. I took your file and dragged my custom split stylesheet and configureme files. It works like a charm and my lock screen is functioning

    <a href="http://s46.photobucket.com/albums/f119/slhh365/?action=view&current=IMG_0007.png" target="_blank"><img src="http://i46.photobucket.com/albums/f119/slhh365/IMG_0007.png" border="0" alt="Photobucket"></a>

    http://i46.photobucket.com/albums/f1...5/IMG_0007.png
    Last edited by evolutionarymc; 10-11-2008 at 01:33 PM. Reason: Automerged Doublepost
    I would have my URL here so you could hear our music but apparently that's sig spam. WTF?

  7. #6
    iPhone? More like MyPhone
    Join Date
    Nov 2007
    Posts
    266
    Thanks
    22
    Thanked 16 Times in 16 Posts

    Quote Originally Posted by dannyben View Post
    Hi, this is totally unrelated, but please bear with me: how do you get the battery percent charge on the status bar?

    Thanks
    iPhone 2G Pwned 3.1.2
    MBP OSX 10.6.3

  8. #7
    Green Apple
    Join Date
    Sep 2007
    Posts
    83
    Thanks
    4
    Thanked 34 Times in 15 Posts

    Quote Originally Posted by marcoiac View Post
    Hi, this is totally unrelated, but please bear with me: how do you get the battery percent charge on the status bar?

    Thanks
    Boss Prefs

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

    hokiepark (10-12-2008), marcoiac (10-11-2008)

  10. #8
    iPhone? More like MyPhone
    Join Date
    Nov 2007
    Posts
    266
    Thanks
    22
    Thanked 16 Times in 16 Posts

    Quote Originally Posted by dannyben View Post
    Boss Prefs
    That's ridiculous, I use BossPrefs all the time! Never noticed! Thanks
    iPhone 2G Pwned 3.1.2
    MBP OSX 10.6.3

  11. The Following User Says Thank You to marcoiac For This Useful Post:

    hokiepark (10-12-2008)

  12. #9
    Green Apple
    Join Date
    Sep 2007
    Posts
    83
    Thanks
    4
    Thanked 34 Times in 15 Posts

    Quote Originally Posted by nalditou View Post
    Hey thanks for this, i want to know if its possible to move it a bit down, because using the Android theme it almost on top of the icons, i want it more to the bottom, but i dunno how to edit it, i was taking a look at the files stylesheets and stuff but i really dunno ill apreciate the help

    I am using One Line
    edit the StyleSheets/oneLine.css file changing the margin-top:350px (greater # to move down, smaller # to move up)

    Quote Originally Posted by imbuggin View Post
    first off thanks!! In the Ol weather widget can you tell me what I change in the script to get rid of the bar being shaded? I want it clear not tinted. Thanks
    Edit the Stylesheets/oneLine.css file doing the following:

    1. change color from "color:white" to "color:black" (the white probable wont show up well without a shaded bar)

    2. delete the background-color line completely
    Last edited by dannyben; 10-11-2008 at 07:09 PM. Reason: Automerged Doublepost

  13. The Following User Says Thank You to dannyben For This Useful Post:

    OXxDiStUrBeDxX0 (10-27-2008)

  14. #10
    iPhoneaholic
    Join Date
    Nov 2007
    Location
    Houston, TX
    Posts
    379
    Thanks
    77
    Thanked 42 Times in 34 Posts

    Thanks for this!

    Few things, do you know how to get the weather widget on the status bar in the middle? I've seen it before but never really explained.

    Also, I'm trying to add my location to the configureMe.js but I'm getting a "loading..." message. I know I'm doing something wrong.

    I have this:

    Code:
    // The other available source is 'yahooWeather' which for the 'locale'
    // requires a US zip or location code (e.g. UKXX0085 or CHXX0008) from http://weather.yahoo.com
    var source = 'USTX0617' //'USTX0617'|'yahooWeather'
    Thanks again.
    "Thanks" button. Learn it. Use it. Love it.

  15. #11
    Green Apple
    Join Date
    Sep 2007
    Posts
    83
    Thanks
    4
    Thanked 34 Times in 15 Posts

    Quote Originally Posted by iPhoneMadness View Post
    Thanks for this!

    Few things, do you know how to get the weather widget on the status bar in the middle? I've seen it before but never really explained.

    Also, I'm trying to add my location to the configureMe.js but I'm getting a "loading..." message. I know I'm doing something wrong.

    I have this:

    Code:
    // The other available source is 'yahooWeather' which for the 'locale'
    // requires a US zip or location code (e.g. UKXX0085 or CHXX0008) from http://weather.yahoo.com
    var source = 'USTX0617' //'USTX0617'|'yahooWeather'
    Thanks again.
    change that back to the original (or redownload) you edited the wrong spot.

    very close to the top of the file is where you need to enter your zip code:

    var locale = "enter your zip code here"

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

    iPhoneMadness (10-11-2008)

  17. #12
    iPhoneaholic
    Join Date
    Nov 2007
    Location
    Houston, TX
    Posts
    379
    Thanks
    77
    Thanked 42 Times in 34 Posts

    Quote Originally Posted by dannyben View Post
    change that back to the original (or redownload) you edited the wrong spot.

    very close to the top of the file is where you need to enter your zip code:

    var locale = "enter your zip code here"
    I backed it up.

    LoL so obvious. Thanks!
    "Thanks" button. Learn it. Use it. Love it.

  18. #13
    iPhone? More like MyPhone
    Join Date
    Feb 2008
    Location
    On the Bayou
    Posts
    143
    Thanks
    19
    Thanked 3 Times in 3 Posts

    installed in library/themes .....input my yahoo local "zip" and nothing...using android as well and nothing but a black screen and a loading icon?

  19. #14
    Green Apple
    Join Date
    Sep 2007
    Posts
    83
    Thanks
    4
    Thanked 34 Times in 15 Posts

    Quote Originally Posted by flounder21 View Post
    installed in library/themes .....input my yahoo local "zip" and nothing...using android as well and nothing but a black screen and a loading icon?
    Sometimes you get the loading if the server is busy / no internet connection. Unfortunately there is no way to manually update, but you can respring or reload in winterboard.

    youre getting the black screen and not android because the widget is positioned above that theme. Make sure your primary theme (in your case android) is positioned above this widget.

  20. #15
    iPhone? More like MyPhone
    Join Date
    Feb 2008
    Location
    On the Bayou
    Posts
    143
    Thanks
    19
    Thanked 3 Times in 3 Posts

    interesting...how would one fix this problem?

  21. #16
    Green Apple
    Join Date
    Sep 2007
    Posts
    83
    Thanks
    4
    Thanked 34 Times in 15 Posts

    for those who want the 6 day forecast as a standalone widget i have now included it in the original post.

  22. #17
    Livin the iPhone Life mr.sparky's Avatar
    Join Date
    Jul 2008
    Location
    On the open sea
    Posts
    1,328
    Thanks
    597
    Thanked 221 Times in 155 Posts

    thank you can you tell us what you changed and how you changed it?

  23. #18
    0.o
    0.o is offline
    Green Apple
    Join Date
    Aug 2008
    Posts
    37
    Thanks
    1
    Thanked 1 Time in 1 Post
    fixed very nice cheers
    Last edited by 0.o; 10-12-2008 at 06:11 AM.

  24. #19
    iPhone? More like MyPhone
    Join Date
    Feb 2008
    Posts
    251
    Thanks
    20
    Thanked 4 Times in 4 Posts

    Quote Originally Posted by dannyben View Post
    edit the StyleSheets/oneLine.css file changing the margin-top:350px (greater # to move down, smaller # to move up)


    When I remove the line for color background it also makes it so the weather icon doesn't come up. City and temp but no icon?



    Edit the Stylesheets/oneLine.css file doing the following:

    1. change color from "color:white" to "color:black" (the white probable wont show up well without a shaded bar)

    2. delete the background-color line completely
    when I delete the line for the background color I lost the icon also? The city and temp come up but no picture icon

  25. #20
    What's Jailbreak?
    Join Date
    Mar 2008
    Posts
    12
    Thanks
    4
    Thanked 2 Times in 2 Posts

    How do I place the Icon to the right and remove the Description from the one line? Pretty much switch the icon and description.
    Last edited by Curare; 10-15-2008 at 12:39 PM.

  26. The Following User Says Thank You to Curare For This Useful Post:

    LastSonOfKrypton (05-06-2009)

+ Reply
Page 1 of 2 12 LastLast

Posting Permissions

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