I've played with the HTML a bit but can't seem to figure out a way to display the OS selected wallpaper as apposed to the background.png inside the theme directory. I would love to be able to easily change my background using the standard Wallpaper panel in Settings.

Thoughts?
i'm not sure but you can test with

/private/var/mobile/Library/SpringBoard/LockBackground.jpg
Last edited by AlcoolGeek on June 30th, 2010, 7:06 pm, edited 1 time in total.
AlcoolGeek wrote:i'm not sure but you can test with

/private/var/mobile/Library/SpringBoard/LockBackground.jpg

That did it! Thank you.
Hey I've Been Trying to use this on iOS4 but it keeps safe mode crashing when i lock... any ideas? is it because statusnotifier isn't compatible? cuz i got it to load now and then after uninstalling SN, anyway... Thanks for the help.
I have not installed SN on iOS4 and I am still having the crash issue. Need to wait for an update.
jwolach wrote:Great lockscreen!!! Here's mine with a 12-hour clock & AM / PM.

http://premiermultimedia.com/images/Seraphan.jpg

this is rad. nvm this :cool:
Last edited by kawslife on July 4th, 2010, 9:46 pm, edited 1 time in total.
Mine today

Image
can you post the slider?!
Last edited by azntrblmakr on July 12th, 2010, 11:13 pm, edited 1 time in total.
Image
How to fix it ?

Edit : I got it
Last edited by zzero22 on July 15th, 2010, 2:03 pm, edited 1 time in total.
@Seraphan Any chance of putting together a repack of this for iOS4 users?

Edit: It works, just need the Status Notifier portion removed until SN is fixed for iOS4.
Last edited by fortunado on July 19th, 2010, 3:21 am, edited 1 time in total.
azntrblmakr wrote:how do we make the background show up? on ios4 btw

Hey I figured it out, open your LockBackground.html and look for the line:

<body background="file...

Just replace it with this and it will work in iOS4 using your wallpaper from iOS4 Settings.

<body background="file://localhost/private/var/mobile/Library/SpringBoard/LockBackground.jpg" style="font-family:Arial;" onload="doLoad()">
Would someone mind posting how to disable the Statusnotifier part of the theme? I've been poking around and haven't figured it out yet. I'd like to continue using this but it crashes a lot when it locks or when I receive an email/sms (when using iOS4). Thanks.
Open file LockBackground.html
Find and remove :
Code: Select all
<tr style="background-image:url(private/bckg_status.png);">
<td height="50px" width="85px" style="text-align:center; vertical-align:bottom">
</td>
<td height="50px" width="50px" style="text-align:center; vertical-align:center">
<center>
<div id="CallIcon"></div>
</center>
</td>
<td height="50px" width="50px" style="text-align:center; vertical-align:center">
<center>
<div id="SMSIcon"></div>
</center>
</td>
<td height="50px" width="50px" style="text-align:center; vertical-align:center">
<center>
<div id="MailIcon"></div>
</center>
</td>
<td height="50px" width="85px" style="text-align:center; vertical-align:bottom">
</td>
</tr>
zzero22 wrote:Open file LockBackground.html
Find and remove :

