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.
I somehow managed to get it working , now i need the photoshopped wallpaper with the box around the icons and the dock indicators please :)
4910209551_c14a51201d.jpg

Thanks, everyone for all the tips. I was able to get the WeatherFurik widget to work properly after SSH-ing into it and changing some code to get it to use my zip code and to use Fahrenheit instead of Celsius. For those of you searching for this file, it is

WeatherFurik.theme/Private/WeatherWidget/Private/configureMe.js

The problem I have is that the included wallpaper is 320x480 pixels, and all the code in the included html files are also for 320x480 pixels. It doesn't look very well for retina displays. I was able to put in my own 640x960 wallpaper, but of course it only uses and sees the first 320x480 pixels (the top left quarter) of my highres wallpaper. I've tried playing around with the code and changing all the pixel sizes, but I ended up breaking something, and the weather wouldn't show up at all.

Anyone good at javascript who can tell us how to break some of these restrictions? :)

The other weird thing about WeatherFurik is that it looks like there are many files and folders that are unnecessary. For example, there are two configureMe.js files, but only one is actually used. I wish I could delete some of these unnecessary files and also disable the wallpaper.
 

Attachments

  • photo.PNG
    photo.PNG
    433.6 KB · Views: 78
+1 to the above. Someone proficient in .js should work on this widget and help us understand it. I for one can't even figure out how to disable the script reading Wallpaper.png. I don't know which line to comment out.

And I agree that it seems cluttered. Multiple copies of several files, confusing naming, etc. The "wallpaper" files don't even have anything to do with wallpaper, it's the layout of the entire widget.
 
Guys, of course I will post my work when it's done. I'm not going to post a teaser screen shot and then disappear forever like the original screenshot poster lol.

How in the world did you keep the weather widget from setting its wallpaper? I know it's gotta be code in one of the .js files but I can't find the call to wallpaper.png

I figured out that the original wallpaper.png within the widget is with smaller resolution than the retina display version so i just resized the dimensions of the retina wallpaper one to the original and replaced it with my own if that makes sense.
 
I figured out that the original wallpaper.png within the widget is with smaller resolution than the retina display version so i just resized the dimensions of the retina wallpaper one to the original and replaced it with my own if that makes sense.

Oh, I thought you actually edited the code to change that....Well, the wallpaper.html in the root theme folder specifies dimensions. I changed those to 960x640, but having to put your own wallpaper in the theme folder every time you want to change it is a huge PITA. There's gotta be an easier way.
 
Oh, I thought you actually edited the code to change that....Well, the wallpaper.html in the root theme folder specifies dimensions. I changed those to 960x640, but having to put your own wallpaper in the theme folder every time you want to change it is a huge PITA. There's gotta be an easier way.

Nope i tried removing a few unnecessary files but the widget seemed to break every time i did so. It would be so much useful if we could set wallpapers directly from the iPhone with retina display resolutions but until someone is able to crack this down then i guess this is the only way for now.
 
Oh, I thought you actually edited the code to change that....Well, the wallpaper.html in the root theme folder specifies dimensions. I changed those to 960x640, but having to put your own wallpaper in the theme folder every time you want to change it is a huge PITA. There's gotta be an easier way.

I tried editing the wallpaper.html file to specify 960x640 dimensions too, but it doesn't seem to be working for me. So after your edit, you are able to see an entire retina wallpaper?

The other problem is that when you tap on a folder, the whole background outside of the folder goes black instead of keeping whatever wallpaper you have.
 
Nope i tried removing a few unnecessary files but the widget seemed to break every time i did so. It would be so much useful if we could set wallpapers directly from the iPhone with retina display resolutions but until someone is able to crack this down then i guess this is the only way for now.

Exactly. I just don't know which of these .js/.html files controls the wallpaper src.
 
Guys, of course I will post my work when it's done. I'm not going to post a teaser screen shot and then disappear forever like the original screenshot poster lol.

How in the world did you keep the weather widget from setting its wallpaper? I know it's gotta be code in one of the .js files but I can't find the call to wallpaper.png

Just installed WeatherFurikIOS4

Neither can I! I searched everywhere. I was able to switch the wallpaper.png to my own but it zoomed in and I can't finad anywhere to adjust it or add in code to tell it to use the apple assigned wallpaper like they did for the LockMS theme.

Any pro's care to help? :confused::confused:
 
Nope i tried removing a few unnecessary files but the widget seemed to break every time i did so. It would be so much useful if we could set wallpapers directly from the iPhone with retina display resolutions but until someone is able to crack this down then i guess this is the only way for now.

trayanscragg, I've started deleting unnecessary files successfully. Here's what it looks like now:

WeatherFurik.theme has:
Private (folder)
Wallpaper.html
Widget.html
Wallpaper.png

WeatherFurik.theme/Private has:
WeatherWidget (folder)

WeatherFurik.theme/Private/WeatherWidget has:
Private (folder)
WeatherWidget.html

WeatherFurik.theme/Private/WeatherWidget/Private has:
(Keep everything that was originally in here)

Hope that helps
 
What going down with the widget guys? are we close to a where we need to be? also would LOVE that wallpaper, the rounded one. Great work and keep it up!!! :)
 
I wish it was just as easy as deleting a wallpaper file within the private folder..
Yeah, did that and it didnt change my BG but the widgets didn't show up as well. It just the fact that every weather widget does this. I cant understand why, the Dev had to put it in there.

I tried bringing this up to the dev who did the lockscreen I used and I think he disappeared as well. Doesnt help that his site is in french also: http://zooropalg.over-blog.com/

A couple of his themes use weather widgets, and are very well done (hes a real good developer).

Someone on MT PM'd me saying his site may have some when its up. I would share but he mentioned that it may contain piracy.

If someone knows French, maybe they can ask if he can extract the widget?
 
don't yell at me if i'm wrong... but i think you edit the wallpaper.html file and within the style and body tags at the top (under where it says background-color: none; margin: 0; etc etc) add

background-image: url("/private/var/mobile/Library/SpringBoard/HomeBackground.jpg");
background-size: 61%;
 
The more I study this widget the more retarded it gets. I don't even understand how the folder structure of the theme works because it seems like the Weather Widget is all that's necessary to make the theme work. It has it's own "Private" folder with the style sheets and icons and everything in there. I don't understand why the root folder has duplicates of it. And what's more, the Wallpaper.html and "WeatherWidget.html" are the same file, just named differently. What is the point?!
 
don't yell at me if i'm wrong... but i think you edit the wallpaper.html file and within the style and body tags the top (under where it says background-color: none; margin: 0; etc etc) add

background-image: url("/private/var/mobile/Library/SpringBoard/HomeBackground.jpg");
background-size: 61%;

Hehehehe, I was just on the verge of trying this myself...I know it worked for LockMS, wasn't sure if it would here. The problem is that the html is still sized for the old res, and changing the dimensions does nothing.
 
The more I study this widget the more retarded it gets. I don't even understand how the folder structure of the theme works because it seems like the Weather Widget is all that's necessary to make the theme work. It has it's own "Private" folder with the style sheets and icons and everything in there. I don't understand why the root folder has duplicates of it. And what's more, the Wallpaper.html and "WeatherWidget.html" are the same file, just named differently. What is the point?!

how did the original poster get it to work then? his seems to be almost perfect :(
 
Status
Not open for further replies.
Register on MacRumors! This sidebar will go away, and you'll see fewer ads.