+ Reply
Results 1 to 15 of 15
  1. #1
    iPhone? More like MyPhone taxbax's Avatar
    Join Date
    Dec 2007
    Posts
    103
    Thanks
    6
    Thanked 6 Times in 6 Posts

    Default LockInfo Matte UI Clock Mod to show seconds

    Hi Everyone,
    I need some advice. I have been working on this for a day or so.
    I wanted to mod the stock clock plugin to look more like the apple stock lock screen clock. with no am/pm designation. When thinking about it I thought to add a second counter and just make the am/pm smaller.

    Anyways, long story short, I figured out how to do it and change/add almost any piece of information I want from the php date manual: PHP: date - Manual .

    This is what I have so far and it clearly needs a little tweaking but I wanted to open it up for ideas. Please feel free to Mock Up any thoughts you have and I will try out the ones I really like. If you want the code, I will release it but I wanted to wait until the plugin was really good because right now it would over write you current clock plugin.

    note: id prefer mock ups than word explanations, just use photoshop online or pixlr or something free if you dont have a real editing program.
    Thanks


  2. #2
    My iPhone is a Part of Me 24trepid's Avatar
    Join Date
    Oct 2007
    Location
    Florida
    Posts
    738
    Thanks
    235
    Thanked 138 Times in 86 Posts

    That's Awesome .........
    Follow me on Twitter ... http://www.twitter.com/iTooCrzy

    Smack That Thanks Button .........

  3. #3
    iPhoneaholic TheOnlyest's Avatar
    Join Date
    Aug 2008
    Location
    Las Vegas
    Posts
    389
    Thanks
    18
    Thanked 94 Times in 55 Posts

    @taxbax,
    Good work on figuring out the js code... I have done quite a bit myself. I have tried to figure out how to decrease the size of my AM & PM with no luck. I like the clock format I have, but my AM & PM takes up WAY too much real-estate!
    Attached Thumbnails Attached Thumbnails LockInfo Matte UI Clock Mod to show seconds-img_0151.png  
    Last edited by TheOnlyest; 10-29-2009 at 04:27 PM.
    Praise the Devs! To each and every one of you who spend your time writing code and making apps for little or no profit... Its YOU that makes the iPhone great, NOT Apple!! From me to you, a million thanks!!

  4. #4
    iPhone? More like MyPhone taxbax's Avatar
    Join Date
    Dec 2007
    Posts
    103
    Thanks
    6
    Thanked 6 Times in 6 Posts

    Very cool TheOnlyest.
    I like the tab style expanding columns. To make PM smaller, I modified the forced 24 hour clock settings to this:

    Code:
    if(this.Settings.force24h)
        this.timeFormat = 'g:i';
        this.seconds = ':s';
        this.ampm = 'A';
    then later on, i added this to give the resulting output classes:

    Code:
    header.appendChild(this.Design.generateCustom(now.format(this.seconds), 'seconds', null, 'span'));
    header.appendChild(this.Design.generateCustom(now.format(this.ampm), 'ampm', null, 'span'));
    then you can just use css to style and position those pieces.
    See my first post for the php date manual for what letters do what to the time format.

    good luck!

    update:


    So this is where I am going to leave it for now. I am very happy with it for my personal use so unless anyone has some grand ideas, I will release it this weekend. remember that this is only the clock plugin, if you would like to know how I have done anything else in my Matte UI Mod, don't hesitate to ask.

    Last edited by taxbax; 10-29-2009 at 10:02 PM. Reason: Automerged Doublepost

  5. #5
    My iPhone is a Part of Me 24trepid's Avatar
    Join Date
    Oct 2007
    Location
    Florida
    Posts
    738
    Thanks
    235
    Thanked 138 Times in 86 Posts

    How did you get the Facebook plugin ??
    Follow me on Twitter ... http://www.twitter.com/iTooCrzy

    Smack That Thanks Button .........

  6. #6
    iPhone? More like MyPhone taxbax's Avatar
    Join Date
    Dec 2007
    Posts
    103
    Thanks
    6
    Thanked 6 Times in 6 Posts

    its a hacky version of the news feeds that i made, you just need your notification rss feed from your nitifications page. Here is the link:

    RapidShare: 1-CLICK Web hosting - Easy Filehosting
    there is a readme

  7. #7
    iPhone? More like MyPhone taxbax's Avatar
    Join Date
    Dec 2007
    Posts
    103
    Thanks
    6
    Thanked 6 Times in 6 Posts



    Here is the SuperClockPlugin for Lock Info Matte UI Theme

    http://taxbax.net/superclockplugin.zip

    put SuperClockPlugin.bundle in Library/Lockinfo/Plugins
    put com.taxbax.lockinfo/SuperClockPlugin in private/var/stash/Themes

    or wait for the plugin to appear in the ModMyI repo

  8. #8
    iPhone? More like MyPhone taxbax's Avatar
    Join Date
    Dec 2007
    Posts
    103
    Thanks
    6
    Thanked 6 Times in 6 Posts

    Happy to announce that the plugin is now live on the modmyi repo. search for

    LI Matte Super Clock Plugin !

  9. #9
    iPhoneaholic
    Join Date
    Aug 2007
    Posts
    343
    Thanks
    50
    Thanked 23 Times in 18 Posts

    How did you get Things working. I have it enabled, but it doesn't show up.
    Thanks

  10. #10
    iPhone? More like MyPhone taxbax's Avatar
    Join Date
    Dec 2007
    Posts
    103
    Thanks
    6
    Thanked 6 Times in 6 Posts

    My apologies, I have been having trouble with the directories and just posted an update that should be avaiable tomorrow. if you want to fix it now, ssh in and go the /private/var/stash directory. you will see /Themes and /Themes.xxxx (where the 'x' are will be 4 random digits). My pacakage installed files to /Themes but they should be in /Themes.xxxx . if you move them there manually it should work.

    Thanks for your interest.

    Oh I'm sorry...you are talkng about the Things plugin? its kind of complicated, are you using Matte UI? If so, you have to make sure you have the Matte UI Things plugin installed, then go to Winterboard and DISABLE ThingsLockInfo (this is the plugin for Native Rendering). Let me knwo if that works for you.
    Last edited by taxbax; 11-04-2009 at 11:38 AM. Reason: Automerged Doublepost

  11. The Following User Says Thank You to taxbax For This Useful Post:

    kwan (11-04-2009)

  12. #11
    iPhoneaholic
    Join Date
    Aug 2007
    Posts
    343
    Thanks
    50
    Thanked 23 Times in 18 Posts

    Thanks. got it working now. Another problem was that since I hadn't used Things in a long time, I didnt even had it installed on 3.0
    Well, I installed the plugin first, then the actual app. I noticed the path had a sql file, which wasnt there when I SSH'd into the app folder

    I have another question. Is it me or does the folding not work for calendar and Things.
    In Calendar, I can't fold the today items. Same for Things.
    Thanks again for the help
    Last edited by kwan; 11-04-2009 at 01:34 PM. Reason: Automerged Doublepost

  13. #12
    iPhone? More like MyPhone taxbax's Avatar
    Join Date
    Dec 2007
    Posts
    103
    Thanks
    6
    Thanked 6 Times in 6 Posts

    You'll probably need to fool around with the settings. Theres something like collapsed limit i think. I can't check now but look around in there. I know i had trouble getting it the way i wanted

  14. #13
    iPhoneaholic
    Join Date
    Aug 2007
    Posts
    343
    Thanks
    50
    Thanked 23 Times in 18 Posts

    That did it. Thanks

  15. #14
    What's Jailbreak?
    Join Date
    Oct 2007
    Posts
    8
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Hello! I was wondering if it was possible to have the News Feed unfolded as default. Thanks!

  16. #15
    iPhone? More like MyPhone taxbax's Avatar
    Join Date
    Dec 2007
    Posts
    103
    Thanks
    6
    Thanked 6 Times in 6 Posts

    i dunno, check your settings. I only made the clock.

Posting Permissions

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