1. Krima's Avatar
    Somehow I ended up with an iwidget on my spotlight page....does anyone know how to delete it? Thx.
    U can also navigate to /var/mobile/Library/Preferences/ and find the iwidget.plist and delete it. That has your activated widget details for the tweak.
    Last edited by Krima; 2013-04-08 at 04:28 AM.
    2013-04-08 04:25 AM
  2. Jersey Girl's Avatar
    Try turning substrates off one by one until you find the offending tweak.
    Thanks King. I wound up fixing it without having to do Longhorns idea. After a mind boggling 3hrs, i decided to just clear my caches via iWipe Cache & it worked . Weird!

    Now the only issue I'm having after resetting all in my phone, is some iwidgets work with gps true & some do not. I've replaced Dacals location.js file but still no luck.

    The ones I'm having an issue with, & these are just a couple of my favorite, is 5 day Forecast (old iwidget) & 3 day forecast (fairly "new") both by Schnedi.

    Schnedi or anyone, no tiene unas ideas en como podria areglar esto? Any ideas on how to fix this?

    King, if i had already did exactly what's on your instructions a while back, would i need to do these steps all over again? Earlier when i "reset all settings" I did not re-install MyLication app.

    Actually, I updated MyLocation app when MamaJaay made an update about 1mth ago.


    Gracias!
    2013-04-08 06:51 AM
  3. MamaJaay's Avatar
    Thanks King. I wound up fixing it without having to do Longhorns idea. After a mind boggling 3hrs, i decided to just clear my caches via iWipe Cache & it worked . Weird!

    Now the only issue I'm having after resetting all in my phone, is some iwidgets work with gps true & some do not. I've replaced Dacals location.js file but still no luck.

    The ones I'm having an issue with, & these are just a couple of my favorite, is 5 day Forecast (old iwidget) & 3 day forecast (fairly "new") both by Schnedi.

    Schnedi or anyone, no tiene unas ideas en como podria areglar esto? Any ideas on how to fix this?

    King, if i had already did exactly what's on your instructions a while back, would i need to do these steps all over again? Earlier when i "reset all settings" I did not re-install MyLication app.

    Actually, I updated MyLocation app when MamaJaay made an update about 1mth ago.


    Gracias!
    When you reset all settings you may need to turn location services back on in your stock settings app. Then open up my location and make sure the sig change option is on.
    2013-04-08 08:42 AM
  4. roman3001's Avatar
    @Drifter
    I love your widgets, but the analog clock and ani weather sucks on the battery...
    Maybye you can create something simle... Like this.
    ImageUploadedByModMyi1365411556.828900.jpg

    That is from Neo theme, i inserted the uni weather, but the old one.
    Maybye you can do one with the v6...

    THX in afvance

    When i tap on the apple logo in the middle, then shows a 4-day forecast
    2013-04-08 11:00 AM
  5. The.Drifter's Avatar
    @Drifter
    I love your widgets, but the analog clock and ani weather sucks on the battery...
    Maybe you can do one with the v6...
    The Analog Clock and the Animated Weather already use the UniAW6 code.
    These are the exact same iWidget versions I made for Ian on the UniAW6 Thread.

    For the Analog clock, try turning off the seconds display, that will help with the battery.

    For the Animated Weather, try the Animation-Only version from the Separated Weather Pack,
    For that version, I stripped down the code to its bare essentials and it runs leaner than the Full Version of the UniAW6 iWidget.
    2013-04-08 11:25 AM
  6. roman3001's Avatar
    Thanks bro... I turned off the ani in my widget, and now i have my widget on and only ani from you... Looks great THX

    ImageUploadedByModMyi1365415036.321042.jpg


    👌👌👌👍👍👍
    Last edited by roman3001; 2013-04-08 at 11:57 AM.
    2013-04-08 11:55 AM
  7. xlinkx's Avatar
    My widgets don't work anymore. Someone help please. Already tried replacing location.js with drifter's version but that doesn't work either. The Drifter, please help or anyone???

    var prevlatitude = "";
    var prevlongitude = "";
    var textLat;
    var textLong;
    var refreshWeatherTimer;
    var refrechLocationTimer;
    var get_location = false;
    var tempUnit = "f";

    function trimString (text) {
    return text.replace(/^\s+/g,'').replace(/\s+$/g,'');
    }

    function UpdateLocation() {
    refrechLocationTimer = setTimeout("UpdateLocation();", 1000*20); // Refresh location every 20 secondes
    var txt_request = new XMLHttpRequest();
    txt_request.overrideMimeType("text/xml");
    var LocationTimer = setTimeout(function() {
    txt_request.abort();
    dealWithWeather({error:true});
    }, 10000);
    txt_request.onload = function(e) {
    clearTimeout(LocationTimer);
    getCoordinates(txt_request.responseText);
    }
    txt_request.open("GET", "file:///private/var/mobile/Documents/myLocation.txt", false);
    txt_request.setRequestHeader("Cache-Control", "no-cache");
    txt_request.send(null);
    }

    function getCoordinates(request) {
    if (request == "") {
    clearTimeout(refrechLocationTimer);
    validateWeatherLocation(escape(locale).replace(/^%u/g, "%"), setPostal);
    }
    else
    {
    var substr = request.split('\n');
    var templatitude=(substr[0]).split('=');
    var templongitude=(substr[1]).split('=');
    latitude = trimString(templatitude[1]);
    longitude = trimString(templongitude[1]);

    if (prevlatitude != latitude || prevlongitude != longitude) {
    prevlatitude = latitude;
    prevlongitude = longitude;
    getWoeid ();
    }
    }
    }

    function getWoeid() {
    var url = "http://where.yahooapis.com/geocode?location=" + latitude + "+" + longitude + "&gflags=R";
    var xml_request = new XMLHttpRequest();
    var WoeidTimer = setTimeout(function() {
    xml_request.abort();
    if (get_location == false) { dealWithWeather({error:true, errorString:null}); }
    }, 10000);
    xml_request.onload = function(e) {
    clearTimeout(WoeidTimer);
    woeid_loaded(xml_request);
    }
    xml_request.overrideMimeType("text/xml");
    xml_request.open("GET", url+"&antiCache="+Math.floor(Math.random()*1001), false);
    xml_request.setRequestHeader("Cache-Control", "no-cache");
    xml_request.send(null);
    }

    function woeid_loaded(request) {
    if (get_location == true) { clearTimeout(refreshWeatherTimer); }
    var effectiveRoot = findChild(request.responseXML, "ResultSet");
    postal = parseInt(findChild(effectiveRoot, "Result").getElementsByTagName("woeid")[0].childNodes[0].nodeValue);

    if (latitude < 0) { textLat = Math.round(latitude*100)/100 + "\u00B0" + "S"; }
    else if (latitude > 0){ textLat = Math.round(latitude*100)/100 + "\u00B0" + "N"; }
    else { textLat = Math.round(latitude*100)/100 + "\u00B0"; }

    if (longitude < 0) { textLong = Math.round(longitude*100)/100 + "\u00B0" + "W"; }
    else if (longitude > 0) { textLong = Math.round(longitude*100)/100 + "\u00B0" + "E"; }
    else { textLong = Math.round(longitude*100)/100 + "\u00B0"; }

    get_location = true;
    fetchWeatherDataGPS(postal);
    }

    function refreshWeather() {
    fetchWeatherData(dealWithWeather, localeForecast);
    var refreshWeatherTimer = setTimeout("refreshWeather()", updateInterval*60*1000); // Refresh weather as specified in clock.html
    }

    function fetchWeatherDataGPS (zip) {
    var url="http://weather.yahooapis.com/forecastrss?w="+zip+"&u="+tempUnit;
    var xml_request = new XMLHttpRequest();
    var requestTimer = setTimeout(function() {
    xml_request.abort();
    if (xmldata == false) { dealWithWeather ({error:true}); }
    }, 10000);
    xml_request.onload = function(e) {
    clearTimeout(requestTimer);
    xml_GPS_loaded(xml_request);
    }
    xml_request.overrideMimeType("text/xml");
    xml_request.open("GET", url+"&antiCache="+Math.floor(Math.random()*1001));
    xml_request.setRequestHeader("Cache-Control", "no-cache");
    xml_request.send(null);
    return xml_request;
    }

    function xml_GPS_loaded (request) {
    if (request.responseXML)
    {
    var obj = {error:false, errorString:null};
    xmldata = true;
    var guidTag = findChild(findChild(findChild(request.responseXML, "rss"), "channel"), "item");
    localeForecast = guidTag.getElementsByTagName("guid")[0].childNodes[0].nodeValue.split('_')[0];
    refreshWeather();
    }
    else
    {
    dealWithWeather ({error:true, errorString:"XML request failed. no responseXML"});
    }
    }
    2013-04-08 12:36 PM
  8. King_O_Hill's Avatar
    Thanks King. I wound up fixing it without having to do Longhorns idea. After a mind boggling 3hrs, i decided to just clear my caches via iWipe Cache & it worked . Weird!

    Now the only issue I'm having after resetting all in my phone, is some iwidgets work with gps true & some do not. I've replaced Dacals location.js file but still no luck.

    The ones I'm having an issue with, & these are just a couple of my favorite, is 5 day Forecast (old iwidget) & 3 day forecast (fairly "new") both by Schnedi.

    Schnedi or anyone, no tiene unas ideas en como podria areglar esto? Any ideas on how to fix this?

    King, if i had already did exactly what's on your instructions a while back, would i need to do these steps all over again? Earlier when i "reset all settings" I did not re-install MyLication app.

    Actually, I updated MyLocation app when MamaJaay made an update about 1mth ago.


    Gracias!
    Just FYI, the myLocation app hasn't been updated since Bushe did it when version 5.1.1 was released quite some time ago.

    Are you using the location.js file from the UniAW 6.0 thread that was posted by Drifter on page 20? I assume that's the one you've been using, as the unmodded one from Dacal would require additional code editing.

    With that said, those older ones probably just will need more editing, as they are probably using the XML response file, compared to all the newer ones that use the JSON response file.

    Check out WW3 for iOS 9/10 - Widget-Weather 3.0
    2013-04-08 12:50 PM
  9. ssemmel's Avatar
    U can also navigate to /var/mobile/Library/Preferences/ and find the iwidget.plist and delete it. That has your activated widget details for the tweak.
    I thought I would try this as I didn't know how to rename files in ifile but I am not sure what lines to delete. Can you let me know which ones?
    [Tweak] iWidgets-photo-11-.png
    2013-04-08 01:49 PM
  10. mister jay's Avatar
    any idea?
    Yes, set the opacity to 0.0
    I looked into the main.css and there is at the sun/moon container the opacity to 0.0 at all, and display: none; is activated too. But sun and moon /sunray/moonray are displayed.


    Code:
    	/* SUN & MOON (alphabetical order)
    =================================================== */
    
    
    #moon{
    	background:url('../../Images/Weather/moon/moon.png') center no-repeat;
    	background-size: 600px 600px;
    	background-color: transparent;
        position: absolute;
        top: -290px;
    	left: -300px;
        width: 600px;
        height: 600px;
    	margin : auto 0;
        z-index: 22;
    	opacity: 0.0;
    	display: none;
    	-webkit-animation: sun_moon_fadein 7s;
    	-webkit-animation-fill-mode: forwards;
    	}
    	
    #moonray{
    	background:url('../../Images/Weather/moon/moonray.png') center no-repeat;
    	background-size: 600px 600px;
    	background-color: transparent;
        position: absolute;
        top: -290px;
    	left: -300px;
        width: 600px;
        height: 600px;
    	margin : auto 0;
        z-index: 21;
    	opacity: 0.0;
    	display: none;
    	-webkit-animation: sunray_moonray_shine 7s linear infinite normal;
    	-webkit-animation-delay:5s;		
    	}
    	
    #sun{
    	background:url('../../Images/Weather/sun/sun.png') center no-repeat;
    	background-size: 600px 600px;
    	background-color: transparent;
        position: absolute;
        top: -290px;
    	left: -300px;
        width: 600px;
        height: 600px;
    	margin : auto 0;
        z-index: 22;
    	opacity: 0.0;
    	display: none;
    	-webkit-animation: sun_moon_fadein 7s;
    	-webkit-animation-fill-mode: forwards;
    	}
    	
    #sunray{
    	background:url('../../Images/Weather/sun/sunray.png') center no-repeat;
    	background-size: 600px 600px;
    	background-color: transparent;
        position: absolute;
        top: -290px;
    	left: -300px;
        width: 600px;
        height: 600px;
    	margin : auto 0;
        z-index: 21;
    	opacity: 0.0;
    	display: none;
    	-webkit-animation: sunray_moonray_shine 7s linear infinite normal;
    	-webkit-animation-delay:5s;	
    	}
    2013-04-08 02:12 PM
  11. Schnedi's Avatar
    any idea?
    post the info from the html. i'll give the lines to hide it.
    2013-04-08 02:18 PM
  12. Marty McFly's Avatar
    I would like to give Dacal a Great Big Thank You for helping everybody resolve the Yahoo Geo Location Issue

    In honor of Dacal, I have made a iWidget out of his Basalt LS as my way of personally Thanking him

    This is a mini version of his Basalt LS with plenty of iWidget Options, Touch Forecast and all his Awesome Animations.
    I have modded his Original Code to my personal coding style to make it easier for all you modders to play with.

    So here is what I came up with, I hope you like it, I tried to keep it in the Spirit of the Original LS


    Default iWidget Load:



    Touch to Hide Forecast:



    Plenty of Options:




    Download here: Drifter Basalt iWidget Tribute V1.1.zip

    Thank you again Very Much Dacal, your the Tops in my book
    Hey Drifter - LOVE this iwidget! Thanks so much for creating it. One quick question: Although the regular time displays correctly, my sunset and sunrise times are both behind by one hour. Something easy to fix? Thanks again.
    2013-04-08 02:19 PM
  13. King_O_Hill's Avatar
    any idea?
    You need to edit the opacity for the WebKit animations for these items. Change them all to 0

    From:

    @-webkit-keyframes sun_moon_fadein { /* Fade in animation for sun/moon */
    0% {opacity : 0;}
    50% {opacity : 0;}
    100% {opacity : 1.0;}}

    To:

    @-webkit-keyframes sun_moon_fadein { /* Fade in animation for sun/moon */
    0% {opacity : 0;}
    50% {opacity : 0;}
    100% {opacity : 0;}}

    Do this for each animation that is used by the corresponding item.
    Last edited by King_O_Hill; 2013-04-08 at 02:35 PM.

    Check out WW3 for iOS 9/10 - Widget-Weather 3.0
    2013-04-08 02:32 PM
  14. Schnedi's Avatar
    You need to edit the opacity for the WebKit animations for these items. Change them all to 0

    Do this for each animation that is used by the corresponding item.

    but giving opacity won't reduce the ram consumption

    it's better to set the "display:none" in the html.


    anyway, if that's enough for him, cool!!
    2013-04-08 02:44 PM
  15. King_O_Hill's Avatar
    but giving opacity won't reduce the ram consumption

    it's better to set the "display:none" in the html.


    anyway, if that's enough for him, cool!!
    iOS guidelines dictate not to use display: none; anymore as it has its own problems. So one is really just a trade off for the other. But I agree about the ram. So I guess the best thing to do is to just comment out the div call in the html if you really want to kill it.

    From:

    <img id="weatherWall" src="Images/day_night/blank.png" alt="weather wallpaper image"/>
    <div id="day_nightContainer">
    <div id="moon"></div>
    <div id="moonray"></div>
    <div id="sun"></div>
    <div id="sunray"></div>
    </div>

    To:

    <img id="weatherWall" src="Images/day_night/blank.png" alt="weather wallpaper image"/>
    <!-- <div id="day_nightContainer">
    <div id="moon"></div>
    <div id="moonray"></div>
    <div id="sun"></div>
    <div id="sunray"></div>
    </div> -->
    Last edited by King_O_Hill; 2013-04-08 at 02:57 PM.

    Check out WW3 for iOS 9/10 - Widget-Weather 3.0
    2013-04-08 02:55 PM
  16. Krima's Avatar
    I thought I would try this as I didn't know how to rename files in ifile but I am not sure what lines to delete. Can you let me know which ones?
    [Tweak] iWidgets-photo-11-.png
    Delete the entire file. A new one will generate when u activate a iwidget. This is what I do if a widget disappears and I worry about it still running without me seeing it.
    2013-04-08 03:00 PM
  17. Fr3shJ1v3's Avatar
    Tried searching the forums but nothing came up.

    What is this about that shows up on my widgets?

    object HTMLDivELement
    2013-04-08 03:32 PM
  18. MamaJaay's Avatar
    Looks like a div or img or obj call isn't closed or opened properly
    2013-04-08 03:34 PM
  19. Fr3shJ1v3's Avatar
    ImageUploadedByModMyi1365429378.219010.jpg

    Hmm what image is suppose to be there? Here is a picture
    2013-04-08 03:56 PM
  20. MamaJaay's Avatar
    2013-04-08 04:14 PM
LINK TO POST COPIED TO CLIPBOARD