1. Simon's Avatar
    on the iOS7 Lite Blue Bbl Weather.theme

    Wanted to see if someone might have this answer to this great mod
    How can I edit the CSS or one of the other files to eliminate the 0 on the time before 12pm
    Example
    At 8:30am my time it shows 08:30 I would like to eliminate that leading 0
    What I did notice is this problem only happens on AM in the evening at 8:30pm it does not show the 0


    Thanks all for your great support
    Look for this code in the uniaw.js:
    Code:
    if (ampm == false) {
    	timeOfDay = "";
    	currentHours = ( currentHours < 10 ? "0" : "" ) + currentHours;
    	currentTimeString = currentHours + ":" + currentMinutes;
    	} else {
    	currentHours = ( currentHours > 12 ) ? currentHours - 12 : currentHours;
    	currentHours = ( currentHours < 10 ? "0" : "" ) + currentHours;
    	currentHours = ( currentHours == 0 ) ? 12 : currentHours;
    	currentTimeString = currentHours + ":" + currentMinutes;
    	}
    Just have to delete the red 0, leave the quotation marks though.
    2013-09-05 02:48 PM
  2. bliken's Avatar
    Looks great Ian

    So guys, almost done with the LS, I think I can upload it tomorrow for testing.
    The FeelsLike is working, but only when the temperature is different from the normal one, and the heat index code doesn't work till the temperature reaches 27 or above, that's why it's missing from the video.
    I also removed Demo mode, I hope I didn't break anything.

    2013-09-05 02:48 PM
  3. dallasnights's Avatar
    perfect that worked ...thank you
    ------------------------------

    iPhone 4
    4.1 Firmware
    2013-09-05 02:53 PM
  4. NewD's Avatar
    Ian.. Is there a difference between these two statements in java?

    If (obj.city == null)

    if (obj.city == "")

    Are they stating the exact same condition ? If not - what's the difference in what condition they're searching for to be true?

    TIA, M8,
    Grant
    2013-09-05 03:30 PM
  5. <Ian Nicoll/>'s Avatar
    Ian.. Is there a difference between these two statements in java?

    If (obj.city == null)

    if (obj.city == "")

    Are they stating the exact same condition ? If not - what's the difference in what condition they're searching for to be true?

    TIA, M8,
    Grant
    undefined ("") is where no notion of the thing exists, it has no type, and it's never been referenced before in that scope - like if you just started a widget but were offline so never got the city.

    null is where the thing is known to exist, but it's not known what the value is. Maybe this could be after the widget was working but now it doesn't because you lost internet.

    Could be used to start error functions or to look elsewhere for the city (like neighborhood)

    Something like that.
    Last edited by <Ian Nicoll/>; 2013-09-05 at 03:48 PM.
    2013-09-05 03:40 PM
  6. NewD's Avatar
    undefined ("") is where no notion of the thing exists, it has no type, and it's never been referenced before in that scope - like if you just started a widget but were offline so never got the city.

    null is where the thing is known to exist, but it's not known what the value is. Maybe this could be after the widget was working but now it doesn't because you lost internet.

    Could be used to start error functions or to look elsewhere for the city (like neighborhood)

    Something like that.
    Thank you sir! I see the expression
    if ((obj.xxxx != "") && (obj.xxxx != null))
    a lot in code. But when I was searching for a field in the XML, often extraLocNeighborhood, that had a value of < n u l l >, using the == n ull code didn't find it for me but == "" did find < n u l l > for me..
    2013-09-05 04:34 PM
  7. Dacal's Avatar
    When I did the clouds in HD I actually purchased a set of HD cloud brushes for PS, I passed them onto Dacal too, but when I was messing with OSX Mavericks I lost some of my stuff which I seemed to have missed in my back-up process.

    So I hope Dacal still has the brushes.

    I'm sure he's not hoarding them LOL... he probably just hasn't seen any of my posts about it. Maybe he will see this LOL..

    Hey Dacal!... Look here LOL..
    LOL ! Sorry, lot of work, and i have disconnected from MMI since few days.... You have a mail .


    My themes : Jade HD, Silex HD, BaSalt HD,ToPaz
    All are on Cydia and/or Theme It.
    2013-09-05 04:48 PM
  8. xKMAN83x's Avatar
    sorry guys If the info already posted could you please help the brother how to get sunrise and sunset at the top
    You need to edit the UniAW6_iph4 or UniAW6_iph5 CSS file under CSS/Main, look for #sunrise, #sunriseimg #sunset and #sunsetimg and change the top and left/right pixels
    2013-09-05 05:35 PM
  9. King_O_Hill's Avatar
    LOL ! Sorry, lot of work, and i have disconnected from MMI since few days.... You have a mail .
    Yay, brushes!!!

    Ian,

    If you get them, can you send to me. I suck at PS, but I am curious just to see these. I probably couldn't make a cloud for a million $. If not, all is good.

    Check out WW3 for iOS 9/10 - Widget-Weather 3.0
    2013-09-05 07:31 PM
  10. xKMAN83x's Avatar
    Kinda combined both ferlops mods, I think im done tinkering and satisfied with this what do you guys think? ImageUploadedByModMyi1378404553.744427.jpg
    2013-09-05 08:09 PM
  11. <Ian Nicoll/>'s Avatar
    Yay, brushes!!!

    Ian,

    If you get them, can you send to me. I suck at PS, but I am curious just to see these. I probably couldn't make a cloud for a million $. If not, all is good.
    First... thanks David.

    @ Brian,
    Here you are M8, (and any body else) I paid for these but if you don't tell neither will I.

    Don't forget to set your foreground color to a light grey (or dark grey) before using them.

    https://www.dropbox.com/s/g0rm01y8ew...%20Brushes.zip
    2013-09-05 08:56 PM
  12. Padgoi's Avatar
    Kinda combined both ferlops mods, I think im done tinkering and satisfied with this what do you guys think? ImageUploadedByModMyi1378404553.744427.jpg
    What theme is that, kind sir?
    2013-09-05 11:25 PM
  13. Krima's Avatar
    What theme is that, kind sir?
    Boss.ios. It's on the theme it store.
    2013-09-05 11:28 PM
  14. Padgoi's Avatar
    Boss.ios. It's on the theme it store.
    I am using Boss. What icons do you have on there? And if I may ask a quick question, how do you go about swapping out the icons?
    2013-09-05 11:30 PM
  15. Bulldog5278's Avatar
    Kinda combined both ferlops mods, I think im done tinkering and satisfied with this what do you guys think? ImageUploadedByModMyi1378404553.744427.jpg
    Has any one got this clock_face/hands for ip5 they'd be kind enough to hook me up with please?tia
    2013-09-06 12:16 AM
  16. NewD's Avatar
    First... thanks David.

    @ Brian,
    Here you are M8, (and any body else) I paid for these but if you don't tell neither will I.

    Don't forget to set your foreground color to a light grey (or dark grey) before using them.

    https://www.dropbox.com/s/g0rm01y8ew...%20Brushes.zip
    Thanks so much for these, Ian!! You're a gentleman AND a scholar!!
    2013-09-06 02:07 AM
  17. xKMAN83x's Avatar
    Has any one got this clock_face/hands for ip5 they'd be kind enough to hook me up with please?tia
    Check page 516 ferlops posted it
    2013-09-06 02:08 AM
  18. <Ian Nicoll/>'s Avatar
    Now in post 1, the 6.4_LS Widget Weather version.

    Couple of things.

    You need to install the "Widget Weather" tweak for this to work, see THIS page.

    In the "Widget Weather" settings page you must have "Atmospheric Information" and "Neighborhood Location" set to "ON".

    "XML Checked" shows the last time the widget got the info from the xml file, you set this time in the Config.js file, default is 15 minutes.

    "XML updated" shows the last time your XML file was updated, this depends on you settings in the "Widget Wether" tweak.

    If the widget senses you are offline or it didn't update within the 15 minutes, your city name will display in red.

    The touch area for the forecast is now the exact same size as the forecast on the screen, so tap the forecast to toggle the hide function.

    The hourly forecast is a slider.

    "Feelslike" temp will only appear when there is a difference in temperature from the normal temperature.

    There is probable some bugs in it so don't be shy to report them.

    Huge thanks to Dacal, all the team on the "Widget Weather" tweak and all others constantly helping out here and giving us some great idea's and contributions. (too many names to mention & I'm afraid I miss somebody)

    UNiAW6.4_LS_WW (click to download)

    For iph4 & iph5.

    Today I'm gonna buy myself an iPad.

    Attached Images
    Last edited by <Ian Nicoll/>; 2013-09-06 at 06:56 AM.
    2013-09-06 02:50 AM
  19. MamaJaay's Avatar
    2013-09-06 03:22 AM
  20. rdiddy_25's Avatar
    Kinda combined both ferlops mods, I think im done tinkering and satisfied with this what do you guys think? ImageUploadedByModMyi1378404553.744427.jpg
    Nice mix!
    2013-09-06 04:35 AM
LINK TO POST COPIED TO CLIPBOARD