Page 104 of 111 FirstFirst ... 45494102103104105106 ... LastLast
Results 2,061 to 2,080 of 2220

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


Thread: Aqwoah

  1. #2061
    Armadillo, for my question, you must replace this paragraph at the end of push.js by this one:

    pushClear function (itemID) (
    pushIgnoreIDs.push (parseInt (itemID));

    document.getElementById ( "Push_" + itemID). style.display = "none";
    var pushCount = parseInt (document.getElementById ( "PushCount"). innerHTML);
    if (pushCount> 1) (
    pushCount = pushCount - 1;
    Else ()
    pushCount = 0;
    pushDIV.style.display = "none";
    revertCollapsed (pushDIV.id, "Push_");
    )
    document.getElementById ( "PushCount"). innerHTML = "" + pushCount;
    )

  2. #2062
    @armadillo

    A small bug report. The display shows push notifications -2, where the RSS feeds have been read by RSS application. When you delete the notifications directly from lockscreen, item disappears
    Attached Thumbnails Attached Thumbnails -img_0015.png  

  3. #2063
    As I said, you should re-download the theme and the bug will be fixed. I made a silent update. I also explained the changes I made so you don't have to replace all files.

    Now to fix the remaining minor bugs:

    1. To fix the default expansion of the world map in case you set animations to true (animations suck in html) open init.js and find the following section:

    Code:
    	daynightDIV.innerHTML = tzHTML;
    
    					container.appendChild(daynightDIV);
    					clockDIV.appendChild(container);
    					lockinfoDIV.appendChild(clockDIV);
    					updateClock();
    					toggleDayNight(true);
    					wtShowWorldTimes = !wtShowWorldTimes;
    					wtToggleCityTime();
    				break;
    and delete the line "toggleDayNight(true);"

    2. To get rid of the persistent header for Notifications even when deleting the last item and hide empty sections is enabled, open push.js and find the following code:

    Code:
    function pushDataDisplay() {
    	if(!pushDIV){
    		return false;
    	}
    
    	var html = "";
    	var ids = {};
    
    	var pushCount = pushDataCount();	// number of messages (not cleared)
    
    	clearRelativeTimers(pushDIV);
    	if(pushDIV && pushData.length) { // && Notifications.preferences.Enabled) {
    
    and replace the last line by this code:

    Code:
     if(pushDIV && pushCount > 0) { // && Notifications.preferences.Enabled) {
    If you don't want to make those changes, you can alternatively just reinstall the theme. It has been silently updated without change in version.
    Come visit AlohaSoft

  4. #2064
    Many thank's

  5. #2065
    Thanks armadillo, works fine!!!

  6. #2066
    Quote Originally Posted by armadillo View Post
    As I said, you should re-download the theme and the bug will be fixed. I made a silent update. I also explained the changes I made so you don't have to replace all files.

    Now to fix the remaining minor bugs:

    1. To fix the default expansion of the world map in case you set animations to true (animations suck in html) open init.js and find the following section:

    Code:
        daynightDIV.innerHTML = tzHTML;
    
                        container.appendChild(daynightDIV);
                        clockDIV.appendChild(container);
                        lockinfoDIV.appendChild(clockDIV);
                        updateClock();
                        toggleDayNight(true);
                        wtShowWorldTimes = !wtShowWorldTimes;
                        wtToggleCityTime();
                    break;
    and delete the line "toggleDayNight(true);"

    2. To get rid of the persistent header for Notifications even when deleting the last item and hide empty sections is enabled, open push.js and find the following code:

    Code:
    function pushDataDisplay() {
        if(!pushDIV){
            return false;
        }
    
        var html = "";
        var ids = {};
    
        var pushCount = pushDataCount();    // number of messages (not cleared)
    
        clearRelativeTimers(pushDIV);
        if(pushDIV && pushData.length) { // && Notifications.preferences.Enabled) {
    
    and replace the last line by this code:

    Code:
     if(pushDIV && pushCount > 0) { // && Notifications.preferences.Enabled) {
    If you don't want to make those changes, you can alternatively just reinstall the theme. It has been silently updated without change in version.
    Aramdillo, on my push.js, i found not your line

    Here my push.js :

    Code:
    callbacks['com.ashman.lockinfo.PushNotificationPlugin'] = updatePush;
    
    var pushDIV;
    var pushIgnoreIDs = new Array();
    var pushLastQty = 0;
    
    if (!string_push) {
        var string_push = "Notifications";
    }
    
    window.addEventListener('load', initPush, false);
    
    function initPush() {
        setTimeout( function(){
            var lockinfoDIV = document.getElementById("lockinfo");
            var position = sections.indexOf("Notifications");
            var prevElem;
            var nextElem;
    
            if(position == -1) {
                return; // Dont display this section since it is not on the list
            }
            
            prevElem = document.getElementById(sections[position - 1]);
            if(!prevElem) {
                nextElem = null;
            } else {
                nextElem = prevElem.nextSibling;
            }    
        
            pushDIV = document.createElement("DIV");
            pushDIV.limit = pushDIV.defaultLimit = pushLimit;
            pushDIV.id = "Notifications";
            pushDIV.className = "empty container";
            pushDIV.style.display = hideEmptySections ? "none" : "block";
            pushDIV.update = updatePush;
            pushDIV.innerHTML = "<div class='header expanded' ontouchstart='catchSwipe(event, toggleSection, [this.parentNode]);'><div id='Notification_Arrow' class='arrow'></div><img src='images/pushh.gif'/> "+string_push+" (<span id='PushCount'>0</span>)</div><div class='container'><div class='container'></div></div>";
            lockinfoDIV.insertBefore(pushDIV, nextElem);
    
        },150);
    }
    
    function updatePush(PushInfo){
        if(!pushDIV){
            return false;
        }
        
        if(!PushInfo){
            if(pushDIV.previous){
                PushInfo = pushDIV.previous;
            } else {
                return false;
            }
        }
    
        var notifications = PushInfo.notifications;
    
         if (notifications[0].text == undefined) { notifications = notifications[0]; }
        var html = "";
        var ids = {};
    
        clearRelativeTimers(pushDIV);    
        if(pushDIV && notifications.length) {        // && Push.preferences.Enabled){
            pushDIV.previous = PushInfo;
            if(globalHide >= 0){
                pushDIV.style.display = "block";
            }
            
            var relativeTimes = [];
    
            if (pushLastQty != notifications.length) {        // more elements than it had before
                for (i=0; i < pushIgnoreIDs.length; i++) {    // need to adjust indexes
                    pushIgnoreIDs[i] = pushIgnoreIDs[i] + notifications.length - pushLastQty;
                }
                pushLastQty = notifications.length;
            }
    
            
            for(i = 0; i < notifications.length && i < pushDIV.limit; i++){
              if ( pushIgnoreIDs.indexOf(i) > -1 ) {    // check if item needs to be ignored
                // Do nothing
              } else {
    
                var date = new Date(notifications[i].date*1000);
                var PushID = "Push_" + i;
                ids[PushID] = true;
    
                if(collapseAllButFirst_push){
                    subsectionCollapsed(PushID, "Notifications", !i);
                }
    
                if(i > 0){
                    html += "</div>";
                }
                
                var PushText = notifications[i].text;
                var PushApp  = notifications[i].application;
    
                html += "<div id='"+PushID+"' class='Push_" + PushApp + "' ontouchstart='event.stopPropagation();catchSwipe(event, toggleSection, [this]);' class='container'><div class='sub1 header expanded'><div class='arrow'></div><div class='push_clear' ontouchstart='event.stopPropagation();' onclick='pushClear(""+i+"");'></div>";
                html += "<span><img src='Icon Sets/none.png'>" + PushApp + "</span>";
                html += "<span class='sub2'> &ndash; "+date.format(date.isSameDay() ? format_time : format_date_time_short);
    
                if(displayRelativeTimes){
                    html += " (<span id='Push_"+i+"'></span>)";
                    relativeTimes.push(["Push_"+i, date]);
                }
                html += "</div><div class='container'>";
                html += "<div class='sub sub1'>" + PushText;
                html += "</div></div>";
              }
            }
    
            pushDIV.lastChild.innerHTML = html + "</div>";
    
    //        if(displayLoadMore && notifications.length > pushDIV.limit){
    //            addLoadMoreBar(pushDIV);
    //        }
    
            for(i = 0; i < relativeTimes.length; i++){
                relativeTime(pushDIV, relativeTimes[i][0], relativeTimes[i][1], false, false, string_justNow.upperFirst());
            }
            
            if(collapsed[pushDIV.id]){
                collapsed[pushDIV.id] = false;
                toggleSection([pushDIV, true]);
            }
            
            for(var id in collapsed){
                if(id.indexOf("Push_") == 0 && collapsed[id] && ids[id]){
                    collapsed[id] = false;
                    toggleSection([id, true]);
                }
            }
    
            document.getElementById("PushCount").innerHTML = notifications.length - pushIgnoreIDs.length;
            removeClass(pushDIV, "empty");
        } else {
            addClass(pushDIV, "empty");
            if(hideEmptySections){
                pushDIV.style.display = "none";
                revertCollapsed(pushDIV.id, "Push_");
            }else{
                pushDIV.lastChild.innerHTML = "";
                document.getElementById("PushCount").innerHTML = "0";
            }
        }
    
        var pushCount = parseInt(document.getElementById("PushCount").innerHTML);
        if (pushCount > 0) {
            document.getElementById("Notification_Arrow").className = "arrow";
        } else {
            document.getElementById("Notification_Arrow").className = "";
        }
        return true;
    }
    
    function pushClear(itemID) {
       pushIgnoreIDs.push (parseInt(itemID));
    
       document.getElementById("Push_"+itemID).style.display = "none";
       var pushCount = parseInt(document.getElementById("PushCount").innerHTML);
       if (pushCount > 1) {
          pushCount = pushCount - 1;
       } else {
          pushCount = 0;
          pushDIV.style.display = "none";
          revertCollapsed(pushDIV.id, "Push_");
       }
       document.getElementById("PushCount").innerHTML = "" + pushCount;
    }

  7. #2067
    Ramses: That's not my push.js at all. I have no idea what you are doing. Are you mixing js files from other themes? This will not work.
    Come visit AlohaSoft

  8. #2068
    Sorry armadillo, I put your file, makes changes and everything is correct income

  9. #2069
    I need some help for Aqwoah LockInfo. I am working on a Facebook plugin, but I am not an avid FB user. So I am looking for users who use Aqwoah LockInfo IV and either the Facebook app or Boxcar. If you have those and use the notification features of those apps, please send me an email. It's not a lot of work. I just need the exact notification text these apps produce.
    Come visit AlohaSoft

  10. #2070
    Hello,
    I have Facebook.app application, but like you I am not a fervent user o)
    But I do not understand what you want, otherwise if I can t help in any way whatsoever, tell me.
    What you call "exact notification text these apps produce" ?
    Last edited by phoenix92500; 2010-02-05 at 08:39 AM.

  11. #2071
    I have received help from several people and I now have a working facebook plugin. It uses the push notification feature of either Facebook.app or Boxcar.app to populate a Facebook section with all sorts of messages and comments you receive. I need a few more test rounds and tweaks before releasing it.
    Come visit AlohaSoft

  12. #2072
    what is the name of this theme in cydia? i dont see aqwoah... will it work on wonterboard?

    thanks

  13. #2073
    I am eager to see it ;o)

  14. #2074
    @armadillo

    He must miss a picture, but I do not know which one?
    Attached Thumbnails Attached Thumbnails -img_0022.png  

  15. #2075
    It's not missing a picture. Accuweather has missing moonphase data in the XML feed for a number of cities. This will likely rectify itself tomorrow. I checked the XML feeds for several cities that users have emailed me about and in all cases the XML had a missing moonphase value for today (but the next dates were fine).
    Come visit AlohaSoft

  16. #2076
    Thank you for your reply

  17. #2077
    hey can anyone tell me why i cant find aqwoah??? i want that theme.. how do i get it??

  18. #2078
    Because you have to go here : http://web.mac.com/reinholdpenner/alohasoft and make a donation . . . And frankly it's worth it!

    Armadillo, if you need testers for your facebook plugin, no problem ;o)
    Last edited by phoenix92500; 2010-02-06 at 07:00 PM. Reason: Automerged Doublepost

  19. #2079
    I totally agree with you phoenix92500. This is a great theme and he provides excellent support for it. It is well worth a small donation.

  20. #2080
    can i make a donation by sending it snail mail?? i dont want to set up a paypal account all for a few bux.. but i want that theme,,,

Page 104 of 111 FirstFirst ... 45494102103104105106 ... 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
  •