Become a MacRumors Supporter for $50/year with no ads, ability to filter front page stories, and private forums.
I have no "claudescript.js" file. I think he changed it around on the last version he posted on here last night. I'll have to look through the other js files.

Edit: Found it in the "js" folder. It's in file: SlantedLock.theme\private\js\SlantedLock.js

Thanks for the tip. Worked great.

Can you C&P your file string, so i know how it looks please ?

Thanks
 
Doesnt work for me, and youre script is different to mine :confused:

This is mine (with your bit added)

div#secondsbox {
margin:20px 0 20px 0;
font-size:13px;
text-align:center;
width:15px;
height:15px;
line-height:15px;
background-color:#FFF;
color:clear; <---- SET THIS TO CLEAR
text-shadow:none;
color:clear; <----- DELETE
}
div#ampmbox {
margin:0;
font-size:10px;
text-align:center;
width:15px;
height:15px;
line-height:15px;
background-color:#FFF;
color:clear; <---- SET THIS TO CLEAR
text-shadow:none;
color:clear;<----- DELETE


See changes in red
 
Doh! Sorry about the multiple namings... I didn't wanna look all snoobish for slapping my name on all the files.(was originally done to differentiate myself from the rest of the modders) lol I'll run with SlantedLock naming from now on.

PS: I'm working on a cached version of the weather. That way it doesn't fetch data every time you unlock and it should still display weather based on the cached info when you don't have internet. :) Might take a while though, don't hold your breath.
 
Doh! Sorry about the multiple namings... I didn't wanna look all snoobish for slapping my name on all the files.(was originally done to differentiate myself from the rest of the modders) lol I'll run with SlantedLock naming from now on.

PS: I'm working on a cached version of the weather. That way it doesn't fetch data every time you unlock and it should still display weather based on the cached info when you don't have internet. :) Might take a while though, don't hold your breath.

i was just about to ask for that lol
can u tell me how to change the color like ik the hex color but what goes for what
thanks
 
Taking a shot in the dark here, but has anyone had their visual voicemail act up after installing this?

I just received a voicemail from someone who called me today, but it is dated 8 days ago at a different time.

The only thing I have installed recently is this and NoSpot....I think :confused:
 
Thank you Claude626, now I finally got my phone looking exactly how I wanted it.:cool:


web.jpg
 
A work in progress..

<snip HUGE image>

If that is not using images. I would VERY much like to know which font that is! lol

Here's a shot(or two) of my WIP caching weather. :)

EDIT: Added configuration screenshot.
 

Attachments

  • img0217.png
    img0217.png
    886.1 KB · Views: 129
  • img0218.png
    img0218.png
    886.8 KB · Views: 131
  • IMG_0219.PNG
    IMG_0219.PNG
    108.5 KB · Views: 101
@ROCKERDAN

Hey man you can open up the .png files in photoshop and edit them to whatever you like. You cant edit the Days but everything else you can. The font I used was Umberto with a little of my own editing.

@Claude626,@2domjon

Thanks!!
 
@claude626, just a small request, could you please let me know how to change the clock to a 24hour one. Thank you in advance.
}

if(hr<12){
am_pm='AM';
if(hr==0){hr=12;}
}
else {
am_pm='PM';
if(hr>21){hr=hr-12;}
else if(hr>12){hr=(hr-12);}
}
 
Claude,

you think there is a way you can have more cities?...and have them rotate every few seconds with current weather?

element is a cool lockscreen widget that does this on my 3gs..... it takes each city from the stock iphone weather app and rotates them.
 
Thanks, Claude, for making this so easy! Used the Cydia download, edited using iFile to remove the weather function and seconds. (since I've gotten a few PM's asking: The pic is a personal one of my husband, shot last week at the restored train station in Denver. iPhone 4; shot in Camera+, edited in Filterstorm for the iPad, then back to Camera+ and Pic Grunger for the final.)
 

Attachments

  • bf21f6c0.jpg
    bf21f6c0.jpg
    549 KB · Views: 145
@claude626, just a small request, could you please let me know how to change the clock to a 24hour one. Thank you in advance.
}

if(hr<12){
am_pm='AM';
if(hr==0){hr=12;}
}
else {
am_pm='PM';
if(hr>21){hr=hr-12;}
else if(hr>12){hr=(hr-12);}
}

Replace that with this:

Code:
am_pm = 'PM';
if(hr<12){
		am_pm='AM';
		if(hr<10){hr='0'+hr;}
	}

That should pad it to become 01:45 AM.
 
Claude, can you give us a 7 day forecast so we don't have to bother with LockInfo, etc.?

Hmm... I'll look into that. It's something I've been thinking about, but I'm not a fan of having too many things I don't use often cluttering the screen. I always aim for practical utility in making my themes. Adding more and more "smart" features will inevitably slow the script down. If it does happen, it'll be cached and probably update daily and not hourly or minutes.
 
Claude,

you think there is a way you can have more cities?...and have them rotate every few seconds with current weather?

element is a cool lockscreen widget that does this on my 3gs..... it takes each city from the stock iphone weather app and rotates them.

Hmm... That can certainly be done, but I'm not sure if I wanna add that since I probably won't be using it. :p
 
Hmm... I'll look into that. It's something I've been thinking about, but I'm not a fan of having too many things I don't use often cluttering the screen. I always aim for practical utility in making my themes. Adding more and more "smart" features will inevitably slow the script down. If it does happen, it'll be cached and probably update daily and not hourly or minutes.
Oh, I agree with you. I got rid of LockInfo because I thought it did too much. By the time I was done disabling the things I didn't like, I figured why even bother.

As far as the weather goes - yes it's nice to know the current temperature, but the reality is that we probably already know the current temperature (+/- a few degrees). What we need to really know is is some kind of forecast, such as "how hot/cold will it get today" and "what about tomorrow".
 
Can you C&P your file string, so i know how it looks please ?

Thanks

There is no string to add. All you need to do is put // in front of the lines below to disable am/pm and seconds.

Simply SSH in. Get to themes. In the folder SlantedLock.theme\private\js\SlantedLock.js

Open SlantedLock.js

To remove the seconds, just put "//" in front of this line in the SlantedLock.js file: document.getElementById('secondsbox').innerHTML = se;

Now Looks like this:
// document.getElementById('secondsbox').innerHTML = se;

Do the same for the same line that says 'ampmbox' instead of 'secondsbox'

It's a couple lines below or above it. That totally removes the am/pm and seconds instead of just hiding it by changing the color.

There are 99 different versions of this theme floating all over the place. The one I am using is the updated one posted by Claude yesterday (Sunday) here, not the one from Cydia.
 
The weather info doesnt seem to work anymore, just sits at "loading..."

I dont know when it started happening, if anything there was a update for libweather.
 
Register on MacRumors! This sidebar will go away, and you'll see fewer ads.