Become a MacRumors Supporter for $50/year with no ads, ability to filter front page stories, and private forums.
Status
Not open for further replies.
Click for larger :)

Image

Oh Crap, LOL sorry MissJenna looking at your screen shot of the Noki MBEx skin I have included an unfinished version with the art overlay misaligned it should look like this

img0583.png


new download v1.0.3 has been added to the original post.

https://forums.macrumors.com/showthread.php?p=12638531#post12638531
 
I'm having a weird problem, hopefully somebody could help me out.

I'm using the striped lockscreen on my springboard. From 1 to 9 AM my clock reads like 01:30. But in the afternoon and evening it reads as 1:30. I have it set to 12 hour, but I would like for it to read like 01:30 so the clock placement will stay even on the springboard at all times. I have no clue how to fix this.

Here's an example.

acff5065.jpg


52e4c64f.jpg


I've tried messing around with it, editing stuff, but I can't figure out why it's doing this.
 
I'm having a weird problem, hopefully somebody could help me out.

I'm using the striped lockscreen on my springboard. From 1 to 9 AM my clock reads like 01:30. But in the afternoon and evening it reads as 1:30. I have it set to 12 hour, but I would like for it to read like 01:30 so the clock placement will stay even on the springboard at all times. I have no clue how to fix this.

Here's an example.

Image

Image

I've tried messing around with it, editing stuff, but I can't figure out why it's doing this.


This is a trick that I found out LONG ago. First let me make sure I understand you. Regardless if it am or pm you want a leading 0 on your single digit hour numbers correct...

If so do this. Open your HTML file and makes sure the "Pad the leading min and sec" (something like that) is DIRECTLY BELOW the "Convert hours of 12 to 24 (or vice versa)"

Here is an example of one of mine (may look a little different from yours but shouldn't be much)

<!-- Convert hours component of "12" to "24" -->

** * currentHours = ( currentHours > 12 ) ? currentHours - 12 : currentHours;



<!-- Pad the minutes and seconds with leading zeros, if required -->

** *currentHours = ( currentHours < 10 ? "0" : "" ) + currentHours;

** * * *currentMinutes = ( currentMinutes < 10 ? "0" : "" ) + currentMinutes;

** * * *currentSeconds = ( currentSeconds < 10 ? "0" : "" ) + currentSeconds;
** * * *

EXCLUDE THE * the forum inserts them for some reason.
If don't understand send me your HTML file and I'll do it for you!
 
Last edited:
I'm having a weird problem, hopefully somebody could help me out.

I'm using the striped lockscreen on my springboard. From 1 to 9 AM my clock reads like 01:30. But in the afternoon and evening it reads as 1:30. I have it set to 12 hour, but I would like for it to read like 01:30 so the clock placement will stay even on the springboard at all times. I have no clue how to fix this.

Here's an example.

Image

Image

I've tried messing around with it, editing stuff, but I can't figure out why it's doing this.


In the LockBackground.html file, replace the function updateClock clock with this code:

function updateClock ( )
{
var currentHours_name_array = new Array ("00", "01", "02", "03", "04", "05", "06", "07", "08", "09", "10", "11", "12", "13", "14", "15", "16", "17", "18", "19", "20", "21", "22", "23", "00")
var currentMinutes_name_array = new Array ("00", "01", "02", "03", "04", "05", "06", "07", "08", "09", "10", "11", "12", "13", "14", "15", "16", "17", "18", "19", "20", "21", "22", "23", "24", "25", "26", "27", "28","29", "30", "31", "32", "33", "34", "35", "36", "37", "38", "39", "40", "41", "42", "43", "44", "45", "46", "47", "48", "49", "50", "51", "52", "53", "54", "55", "56", "57", "58", "59", "00")
var currentTime = new Date ( );
var currentHours = currentTime.getHours ( );
var currentMinutes = currentTime.getMinutes ( );
var currentSeconds = currentTime.getSeconds ( );
// Convert an hours component of "0" to "12"
// currentHours = ( currentHours == 0 ) ? currentHours + 24 : currentHours;
// Convert the hours component to 12-hour format if needed
currentHours = ( currentHours > 12 ) ? currentHours - 12 : currentHours;
// Convert an hours component of "0" to "12"
currentHours = ( currentHours == 0 ) ? 12 : currentHours;
// Compose the string for display
var currentTimeString = currentHours_name_array[currentHours] + ":" + currentMinutes_name_array[currentMinutes];
// Update the time display
document.getElementById("clock").firstChild.nodeValue = currentTimeString;
// Pad the minutes and seconds with leading zeros, if required
currentHours = ( currentHours < 10 ? "0" : "" ) + currentHours;
currentMinutes = ( currentMinutes < 10 ? "0" : "" ) + currentMinutes;
currentSeconds = ( currentSeconds < 10 ? "0" : "" ) + currentSeconds;
}
 
In the LockBackground.html file, replace the function updateClock clock with this code:

function updateClock ( )
{
var currentHours_name_array = new Array ("00", "01", "02", "03", "04", "05", "06", "07", "08", "09", "10", "11", "12", "13", "14", "15", "16", "17", "18", "19", "20", "21", "22", "23", "00")
var currentMinutes_name_array = new Array ("00", "01", "02", "03", "04", "05", "06", "07", "08", "09", "10", "11", "12", "13", "14", "15", "16", "17", "18", "19", "20", "21", "22", "23", "24", "25", "26", "27", "28","29", "30", "31", "32", "33", "34", "35", "36", "37", "38", "39", "40", "41", "42", "43", "44", "45", "46", "47", "48", "49", "50", "51", "52", "53", "54", "55", "56", "57", "58", "59", "00")
var currentTime = new Date ( );
var currentHours = currentTime.getHours ( );
var currentMinutes = currentTime.getMinutes ( );
var currentSeconds = currentTime.getSeconds ( );
--> // Convert an hours component of "0" to "12"
// currentHours = ( currentHours == 0 ) ? currentHours + 24 : currentHours;
// Convert the hours component to 12-hour format if needed
currentHours = ( currentHours > 12 ) ? currentHours - 12 : currentHours;
// Convert an hours component of "0" to "12"
currentHours = ( currentHours == 0 ) ? 12 : currentHours;
// Compose the string for display
var currentTimeString = currentHours_name_array[currentHours] + ":" + currentMinutes_name_array[currentMinutes];
// Update the time display
document.getElementById("clock").firstChild.nodeValue = currentTimeString;
--> // Pad the minutes and seconds with leading zeros, if required
currentHours = ( currentHours < 10 ? "0" : "" ) + currentHours;
currentMinutes = ( currentMinutes < 10 ? "0" : "" ) + currentMinutes;
currentSeconds = ( currentSeconds < 10 ? "0" : "" ) + currentSeconds;
}

NO DON'T DO THIS because your script could be different AND besides he's running 12hrs and the above won't work. All you do is make sure the "Pad the min/sec with 0" is after the "Change hours of 24 to 12" script! You'll mess the HTML file by doing the above!
 
Last edited:
Thanks! How would I move the temp?

No problem! You'll want to go here:

Private/Stylesheets/myopiaAlt.css

You'll see this (this is actually from mine and how I've currently got it set up, so you can just use these settings if you want yours to look like mine. I've also added "text-align:left" at the bottom to make it easier to know where I'm moving the temp to):

