05
Jan
Written by: ame235

img_0110 Update for the theme i made for LockInfo, based on Teehanlax.com Design is here.

it will be available on BigBoss repo as soon as they make it available…
but as i know some can’t wait and i promessed this would have been available on wednesday, here it is:
235_teehanlax_Lockinfo.theme.zip
Danish version is included.
Little change: as the weather part is the most important of the theme, i decided to split it’s basic config to the file config_weather.js (which will hopefully mak it easier to newbies)

If you search for package on cydia, it’s the version 0.92, there are two of them on cydia (0.8 & 0.92) because of a package name problem.
Waiting for a resolution of the problem.


As always, i’m open to all the improvements/bug resolving/beta testing issues that can be givven to me
If you need any help, tell me (without any promise) XD

As I already said, all credits go to the respective owners. I DID mod a lots of things, but Teenhanlax.com did the design,
Gruppled (removed @mail to spare his mailbox) made most of the Lockinfo theme.

Click on the banners to support my work ;)


    stored in: Graphics, iPhone
    tagged: , , , , ,






84 Responses to “Oky! update for lockinfo theme.”

  1. UxDesigner Says:

    New to jailbrake, can i install this outside cydia, or do i have to wait

  2. ame235 Says:

    if you already jailbroke the phone, then yes you can install this, you dl, decompress, and then put the file in /Library/Themes/ (the directory of the winterboard themes)

    how do you put it there? well you’ll need to google it.
    btw use ssh or a ftp(sftp) transfer program.
    pff. too easy here it is: http://www.youtube.com/watch?v=KbnIdCbbQMk

  3. f. Says:

    Excellent travail !!

    Merci ;-)

  4. ame235 Says:

    no soucy man… quand je peux le faire, je le fais ;)
    Salue moi la Suisse, j’en reviens.

  5. Mosec Says:

    Hi, thanks for your great theme!
    Question: Is there a way I can get special characters like č,ć,đ to show properly? It’s for Croatian. When I edit en.js these characters show as jibberish. Thanks

  6. ame235 Says:

    hum.. maybe you have to use the correspoding ascii codes (“&xxxx;”)
    look here http://www.ascii.cl/htmlcodes.htm
    hope this will help.

  7. Mosec Says:

    Thanks for your reply, I checked the link but couldn’t understand a word of it! Newb:-( It’s not a big deal but would look nicer with Š instead of S. Anyway if I use a native theme characters show up correctly. If you have any other ideas I would appreciate it.
    And one more question : Should I be experiencing faster battery drain with this theme?
    Thanks again for a great theme.

  8. ame235 Says:

    i don’t think the battery drain would b faster than using lockinfo on his own: just don’t put a weather refresh rate too low for the weather..
    & each time you want a Š just put a Š
    should do the trick.

  9. Joost Says:

    Perfect – Mercy AME235….

  10. Mosec Says:

    Ok, I copied the symbol you posted but it still doesn’t show correctly!
    Sorry to bother you, if you have other things to do I’ll understand. Thanks

  11. Mosec Says:

    Oh, right now I put &#352 and i worked thanks. I just need to find code for Č, č, Ž, ž and Ć,ć :-)

  12. ame235 Says:

    You have all the specific codes on the page I recomended before ;)

  13. Gideon Says:

    Looks very very good!

    However, I have some issues (one minor, one major):

    1) The clock shows the time in 12h-format, i.e. not 15:34, but 3:34. How to change that?

    2) When I apply the theme, it doesn’t show other items than the Calendar anymore. So Mail, Missed calls, Voicemail and sms are not visible… this goes for both the title bars and the items themselves.

    Hope you can help.

  14. ame235 Says:

    again, by default everything is hiddden until an evet occurs, (missed call, missed sms..)
    to change that look/edit config.js (verything is explained.)
    for the 12hour format dunno what to say. i posted the same i have on my phone and mine is in 24h. so..might be a setting in your phone.

  15. Gideon Says:

    Mmm.. sounds fair. Thanks for your quck reply, really appreciate it.

    Finally, also a solution for seeing the weather in Luxembourg (istead of Amsterdam, Netherlands, where I live)? ;-)

  16. ame235 Says:

    edit config_weather.js

  17. geo411m Says:

    Is it possible to add push notification info? Thats all it would need to be perfect.

  18. Aftermath Says:

    Awesome! One question…my Events time and the Event title are not aligned properly. How do I fix this?

  19. ame235 Says:

    added the twitter info today, will be in next update.
    searched for push notification information…could do that if i had some output of the plugin..
    also tell me if you get weather plugin output.. that would be a lot of time saving in explaining how to configure weather!!
    if you find infos tell me.

  20. ame235 Says:

    aligned to what? i need a screenshot of that, plz put it somwhere and post link here ;)

  21. Adam Says:

    Here is direct link i’ve colored the thing im thinking of.

    http://img705.imageshack.us/img705/327/gruppled2.png

  22. geo411m Says:

    What output do you need for push? Maybe I can get it for you.

  23. ame235 Says:

    I need to get thé information as it is outputed by thé plugin,
    like the ones you can find in the debug.js file of the gruppled theme… Now i’m in my bed, i’ll make a post for that tomorrow.. Gnight!

  24. Ben Says:

    Ok, I think I’m totally lost on trying to put my location so the weather will show my location. I see where you are pointing people to this file, but what in the file do I change?

  25. geo411m Says:

    @Ben

    You need to change this part: [ "EUR|LU|LU003|LUXEMBOURG" ]; to what ever location is yours. If you live in the US you would use your zip code like so [ "10009" ];

  26. Ben Says:

    Ok, I did that and its showing my location, but my weather is incorrect… I am sorry I am acting like I can’t figure it out but I am new to the OpenSSH stuff.

  27. geo411m Says:

    that’s because you have a few options that that may not be configured the way you want.

    1. var useRealFeel = true; this enables the weather plugins to use windchill as a base for temperature.
    2. var isCelsius = true; this sets the temperature to use celsius. change to false if you want to use Fahrenheit instead. Hopefully this should help you.

  28. Aftermath Says:

    @ame235 Here is what I am talking about. http://i164.photobucket.com/albums/u22/aftermathgmc/photo2.jpg
    @Adam is that your screenshot? I want the time exactly like that.

  29. Ben Says:

    so I just should put in

    var false =

    and that should fix it to fahrenheit?

  30. geo411m Says:

    change var isCelsius = false to use Fahrenheit instead of celsius.

  31. Ben Says:

    Ok, I’m sorry for my lack of knowledge in this, but that did fix it.

  32. Aftermath Says:

    @ame235, @Adam
    I have found the solution! Thanks to ysutarko on MacThemes.
    In the lockinfo.js go to line 459 and replace:

    // edit from Ame235:
    if(separateCalendarTimes){
                    if(relativeText){
                        relativeText = ” ” + relativeText;
                    }
                    if(endText){
                        endText = “<br/>” + endText;
                    }
                    html += (startText ? “<div class=’time sub1′ style=’white-space:nowrap;display:table-cell;padding-right:5px;’>”+startText+endText+”</div>” : ”)+”<div style=’display:table-cell;’>”+titleText+locationText+relativeText+”</div>”;

    to

    if(separateCalendarTimes){
                    if(relativeText){
                        relativeText = ” ” + relativeText;
                    }
                    if(endText){
                        endText = ” – ” + endText;
                    }
                    html += (startText ? “<div class=’time sub1′>”+startText+endText+”</div>” : ”)+”<div style=’display:table-cell;’>”+titleText+locationText+relativeText+”</div>”;

  33. spiccand Says:

    Salut et bravo, vraiment sympa comme thème. Petite question, est-il possible d’avoir la météo pour plusieurs jours ?

  34. geo411m Says:

    @spiccand
    Je ne pense pas que ce soit possible, fondée sur le tapis. Pardonnez mon français, ma langue principale est l’anglais.

    @Ame235
    The weather image that is being displayed is the “daily” image instead of the current condition. Is it possible to change this to the current condition? Also, I changed the weather update refresh rate and it sometimes fluctuates a few degrees up or down. So in a minutes time i’ll see the temp go up and down about 30 times.

  35. ame235 Says:

    @spiccand,
    oui, ‘cest possible bien sur, le theme est fait pour voir la meteo de ce jour… je pourrais developper de maniere a ce qu’en cliquant celle du jour on obtienne celle de la semaine par exemple.. comme quand on clique sur l’heure on obtient le calendrier.
    mais je n’ai aucune envie de developper ca pour l’instant…je prefererai tout reecrire pour obtenir qulquechose de plus simple a utiliser!

    @geo411m
    yes it is: dmeerpa got solution in comments:
    change
    MiniIcons[obj.forecast[0].icon]+iconExt
    to :
    MiniIcons[obj.icon]+iconExt

    in the wheater.js file
    -for the second problem, i don’t really undertand what you mean. (my english is bad too :P )

  36. mosec Says:

    My weather icon shows wrong weather situation when I look through my window I see sun, as on accuweather. Any suggestions what needs to be fixed. Thanks

  37. spiccand Says:

    @ame235 : Je comprends parfaitement, merci pour ta réponse.

  38. geo411m Says:

    @ame235
    the problem I was talking about is that I changed the time it takes for the weather to update from 15 to 5 minutes and now it keeps switching between the new updated weather and the weather it took before it updated. It goes back and forth between the 2 temp very fast (every few seconds). It’s actually doing it now because I used the code you posted and it keeps switching between the what I had before I made the code change and the current temperature.

  39. dmeerpa Says:

    @mosec
    change in \bundles\com.ashman.lockinfo\js\weather.js
    MiniIcons[obj.forecast[0].icon]+iconExt
    to :
    MiniIcons[obj.icon]+iconExt

    And you will see the actual weather icon that corresponds with what you see outside instead of the daily weather icon.

  40. Ben Says:

    Ok, so once again I am having a problem with the weather. It’s not updating what so ever. It’s been stuck on 39 degrees sense I got the right location last night. Any suggestions as what I can do to make it update and make the weather icon change from cloudy to the current status it is in my location.

  41. bryce Says:

    I’m having the same problem as the first release. The icon is always cloudy does not change. :-(

  42. Ben Says:

    Ok figured it all out, now I don’t want to use feel real, I’d want it to be just what it reports cause now my weathericon badge shows one temp and this shows a lesser one.

  43. Mosec Says:

    @dmeerpa Thanks man that was the trick!

  44. Bryce Says:

    @mosec
    change in \bundles\com.ashman.lockinfo\js\weather.js
    MiniIcons[obj.forecast[0].icon]+iconExt
    to :
    MiniIcons[obj.icon]+iconExt

    And you will see the actual weather icon that corresponds with what you see outside instead of the daily weather icon.

    *I did this but i don’t think it worked. Still always shows cloudy not the real weather outside. Anyone else having this problem? How can I fix it?

  45. Geo411m Says:

    I’m having the same problem as Bryce, I use this in conjunction with the weather icon theme and the weather icon theme shows it’s snowing out while this lockinfo theme shows it’s cloudy. I made the change that dmeerpa suggested but it doesn’t help.

  46. Mosec Says:

    @ Bryce and Geo411m
    I must admit that I also have the problem with updating, at first it seemed to work but now nothing. When I respring it changes and then starts going back and forth to weather before the update.
    It would be great if this could be fixed cause theme is wonderful

  47. geo411m Says:

    @Mosec
    I mentioned the problem in a few post up. I noticed if you reboot the phone it fixes the problem. I think when you respring it keeps the old weather in memory or something.Anyway, even with these bugs this is still one of the best themes for lockinfo.

    One more thing, I’m using the latest beta of lockinfo. To the other people having problems, are you using the beta by any chance? Perhaps the problem is the way the theme is working with the beta? Just something to think about.

  48. Las Pecas Says:

    hi ame.

    what are the differences between the two lockscreen versions?

  49. ame235 Says:

    This has been my mistake by supplying the update.
    Just take the 0.92.
    Old version has a bug largely discussed here about temperatures refreshing on top of each other, making an awful mess! :(

    already asked for problem solving on the repo, received positive response for yesterday night,
    well i suppose these guys have lots to do, so let’s wait until there is only one version available..and I’ll make sure to update that one :P

  50. Mosec Says:

    Well, my weather updates when I respring although it’s set to update every 15 minutes. I hope there will be a solution because this theme is definitely a keeper

  51. ame235 Says:

    Respring reloads all the code and obviously sets all the timers to 0 so checks the weather for the first time… That is pure logic, I don’t understand what can be changed, or maybe I didn’t understand what you meant. o_O’

  52. Joost Says:

    The weather only changes when a respring is made – otherwise it just stays on the same weather picture+temperature until the respring.

  53. Marlin Says:

    Same problem: the weather doesn’t refresh automaticaly. I have to respring to see the last weather info…

  54. Gideon Says:

    @Joost

    Joost, heb jij geen last van de tijd in twaalf-uur format ipv 24 uurs format? Heb jij dat aangepast en zo ja, hoe?

  55. ame235 Says:

    oh, ok, once again, i don’t have that error here… mine just updates fine without resprings.. but i’ll check.

  56. UxDesigner Says:

    Nice, got the danish language to work, but what about mail, sms and phone, will they be added?

  57. Joost Says:

    @Uxdesigner Mail etc.works – but by default they only appear when you have mail, SMS, missed phonecalls..

  58. Joost Says:

    @Gideon My familyname is from The netherlands – but I don´t speak or write it…

    The timesetting should allready be 24 hour…

  59. Joost Says:

    Thx ame235 :-) Love your theme.

  60. Marlin Says:

    I had the first version installed. When u published the last update, i have erases and replaced the files in library/theme/235…/… Manualy. I had the refresh problem. So when the new version have been available on bigboss i have uninstalled the package on cydia and i have installed the new one. Same problem . I have a 3gs 32go firmware 3.1.2 jailbreaked with blackrain rc3, and an official version of lockinfo. I hope this could help

  61. iliko Says:

    How do you get facebook on your lockscreen ?
    Thx

  62. ame235 Says:

    Oky, today, without any special reason, i get to have the weather bug people report.
    The temp keeps jumping back and forth from -1 to -2 even if i hve the 15 minutes refresh interval set.
    I’ll recheck the code, again.
    This is driving me crazy, i’ll rewrite all the weather part, this theme has got to work!! :(

  63. franc1s Says:

    thanks to dmeerpa. You’re the man!!
    That wrong weather pic was bothering me to no end.

  64. Jean Says:

    Hey,

    I’ve been a follower here for a few months… the weather does not refresh unless you respring.

    This is the BEST lock theme ever for the iPhone. If you can fix the weather I will be grateful forever!

  65. ame235 Says:

    Doing my best… Follow new posts for details on progress ;)
    and btw, thanks for all the comments all of you left.
    Critics and bug reports were always detailed and even sometimes solved by other users. Compliments and satisfaction comments always made me happy and proud;)
    I thank you all XD

  66. Dorkington Says:

    Wonderful theme so far!

    Couple things:

    On my calendar appointments, all of them are showing as blue dots, are the dots supposed to coincide with the colors of your calendars, or are they supposed to all be blue dots?

    Is there any way to make it show the newest 5 emails even if they’ve been marked as “read”? Same for other stuff…

    Will adding Twitter, etc plugins to lockinfo add them to this? Or do we have to wait until you add support?

    Thanks for all the hard work, this is really well done so far! :)

    -Jason

  67. Dorkington Says:

    Oh, and for some reason, after restarting, its not showing my calendar or mail stuff anymore… :(

  68. ame235 Says:

    @Dorkington
    //The colors for calendar events are blue/green/orange:
    allDay events are blue, orange stands for birthdays, and green is for default calendar entries.

    // read e-mails:
    there is no way to display read e-mails, this use lockinfo that sends data to the theme only if there is unread messages.

    //twitter support
    I added twitter support in the next update (to be released)
    you will have to install the plugin to make it work. (but no it won’t work until i add support or you do)

    //restart problem:
    have you got a paid lockinfo version? maybe this is obvious but free version expires after some days, but doesn’t tell…Just stops working.

  69. Dorkington Says:

    @ame235

    Thanks for the answers! It looks like calendar and mail just take a couple minutes to load the data. So I think all is well!

    Its too bad about read mail/messages… but its understandable.

    Again, thanks for the good work and easy instructions. :)

  70. marlin Says:

    Hello again.
    I’ve solved the problem :
    lockinfo MUST be installed from the repo ModMyi.

    Mine was installed from Podulo.us, and that wasthe cause of the weather update problem.

    So, to have good weather informations, you have to :
    * Install Lockinfo from the repo ModMyi
    * Install 235 teehanlax Lockinfo Theme (version 0.92) from BigBoss
    * set your weather location infos in the file
    bundles\com.ashman.lockinfo\config_weather.js
    * change in \bundles\com.ashman.lockinfo\js\weather.js
    MiniIcons[obj.forecast[0].icon]+iconExt
    to :
    MiniIcons[obj.icon]+iconExt

    and, miracle, everything works perfectly!

  71. ame235 Says:

    glad you found that out.
    i did pretty much lots of modding today to get the weather update better and the times display more in accordance to original teehanlax blueprint.

    //to be seen soon.

  72. Mosec Says:

    Hi ame, I’m glad you’re still working on improving this great theme.
    I was wondering if it would be possible to add more plugins to the theme like apigo todo plugin and maybe a rss feed. Any suggestions what needs to be done? .-)

  73. Jack Says:

    Vraiment un super travail. La seule qui manque est “push notifications” :p
    Merci pour ton travail !

    A realy great work. The only thing that misses is “push notifciations” :p
    Thanks for your work

  74. Marlin Says:

    C’est vrai, je m’associe aux autres pour te féliciter! Joli travail!

  75. Mosec Says:

    @marlin
    I did exactly what you said but it’s still not working properly (the weather update). This is really crazy and hard to understand because sometimes it seems to update regularly as it should and then I do something like install a new winterboard theme or something and then it stops updating. I must admit I try a lot of stuff every day but I do not touch things inside this theme. After a respring or even better a reboot the update starts working normally (or it seems so).
    Should we try and switch to yahoo weather source I see that other themes use it and it’s supposed to be working well and faster?!

  76. ame235 Says:

    @Mosec,
    just a two days patience, i’m getting version 0.98 out.
    Looks like all these guys use it without any problems. so i’ll make it available.
    It contains all the solutions to the bugs you’re describing.
    (nothing to do with the weathersource ;) )

  77. Mosec Says:

    Great! You’re the best!

  78. Dorkington Says:

    I’m sure you’re probably sick of my dumb questions at this point, but I have a few more ;)

    1. I’d like to remove the (in x days) or (in xhr ymin) in the calendar. Is this possible?

    2. Scrolling seems to spring back rather than stick, if that makes sense. When I scroll down through many items, as soon as my thumb lifts off the screen, everything jumps back to the top. Is this intentional? Is there a way to possibly change it so that there is a delay? Something like “If no activity for 10 seconds, jump to the top”

    3. I don’t think this is your problem, I think this is my problem. I’m having a hard time getting the Birthdays calendar to actually show up on my phone. But it’s probably because I use MobileMe, vs cable syncing.

    4. The text in the “sub bars” (the dates in calendar view, the titles in messages, etc) are not centered, they seem to be a pixel or two high. Is there a way to change that?

    4a. Somewhat related. On Calendar appointments with time, the title of the appointment appears skewed off to the right and up a little. Should this either be on top of the times or at least lined up with the times (either vertical center, or vertical top/bottom)? And is there a fix?

    Thanks again for all the hard work. :)

    -J

  79. Dorkington Says:

    Actually, now that I’m looking at it… the titles of events are a pixel high too in relation to vertical center alignment of the dots.

    Is there a way to fix these various alignment options? (Sorry, I’m a bit of a graphic design nerd ;) )

  80. ame235 Says:

    @ Dorkington:
    wow that’s a bg ammount of questions.
    // (in x days) disabled (not removed) in last version 0.98 and beta(still not on the repo)
    // scrolling thing is a lockInfo thing, nothing to do with us. (i think)
    // Birthay… no idea.
    // that fk#@g pixel :P well i’ll have a look at it as ther is another bug with that.

  81. Markus Says:

    sry about my stupid question^^ but i `don`t know and will not find it where i have to go to “open .theme file, go to Bundles/com.ashman.LockInfo/ and edit config.js, there are lots of configs very well explained.”
    @winterboard!? @cydia? where can i edit the lines? :(

  82. Gunther Says:

    Damn you .. I got around jailbreaking so far .. but now I really have to look into that ..

    Great work really. The design is truely great.

    G.

  83. Jeremy.You Says:

    Still i have weather update problem…
    Just i need Respring ;)
    Anyway,
    i wanna say thanks a lot of your awesome work, ame235!!
    i’m waiting your next update theme ;)

    GBU..

  84. Edu Says:

    Dear ame235,

    I tried to insert the Twitter plugin to this Lockinfo theme, but i failed.

    Here is the complett pack, can You see it?

    http://rapidshare.com/files/335188408/com.ashman.LockInfo.zip.html

    To everybody: dont download this package, the twitter will not be displayed on this theme! Everithing else is the same.

    E.

    // ?? i don’t get what you try to say:
    // twitter is already included.. (as you noticed after :P )
    // BTW if it’s not, i’m far away from thos versions and hope a final version will be available in next days.
    // It integrates: twitter, PUSH, Appigo TODO and weatherPlugin.
    // if you can’t wait, here is the latest version:
    // http://www.ame235.com/ame235/wp-admin/post.php?action=edit&post=773
    // hope i answered your question (was there a question?) ;)