MystiqueHaz3-HD ipad

Discussion in 'iPad Themes' started by TheRambler, Jul 9, 2011.

  1. ChadStyle

    ChadStyle
    Expand Collapse
    iPF Noob

    Joined:
    May 31, 2012
    Messages:
    4
    Thanks Received:
    0
    I really like this theme and one of the main reasons for purchasing it was the weather widgets built in. (I know, I'm a weather geek) but after playing with this theme and all the settings I can't get the weather location to change from Amsterdam. Please advise on how to change this to my current location before I find a new theme with a weather widget that actually is useful.
     
  2. ChadStyle

    ChadStyle
    Expand Collapse
    iPF Noob

    Joined:
    May 31, 2012
    Messages:
    4
    Thanks Received:
    0
    I'm starting to think by the lack of response to the same question that has been asked multiple times that there isn't a way to change the weather location. If that's the case I'd like my money back as the theme doesn't do what it's advertised to do and I'm not planning on moving to Amsterdam in this lifetime. Bummer cause I was excited about this theme but I found another theme that has a far cooler weather widget built in and it actually works!!!
     
  3. f4780y

    f4780y
    Expand Collapse
    Super Moderator
    Staff Member

    Joined:
    Sep 11, 2010
    Messages:
    7,113
    Thanks Received:
    652
    Of course there's a way to change the location :)

    In order to change the weather on ANY theme you install, you need to use something like iFile to edit the appropriate file within the theme to add your own weather location. The details can be different by theme, but there is usually an instruction file in the root of the theme.

    Look in your var/stash/Theme.xxxxx/ and find the Weather component of the theme. The xxxxx bit is particular to your device, so there is no knowing what it might be.

    In Haz3 themes the file you normally have to edit is called Wallpaper.html but it may be different depending on the exact theme.
    Within that you search for the "var locale =" variable and substitute the value in there with your own weather locale. If you don't know what this is you will need to find it via Accuweather using a browser.

    Hope that helps.
     
  4. ChadStyle

    ChadStyle
    Expand Collapse
    iPF Noob

    Joined:
    May 31, 2012
    Messages:
    4
    Thanks Received:
    0
    Thank you for the very detailed explanation!! I will install iFile now (found it for $4 on cydia) and attempt to correct the weather location. Sorry for sounding like a total noob but while I'm editing the weather I would also like to change the 24 hour clock on the lock screen for the theme to a 12 hour format..do you happen to know what file needs to be edited? This is for the same theme...

    Thanks in advance!!
     
  5. f4780y

    f4780y
    Expand Collapse
    Super Moderator
    Staff Member

    Joined:
    Sep 11, 2010
    Messages:
    7,113
    Thanks Received:
    652
    I don't have this theme, so search around once you have iFile ;)
     
  6. ChadStyle

    ChadStyle
    Expand Collapse
    iPF Noob

    Joined:
    May 31, 2012
    Messages:
    4
    Thanks Received:
    0
    I was able to find the weather code for where I live and locate the 4 places within the theme to change it. I had to remove the theme, respring, add the theme, respring and it worked. I can't figure out how to change from Celsius to Farenhiet nor can I fix the spelling of the word "temperature" (although I was able to fix about 50 other spelling errors :eek:) Lastly, I found the time settings and there are lines of script talking about replacing the 24 hour format with a 12 hour format if specified. This leads me to believe that there is a toggle for this somewhere but I have yet to find it.

    It would be real nice if the theme's creator chimed in with some answers considering he has this thread here showing off the theme and we all have so kindly paid him. A little support would go a long way.....
     
  7. TheRambler

    TheRambler
    Expand Collapse
    iPad Guru

    Joined:
    Jun 19, 2011
    Messages:
    3,075
    Thanks Received:
    132
    Sorry ChadStyle, I'm not the developer only the guy that started the thread when I bought the theme, but I will help all I can.

    As f4780y has already said, using ifile locate this line within wallpaper.html


    * $(document).ready(function () {
    * * * * $('#test').weatherfeed(['NLXX0002']);

    The NLXX0002 is what needs changing to alter the weather location remember it uses the weather channel location number

    As for the temperature problems go into the file called jquery.zweatherfeed.js

    Find this line

    // Set pluign defaults

    * * * * * * * * var defaults = {

    * * * * * * * * * * * * unit: 'c',

    And change the c to f or vice versa

    As for temperature find jquery.silverweather.min.js

    Find the line

    class="weatherTemp">Temprature : '+feed.item.condition.temp+'&deg;</div>';html+='<div

    And change the spelling to temperature.

    As for the time problem, find this section within the wallpaper.HTML section

    var currentHours = currentTime.getHours ( );

    * // Choose either "AM" or "PM" as appropriate
    * var timeOfDay = ( currentHours < 24 ) ? "" : "";

    * // Convert the hours component to 12-hour format if needed
    * currentHours = ( currentHours > 24 ) ? currentHours - 24 : currentHours;

    * // Convert an hours component of "0" to "12"
    * currentHours = ( currentHours == 0 ) ? 24 : currentHours;

    I'm just working on this now, so I will get back to you, if I remember rightly I changed the last 24 to 12, but just testing it now
     
  8. TheRambler

    TheRambler
    Expand Collapse
    iPad Guru

    Joined:
    Jun 19, 2011
    Messages:
    3,075
    Thanks Received:
    132
    Ok, the time is taken from your iPads clock settings, set your iPads clock within settings to how you want it and then respring, this should work I think. No need to change anything in ifile
     
  9. wasntme

    wasntme
    Expand Collapse
    iPF Noob

    Joined:
    Jun 28, 2012
    Messages:
    1
    Thanks Received:
    0
    To change the weather from Amsterdam:
    1. go here: intellicast [dot] com
    2. enter your city's zip code
    3. wait for page to reload and copy or write down the last 8 digits in the address bar
    4. use a program like iFile to go into your system following the path:
    /var/stash/Themes.tlucw2/MystiqueHaz3-HD WeatherRSS&Time.theme (or whichever theme you want to correct the weather on)
    5. open the .html file (in this case, Wallpaper.html) and scroll down through the code until you see the variable for "weatherfeed" and the code "NLXX0002'
    6. select the old code NLXX0002 and replace it with your city code (mine began with USGA####)
    7. do this for every theme that has a weatherfeed variable

    I hope this helps!!
     
    #19 wasntme, Jun 28, 2012
    Last edited: Jun 28, 2012
  10. jemyclarke

    jemyclarke
    Expand Collapse
    iPF Novice

    Joined:
    Feb 26, 2013
    Messages:
    17
    Thanks Received:
    0
    Sound is really amazing and I always like dark color theme in my iPad 4. Here you have given such a wonderful pictures of this theme. I have iPad 4 but here you have not mentioned that this theme is available for iPad 4. Can I use it in iPad 4?
     

Share This Page


Search tags for this page
mystiquehaz3 ipad theme download
,

mystiquehaz3-hd ipad setup