-
10-29-2009, 03:52 PM #1
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
-
10-29-2009, 04:04 PM #2My iPhone is a Part of Me
- Join Date
- Oct 2007
- Location
- Florida
- Posts
- 738
- Thanks
- 235
- Thanked 138 Times in 86 Posts
That's Awesome .........
-
10-29-2009, 04:16 PM #3
@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!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!!
-
10-29-2009, 10:02 PM #4
Very cool TheOnlyest.
I like the tab style expanding columns. To make PM smaller, I modified the forced 24 hour clock settings to this:
then later on, i added this to give the resulting output classes:Code:if(this.Settings.force24h) this.timeFormat = 'g:i'; this.seconds = ':s'; this.ampm = 'A';
then you can just use css to style and position those pieces.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'));
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
-
10-29-2009, 10:53 PM #5My iPhone is a Part of Me
- Join Date
- Oct 2007
- Location
- Florida
- Posts
- 738
- Thanks
- 235
- Thanked 138 Times in 86 Posts
How did you get the Facebook plugin ??
-
10-30-2009, 10:13 AM #6
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
-
11-01-2009, 03:53 PM #7

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
-
11-04-2009, 10:03 AM #8
Happy to announce that the plugin is now live on the modmyi repo. search for
LI Matte Super Clock Plugin !
-
11-04-2009, 11:32 AM #9
How did you get Things working. I have it enabled, but it doesn't show up.
Thanks
-
11-04-2009, 11:38 AM #10
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
-
The Following User Says Thank You to taxbax For This Useful Post:
kwan (11-04-2009)
-
11-04-2009, 01:34 PM #11
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 helpLast edited by kwan; 11-04-2009 at 01:34 PM. Reason: Automerged Doublepost
-
11-04-2009, 01:38 PM #12
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
-
11-04-2009, 02:13 PM #13
That did it. Thanks
-
11-09-2009, 02:15 AM #14
Hello! I was wondering if it was possible to have the News Feed unfolded as default. Thanks!
-
11-09-2009, 08:17 AM #15
i dunno, check your settings. I only made the clock.



LinkBack URL
About LinkBacks
Reply With Quote