Thanks, worked like a charm. Only had to change the next TD height from 242px to 292px to accommodate the missing icons.
I think I am still having trouble. Even though the icons are not showing up now (thanks zzero22), I think the CSS code is still running in the background. Whenever I plug the iPhone in to sync, it reboots to safe mode. This only happens when I have this theme going though. Can't use it until I fix this :( ... Any suggestions?
Wish the author was still around for this lock theme, I really like it. :(
Also wish there was as update to status notifier support for ios4.

Anyway, modified a few things to get it to work with iphone 4 and removed SN scripts...
Redid bottom bar for iphone 4 as well as slider (modified from Paw7 release). Matched power off slider with the same from this theme too.

Image

Image

Image
For my GF I swear. :P
Last edited by H0BBS on August 6th, 2010, 3:03 am, edited 1 time in total.
H0BBS, I was using this and someone gave me the code to remove the rendering of the status bar icons but the thing still crashed on me all the time. I think there was some code that was missed. What did you do to get it to work on iOS4?
fortunado, I still get some crashes if I hit the lock button then the home button quickly after, but not what you had described in your post.

here's the code I have for the status.js file.

Hope it helps:

Code: Select all
   var xmlReq = new XMLHttpRequest();
   var launchReq = new XMLHttpRequest();
   

   
function processXml()
{
   if (xmlReq.readyState != 4) return;
   if (xmlReq.status != 200 && xmlReq.status != 0) return;

}
function update()
{
   xmlReq.onreadystatechange = processXml;
   xmlReq.timeout = 2000;
   xmlReq.open("GET", "http://127.0.0.1:16322/status", true);
   xmlReq.send();
   setTimeout(update, 2000);

Here's the code I used for the LockBackground.html file:

Code: Select all
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
"http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" lang="it">
<head>

<script src="private/status.js"></script>
<script src="private/calendario.js"></script>

<script language="JavaScript">
<!--

function doLoad()
{
 
   update();
   my_cal();
   
}

-->

</script>

<link rel="stylesheet" type="text/css" href="private/stile.css">
<title>lockscreen</title>
</head>
<body background="LockBackground.png" style="font-family:Arial;" onload="doLoad()">
<table style="position: absolute; top: 0px; left: 0px;" width="320" cellspacing="0px" cellpadding="0px" border="0px">
<tr>
<td height="20px" colspan="5" style="text-align:center; vertical-align:bottom">
<img src="private/upBar.png" />
</td>
</tr>
<tr>
<td height="100px" colspan="5" style="vertical-align:center; background-image:url(private/bckg_clock.png);">
<center>
<div id="cal"></div>
</center>
</td>
</tr>
<tr style="background-image:url(private/bckg_status.png);">
<td height="20px" width="320px" style="text-align:center; vertical-align:bottom">

</td>
</tr>
</table>

</table>

</body>
</html>

I'm not sure if this is legit since this is not my theme, but here is the link to the plain (white) theme with all the fixes I made for iphone4 white background. All you have to do is replace the LockBackground.png file with whatever you want and it will display.

http://firingsquad.us/share/Hobbs/Seraphan_Theme.zip

Mods can remove this link if I have broken any forum rules...sorry :/
Last edited by H0BBS on August 7th, 2010, 6:08 pm, edited 1 time in total.
Hi Hobbs,

I just installed your version of this theme to better suit ios4 but for some reason the slider portion isn't working. Any ideas? Thanks in advance!
Here's a link for all three of the themes.
I took them right off of my phone, so I know they work. Try it out.


http://firingsquad.us/share/Hobbs/Seraphan_Theme.zip
Last edited by H0BBS on August 7th, 2010, 6:11 pm, edited 1 time in total.
Awesome Thanks
Last edited by hninjah on August 7th, 2010, 8:26 pm, edited 1 time in total.
Thanks for that link, but aren't some of the images not optimised for the retina display?
@Hobbs

Here's a fix you will enjoy: In LockBackground.html, replace this:

Code: Select all
<body background="LockBackground.png" style="font-family:Arial;" onload="doLoad()">

with this:

Code: Select all
<body background="file://localhost/private/var/mobile/Library/SpringBoard/LockBackground.jpg" style="font-family:Arial;" onload="doLoad()">

...and it will use the lock wallpaper you set in Settings > Wallpaper.
Last edited by fortunado on August 8th, 2010, 12:17 am, edited 1 time in total.
Ah cool, i'll do that now.
I also think I was able to completely disable the status script.
It hasn't crashed yet (fingers crossed).

The link has the new files and changes.

Edit: that seems to blow my wallpaper up to a huge size. :(
Works for you?
Last edited by H0BBS on August 8th, 2010, 4:18 am, edited 1 time in total.