+ Reply
Page 199 of 344 FirstFirst ... 99 149 189197198199200201 209 249 299 ... LastLast
Results 3,961 to 3,980 of 6873

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


Thread: [Tweak] iWidgets

is a discussion within the

iPhone 4|4S New Skins / Themes Launches

forums, a part of the

New Skins / Themes Launches

section;
Originally Posted by ssemmel 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
...
  1. #3961
    Full Moon Krima's Avatar
    Join Date
    Jul 2011
    Location
    Nashville, Tn
    Posts
    2,924
    Thanks
    3,600
    Thanked 7,179 Times in 2,277 Posts

    Quote Originally Posted by ssemmel View Post
    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; 04-07-2013 at 08:28 PM.

  2. The Following 5 Users Say Thank You to Krima For This Useful Post:

    Cloud2Ground (04-07-2013), GAIAStevef (04-07-2013), King_O_Hill (04-08-2013), ssemmel (04-08-2013), The.Drifter (04-08-2013)

  3. #3962
    iPhone? More like MyPhone
    Join Date
    Feb 2009
    Location
    Dallas
    Posts
    270
    Thanks
    203
    Thanked 84 Times in 60 Posts

    Quote Originally Posted by King_O_Hill View Post
    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!

  4. The Following User Says Thank You to Jersey Girl For This Useful Post:

    King_O_Hill (04-08-2013)

  5. #3963
    The BatGirl MamaJaay's Avatar
    Join Date
    Mar 2012
    Location
    @TheMamaJaay
    Posts
    5,113
    Thanks
    4,013
    Thanked 16,459 Times in 3,951 Posts

    Quote Originally Posted by Jersey Girl View Post
    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.

  6. The Following 2 Users Say Thank You to MamaJaay For This Useful Post:

    Jersey Girl (04-08-2013), King_O_Hill (04-08-2013)

  7. #3964
    Livin the iPhone Life roman3001's Avatar
    Join Date
    Sep 2009
    Location
    Germany
    Posts
    1,503
    Thanks
    294
    Thanked 706 Times in 426 Posts

    @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

  8. The Following User Says Thank You to roman3001 For This Useful Post:

    It's Mi (02-06-2014)

  9. #3965
    Man of iWidgets The.Drifter's Avatar
    Join Date
    Aug 2012
    Posts
    999
    Thanks
    5,106
    Thanked 6,983 Times in 932 Posts

    Quote Originally Posted by roman3001 View Post
    @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.

  10. The Following 5 Users Say Thank You to The.Drifter For This Useful Post:

    chevymusclecar (04-08-2013), Dexy88 (04-11-2013), It's Mi (02-06-2014), King_O_Hill (04-08-2013), The_Durben (04-08-2013)

  11. #3966
    Livin the iPhone Life roman3001's Avatar
    Join Date
    Sep 2009
    Location
    Germany
    Posts
    1,503
    Thanks
    294
    Thanked 706 Times in 426 Posts

    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; 04-08-2013 at 03:57 AM.

  12. The Following 3 Users Say Thank You to roman3001 For This Useful Post:

    chevymusclecar (04-08-2013), It's Mi (02-06-2014), The.Drifter (04-08-2013)

  13. #3967
    What's Jailbreak?
    Join Date
    Apr 2013
    Posts
    3
    Thanks
    0
    Thanked 1 Time in 1 Post
    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"});
    }
    }

  14. #3968
    King Kong ain't got nothing on me! King_O_Hill's Avatar
    Join Date
    Apr 2011
    Location
    USA
    Posts
    8,815
    Thanks
    38,971
    Thanked 16,318 Times in 5,974 Posts

    Quote Originally Posted by Jersey Girl View Post
    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.
    Widget-Weather App Now Available! Also with MyLocation Support!
    Check out the thread here - Widget-Weather
    To install the Widget-Weather app, just go to Cydia and install. This will also remove MyLocation, as it is built in!
    Want to protect your JailBreak! Add this repo http://cydia.myrepospace.com/iLEXiNFO/ & Install "iLEX R.A.T."
    It will allow you to bring your phone back to a fresh jailbroken state!

  15. The Following 3 Users Say Thank You to King_O_Hill For This Useful Post:

    chevymusclecar (04-08-2013), Jersey Girl (04-08-2013), Marty McFly (04-08-2013)

  16. #3969
    My iPhone is a Part of Me ssemmel's Avatar
    Join Date
    Mar 2011
    Location
    FL
    Posts
    643
    Thanks
    112
    Thanked 159 Times in 113 Posts

    Quote Originally Posted by Krima View Post
    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

  17. #3970
    iPhone? More like MyPhone mister jay's Avatar
    Join Date
    Nov 2010
    Location
    Germany (S-H)
    Posts
    122
    Thanks
    41
    Thanked 9 Times in 7 Posts

    any idea?
    Quote Originally Posted by King_O_Hill View Post
    Yes, set the opacity to 0.0
    Quote Originally Posted by mister jay View Post
    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;	
    	}

  18. #3971
    desconocido
    Join Date
    Sep 2008
    Posts
    2,780
    Thanks
    2,843
    Thanked 24,165 Times in 2,365 Posts

    Quote Originally Posted by mister jay View Post
    any idea?
    post the info from the html. i'll give the lines to hide it.

  19. The Following User Says Thank You to Schnedi For This Useful Post:

    chevymusclecar (04-08-2013)

  20. #3972
    The Formulator Marty McFly's Avatar
    Join Date
    Mar 2013
    Location
    Barrie
    Posts
    1,310
    Thanks
    4,045
    Thanked 4,565 Times in 1,020 Posts

    Quote Originally Posted by The.Drifter View Post
    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.

  21. #3973
    King Kong ain't got nothing on me! King_O_Hill's Avatar
    Join Date
    Apr 2011
    Location
    USA
    Posts
    8,815
    Thanks
    38,971
    Thanked 16,318 Times in 5,974 Posts

    Quote Originally Posted by mister jay View Post
    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; 04-08-2013 at 06:35 AM.
    Widget-Weather App Now Available! Also with MyLocation Support!
    Check out the thread here - Widget-Weather
    To install the Widget-Weather app, just go to Cydia and install. This will also remove MyLocation, as it is built in!
    Want to protect your JailBreak! Add this repo http://cydia.myrepospace.com/iLEXiNFO/ & Install "iLEX R.A.T."
    It will allow you to bring your phone back to a fresh jailbroken state!

  22. The Following 3 Users Say Thank You to King_O_Hill For This Useful Post:

    chevymusclecar (04-08-2013), mister jay (04-08-2013), Schnedi (04-08-2013)

  23. #3974
    desconocido
    Join Date
    Sep 2008
    Posts
    2,780
    Thanks
    2,843
    Thanked 24,165 Times in 2,365 Posts

    Quote Originally Posted by King_O_Hill View Post
    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!!

  24. The Following 2 Users Say Thank You to Schnedi For This Useful Post:

    chevymusclecar (04-08-2013), King_O_Hill (04-08-2013)

  25. #3975
    King Kong ain't got nothing on me! King_O_Hill's Avatar
    Join Date
    Apr 2011
    Location
    USA
    Posts
    8,815
    Thanks
    38,971
    Thanked 16,318 Times in 5,974 Posts

    Quote Originally Posted by schnedi View Post
    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; 04-08-2013 at 06:57 AM.
    Widget-Weather App Now Available! Also with MyLocation Support!
    Check out the thread here - Widget-Weather
    To install the Widget-Weather app, just go to Cydia and install. This will also remove MyLocation, as it is built in!
    Want to protect your JailBreak! Add this repo http://cydia.myrepospace.com/iLEXiNFO/ & Install "iLEX R.A.T."
    It will allow you to bring your phone back to a fresh jailbroken state!

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

    chevymusclecar (04-08-2013), mister jay (04-08-2013)

  27. #3976
    Full Moon Krima's Avatar
    Join Date
    Jul 2011
    Location
    Nashville, Tn
    Posts
    2,924
    Thanks
    3,600
    Thanked 7,179 Times in 2,277 Posts

    Quote Originally Posted by ssemmel View Post
    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?
    Attachment 631124
    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.

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

    ssemmel (04-08-2013)

  29. #3977
    My iPhone is a Part of Me Fr3shJ1v3's Avatar
    Join Date
    May 2011
    Location
    Minnesnowta
    Posts
    874
    Thanks
    877
    Thanked 953 Times in 528 Posts

    Tried searching the forums but nothing came up.

    What is this about that shows up on my widgets?

    object HTMLDivELement

  30. #3978
    The BatGirl MamaJaay's Avatar
    Join Date
    Mar 2012
    Location
    @TheMamaJaay
    Posts
    5,113
    Thanks
    4,013
    Thanked 16,459 Times in 3,951 Posts

    Looks like a div or img or obj call isn't closed or opened properly

  31. #3979
    My iPhone is a Part of Me Fr3shJ1v3's Avatar
    Join Date
    May 2011
    Location
    Minnesnowta
    Posts
    874
    Thanks
    877
    Thanked 953 Times in 528 Posts

    ImageUploadedByModMyi1365429378.219010.jpg

    Hmm what image is suppose to be there? Here is a picture

  32. #3980
    The BatGirl MamaJaay's Avatar
    Join Date
    Mar 2012
    Location
    @TheMamaJaay
    Posts
    5,113
    Thanks
    4,013
    Thanked 16,459 Times in 3,951 Posts

    It's city. See below Attachment 631148

  33. The Following User Says Thank You to MamaJaay For This Useful Post:

    Fr3shJ1v3 (04-08-2013)


Posting Permissions
  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts