Upside right ls (lockscreen)- how to change weather?

Discussion in 'Jailbreaks and iOS Hacks' started by Bugeyeblue, Mar 30, 2011.

  1. Bugeyeblue macrumors 6502a

    Bugeyeblue

    Joined:
    Mar 27, 2011
    #1
    Wirelessly posted (Mozilla/5.0 (iPhone; U; CPU iPhone OS 4_2_6 like Mac OS X; en-us) AppleWebKit/533.17.9 (KHTML, like Gecko) Version/5.0.2 Mobile/8E200 Safari/6533.18.5)

    I downloaded and installed (through cydia) on my Verizon ip4 upside right lockscreen. It has a weather icon on the bottom. Is there any way, maybe using ifile, to update this with my location?
     
  2. iApples macrumors 65816

    iApples

    Joined:
    Mar 24, 2011
    #2
    Use iFile and go into the html file and search for var local and then change the code between the quotations to your city code.
     
  3. Bugeyeblue thread starter macrumors 6502a

    Bugeyeblue

    Joined:
    Mar 27, 2011
    #3
    Wirelessly posted (Mozilla/5.0 (iPhone; U; CPU iPhone OS 4_2_6 like Mac OS X; en-us) AppleWebKit/533.17.9 (KHTML, like Gecko) Version/5.0.2 Mobile/8E200 Safari/6533.18.5)

    I found out my city code, but don't know how to find the file I'm looking for in ifile. Any way you can tell me how to find that? Thanks.
     
  4. iApples macrumors 65816

    iApples

    Joined:
    Mar 24, 2011
    #4
    1. Open iFile
    2. Hit the "/" button on the top left until you go back to the very first page
    3. Tap on Library
    4. Scroll down to Themes
    5. Tap on the theme name (Should be Upsideright lock screen or whatever it's called)
    6. You should see a "LockBackground.html". Tap on that and then you should see the option to open it with "TextViewer".
    7. Scroll down until you see ' var locale = "XXXXXXXX" ' Replace your city code with whatever code was in the quotations. To enter text tap on "Edit" on the top left.
    8. Then just press save and done. Go back to your homescreen and respring and you should be good to go.

    Let me know if you have anymore questions.
     
  5. Bugeyeblue thread starter macrumors 6502a

    Bugeyeblue

    Joined:
    Mar 27, 2011
    #5
    Wirelessly posted (Mozilla/5.0 (iPhone; U; CPU iPhone OS 4_2_6 like Mac OS X; en-us) AppleWebKit/533.17.9 (KHTML, like Gecko) Version/5.0.2 Mobile/8E200 Safari/6533.18.5)

    Great, thanks, I'll report how it goes when I get a minute to try it out.
     
  6. iApples macrumors 65816

    iApples

    Joined:
    Mar 24, 2011
    #6
    No problem. If you have any other questions or you're not sure on any of those steps just post another reply here or PM me and I'll do my best to help you out.
     
  7. Bugeyeblue thread starter macrumors 6502a

    Bugeyeblue

    Joined:
    Mar 27, 2011
    #7
    Wirelessly posted (Mozilla/5.0 (iPhone; U; CPU iPhone OS 4_2_6 like Mac OS X; en-us) AppleWebKit/533.17.9 (KHTML, like Gecko) Version/5.0.2 Mobile/8E200 Safari/6533.18.5)

    Worked perfectly, thanks so much.
     
  8. iApples macrumors 65816

    iApples

    Joined:
    Mar 24, 2011
    #8
    Great to hear, you're welcome! I hope my steps were easy to follow.
     
  9. Bugeyeblue thread starter macrumors 6502a

    Bugeyeblue

    Joined:
    Mar 27, 2011
    #9
    Wirelessly posted (Mozilla/5.0 (iPhone; U; CPU iPhone OS 4_2_6 like Mac OS X; en-us) AppleWebKit/533.17.9 (KHTML, like Gecko) Version/5.0.2 Mobile/8E200 Safari/6533.18.5)

    Really easy, and clear too. This is an awesome forum. Tipb is a little too slow.
     
  10. Bugeyeblue thread starter macrumors 6502a

    Bugeyeblue

    Joined:
    Mar 27, 2011
    #10
    I'm trying to do this again, using a different lock screen, called typoweather. I'm using the same method to change the weather, but I don't see the var locale I used last time to change it on my other lock screen. Any ideas on where to change it?
     
  11. Bugeyeblue thread starter macrumors 6502a

    Bugeyeblue

    Joined:
    Mar 27, 2011

Share This Page