#temp{
position:absolute;
top:30px;
left:110px;
padding-right:20px;
color: #a3ec4b;
text-shadow: #866e5a 0px 1px 0px;
/*text-shadow: #FFFFFF 0px 1px 0px;*/
font-size: 15px;
font-weight: bold;
text-align:left;
width:100;


Hope this helps!
 
I got the nokie theme downloaded from themeit and then activated it in winterboard, but how come i cant change my wallpaper? can anyone tell me how to change it please..
 
Yep, I'm different. If you want to make your theme like mine here is what you need. (Everything can be found in Cydia)

1) Winterboard
2) iFile/SSH
3) PerpageHTML
4) HTC Desire
5) Gridlock & iBlank
6) HTC Weather Animated ... (That is what it looks like in Cydia)

Okay, once you downloaded everything, do the following.

1) Go to Winterboard and activate HTC Desire, No Icon Shadows - iBlank 4, and White Icon Labels. Respring.
2) Go to iFile or your SSH client. Navigate to /var/stash/theme.xxx/HTC Desire.theme. Once there remove the file extensions on Widget.html, LockBackground.png, and Background.png. (Your names may be slightly different.) Or simply delete them. This is to let you choose your own wallpaper and use the better widget.
3) Go to PerPageHTML and activate HTCAniPPH and choose Page 1 or whichever page you want.
4) Use iFile or your SSH client. Navigate to /var/mobile/library/PerPageHTML/HTCAniPPH/configureme.js
5) To change it to your town follow the instructions at the top. For Celsius change false to true. Real Feel is how it feels with humidity and wind factored in. I like the update interval to be 15 minutes. Show forecast is just as it sounds. Change showWeatherAni to true for cool effects.
6) Respring and you'll be all done. (Gridlock is to arrange icons around widgets.)

Enjoy.
 

Attachments

  • IMG_0060.PNG
    IMG_0060.PNG
    640.3 KB · Views: 65
I got the nokie theme downloaded from themeit and then activated it in winterboard, but how come i cant change my wallpaper? can anyone tell me how to change it please..

Go to iFile or your SSH client. Navigate to /var/stash/theme.xxx/Noki.theme (or something like that). Once there remove the file extensions on LockBackground.png and Background.png. (Your names may be slightly different.) Or simply delete them. This is to let you choose your own wallpaper.
 
I did a little more modding on the SB widget. This way, everything stays lined up and I kinda like the temp over in the little box on the right by itself. :D

Image

Yes I agree this way is much better! I had when they put weather icon into a small box. But this way makes more sense to do it this way! can the clock be edited meaning can you change the "flip clock" do some other clock?

Bravo Ky! Now actually get these severe weather from us and we'll be set!!!
 
Status
Not open for further replies.
Register on MacRumors! This sidebar will go away, and you'll see fewer ads.