Page 281 of 614 FirstFirst ... 181231271279280281282283291331381 ... LastLast
Results 5,601 to 5,620 of 12264

Your favorite Apple, iPhone, iPad, iOS, Jailbreak, and Cydia site.


Thread: UniAW7

  1. #5601
    Quote Originally Posted by Padgoi View Post
    Please share for GL+? I couldn't get it working.
    Sorry Padg. Just looked at thread now. Would've uploaded for you but see you got it working. What was the problem?

  2. #5602
    Quote Originally Posted by NewD View Post
    In the JavaScript folder open main.js and replace this:
    Code:
    jQuery.get(url, function(data) {
    With this:
    Code:
    //jQuery.get(url, function(data) {
    groovyAPI.do ( { read: "widgetweather" + xmlnumber + ".xml" }, function(data) {
    That works a treat! Thanks G man!!

    Note: Chevy - thanks for the help pointing this out dude. I did try and reply but you've exceeded your PM quota!

  3. The Following User Says Thank You to NeilJClements For This Useful Post:

    NewD (2015-07-13)

  4. #5603
    I did ask this question on the WW2 thread, however, it might be pertinent to ask it here:
    Is there any way of getting the location to fall back to 'city' in the event of 'neighbourhood' not found?
    It falls back to 'County' and that covers a massive area and here in the UK, falling back to city would be wayyyyy more helpful.
    Thanks guys!

  5. #5604
    Quote Originally Posted by NeilJClements View Post
    I did ask this question on the WW2 thread, however, it might be pertinent to ask it here:
    Is there any way of getting the location to fall back to 'city' in the event of 'neighbourhood' not found?
    It falls back to 'County' and that covers a massive area and here in the UK, falling back to city would be wayyyyy more helpful.
    Thanks guys!
    Good question & really should've been like this from day 1.

    In the main.js file look for this:
    Code:
        // CITY INFORMATION
        var cityname = obj.city;
        switch (UseExtraLocation) {
            case "city":
                if ((obj.extraLocCity != null) && (obj.extraLocCity != "") && (typeof(obj.extraLocCity) != "undefined")) { cityname = obj.extraLocCity; }
            break;
            case "neighborhood":
                if ((obj.extraLocNeighborhood != null) && (obj.extraLocNeighborhood != "") && (typeof(obj.extraLocNeighborhood) != "undefined")) { cityname = obj.extraLocNeighborhood; }
                else if ((obj.extraLocCounty != null) && (obj.extraLocCounty != "") && (typeof(obj.extraLocCounty) != "undefined")) { cityname = obj.extraLocCounty; }
            break;
        }


    Replace it with this:

    Code:
        // CITY INFORMATION
        var cityname = obj.city;
        switch (UseExtraLocation) {
            case "city":
                if ((obj.extraLocCity != null) && (obj.extraLocCity != "") && (typeof(obj.extraLocCity) != "undefined")) { cityname = obj.extraLocCity; }
            break;
            case "neighborhood":
                if ((obj.extraLocNeighborhood != null) && (obj.extraLocNeighborhood != "") && (typeof(obj.extraLocNeighborhood) != "undefined")) { cityname = obj.extraLocNeighborhood; }
    
                else if ((obj.extraLocCity != null) && (obj.extraLocCity != "") && (typeof(obj.extraLocCity) != "undefined")) { cityname = obj.extraLocCity; }
    
                else if ((obj.extraLocCounty != null) && (obj.extraLocCounty != "") && (typeof(obj.extraLocCounty) != "undefined")) { cityname = obj.extraLocCounty; }
            break;
        }


    Now if neighbourhood exists it will use it, if it does not exist but city name does, it will use city name, if neither neighbourhood or city name exists it will then use county. If all 3 do not exist your phone will explode.

    ================================

    Hi all,
    Sorry for long absence, been sorting out life.
    I'm currently in New Zealand (Auckland), heading back to Hong Kong tomorrow night & back to Philippines on Saturday.
    When I log on to MMI today I see I have many PM's, sorry to all I cannot read/answer them, I just had to select all & delete them as just too many for my head.

    @ Chevy,
    I will put a link to your latest mod in post 1 in the next few days.
    Last edited by <Ian Nicoll/>; 2015-07-13 at 09:15 PM.

  6. The Following 16 Users Say Thank You to <Ian Nicoll/> For This Useful Post:

    #m37h{ (2015-07-13), bigmike3 (2015-07-14), Boots (2015-07-14), chevymusclecar (2015-07-13), iamevl (2015-07-14), King_O_Hill (2015-07-14), kristatos (2015-07-13), lostinthemes (2015-10-27), Marty McFly (2015-07-14), Mary48336 (2015-07-15), metaserph (2015-07-13), Mike2130 (2015-07-14), NeilJClements (2015-07-14), NewD (2015-07-13), nik1975 (2015-07-14), Pibe77 (2015-07-13)

  7. #5605
    Sounds good my friend!!

  8. The Following 3 Users Say Thank You to chevymusclecar For This Useful Post:

    #m37h{ (2015-07-13), <Ian Nicoll/> (2015-07-13), metaserph (2015-07-13)

  9. #5606
    hey guys..quick question....i don't like the "FAIR" weather reporting..

    isn't that in the main.js file where i can change that? make it mostly sunny for day and mostly clear for night?

    just want to make sure i change it in the right place...

    thanks

  10. #5607
    under this section


    // NO SUNNY DESCRIPTION FOR NIGHT CONDITION
    if ((obj.code[0] == 32) && (where == "night")) { document.getElementById("Day0desc").innerHTML = WeatherDesc[31] + wind_description; }
    else if ((obj.code[0] == 34) && (where == "night")) { document.getElementById("Day0desc").innerHTML = WeatherDesc[33] + wind_description; }
    //else if (((lang == "am") || (lang =="en")) && (WeatherSource == "widgetweather") && (navigator.userAgent.indexOf('OS 8') != -1)) { document.getElementById("Day0desc").innerHTML = obj.day_desc[0] + wind_description; }
    else { document.getElementById("Day0desc").innerHTML = WeatherDesc[obj.code[0]] + wind_description; }

    two forward slashes in front line
    //else if (((lang == "am") bolded
    don't edit it with ifile or filza,do it on computer
    thanx to Ian for this tip
    Last edited by #m37h{; 2015-07-13 at 10:35 PM.

  11. The Following 4 Users Say Thank You to #m37h{ For This Useful Post:

    <Ian Nicoll/> (2015-07-13), chevymusclecar (2015-07-13), kristatos (2015-07-13), Pibe77 (2015-07-13)

  12. #5608
    CHEVY

    how do I set your latest theme for animation on as default

  13. #5609
    Quote Originally Posted by VOLTAGExDT View Post
    CHEVY

    how do I set your latest theme for animation on as default
    try to put this variable to config.js
    var noAnimationsOnStartup = false;

  14. #5610
    Quote Originally Posted by #m37h{ View Post
    try to put this variable to config.js
    var noAnimationsOnStartup = false;
    its already that way

  15. #5611
    do I need to add that line that you BOLDED?

    here is what mine looks like....

    // NO SUNNY DESCRIPTION FOR NIGHT CONDITION
    if ((obj.code[0] == 32) && (where == "night")) { document.getElementById("Day0desc").innerHTML = WeatherDesc[31];
    document.getElementById("Day0descWind").innerHTML = wind_description; }
    else if ((obj.code[0] == 34) && (where == "night")) { document.getElementById("Day0desc").innerHTML = WeatherDesc[33];
    document.getElementById("Day0descWind").innerHTML = wind_description; }
    else { document.getElementById("Day0desc").innerHTML = WeatherDesc[obj.code[0]];
    document.getElementById("Day0descWind").innerHTML = wind_description }








    Quote Originally Posted by #m37h{ View Post
    under this section


    // NO SUNNY DESCRIPTION FOR NIGHT CONDITION
    if ((obj.code[0] == 32) && (where == "night")) { document.getElementById("Day0desc").innerHTML = WeatherDesc[31] + wind_description; }
    else if ((obj.code[0] == 34) && (where == "night")) { document.getElementById("Day0desc").innerHTML = WeatherDesc[33] + wind_description; }
    //else if (((lang == "am") || (lang =="en")) && (WeatherSource == "widgetweather") && (navigator.userAgent.indexOf('OS 8') != -1)) { document.getElementById("Day0desc").innerHTML = obj.day_desc[0] + wind_description; }
    else { document.getElementById("Day0desc").innerHTML = WeatherDesc[obj.code[0]] + wind_description; }

    two forward slashes in front line
    //else if (((lang == "am") bolded
    don't edit it with ifile or filza,do it on computer
    thanx to Ian for this tip

  16. #5612
    Quote Originally Posted by bliken View Post
    do I need to add that line that you BOLDED?

    here is what mine looks like....
    that's not the same code,are you using uniaw7.1?bc i am...

  17. #5613
    This is Chevy's new LS he posted

  18. #5614
    Quote Originally Posted by bliken View Post
    This is Chevy's new LS he posted
    chevy always screws with codes

  19. The Following 2 Users Say Thank You to #m37h{ For This Useful Post:

    chevymusclecar (2015-07-13), Mary48336 (2015-07-15)

  20. #5615
    I was just trying to change the FAIR to Mostly Sunny

  21. #5616
    ok CHEVY and another question..

    where do I change balloon numbers on each animation.

    I looked through and changed the settings via animation.js but it doesn't change on phone.

  22. #5617
    Code Dependent NewD's Avatar
    Join Date
    Jan 2012
    Location
    Northeast US
    Posts
    5,709
    Thanks
    8,337
    Thanked 16,465 Times in 7,696 Posts

    Quote Originally Posted by bliken View Post
    I was just trying to change the FAIR to Mostly Sunny
    It's changed in translation.js in case:default near bottom.

  23. #5618
    Quote Originally Posted by VOLTAGExDT View Post
    CHEVY

    how do I set your latest theme for animation on as default
    In the config.js

    Quote Originally Posted by VOLTAGExDT View Post
    ok CHEVY and another question..

    where do I change balloon numbers on each animation.

    I looked through and changed the settings via animation.js but it doesn't change on phone.
    In the animation.js

  24. The Following User Says Thank You to chevymusclecar For This Useful Post:

    #m37h{ (2015-07-13)

  25. #5619
    Quote Originally Posted by bliken View Post
    This is Chevy's new LS he posted
    Quote Originally Posted by #m37h{ View Post
    chevy always screws with codes
    Lol! I just separate the elements and remove the part that is commented out.

    ...But blik just change words here...

    -imageuploadedbymodmyi1436824129.354051.jpg

    Unless you use different language, then change words in translation.js

  26. The Following 2 Users Say Thank You to chevymusclecar For This Useful Post:

    #m37h{ (2015-07-13), bliken (2015-07-13)

  27. #5620
    Ok thanks Chevy

  28. The Following User Says Thank You to bliken For This Useful Post:

    chevymusclecar (2015-07-14)

Page 281 of 614 FirstFirst ... 181231271279280281282283291331381 ... 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
  •