18
Jan
Written by: ame235
Latest version:
//Push notifications.
Collapse bug solved.
added onclick function on the notification events to reload notifications. (keeps reloading same data: no clear PUSHES)
can’t be a bug of mine: push symbol remains in status bar also long after reading.
If we have to see those notifications constantly, then:
Added icon for Facebook (this will enable you to add icons for other push apps by just reproducing the code.
//multi css files.
Abbadoned the idea of multi css files, i don’t have time enough for that.
//Appigo
bug for “no due date” solved,
will show “-” when no date set.
BTW, no compression on this version, so you can mod all of it.
just please leave credits & maybe donate something

January 18th, 2010 at 18:25
Are you going to add support for previewing emails with the new Lockinfo 2.0 soon?
January 18th, 2010 at 18:39
I still have the problem push isn’t going away after “reading”.
I use lockinfo 2.0 now and pushmail. I delete the notification and it is still shown…any idea (the status icon is going away!)
Luff
January 18th, 2010 at 18:40
Me again: with the 14.01. release it was working fine, but I get scrumbled text (not defined…), when I use it with lockinfo 2.0
January 18th, 2010 at 19:03
yeh, me again. clearing doesn’t work. seems like i have to stay with lockinfo 1.4 and the 14.1 release of this theme.
January 18th, 2010 at 19:03
for some reason the weather is stuck on loading. any ideas?
January 18th, 2010 at 19:06
Hmm, something is wrong…
The scrolling bug is back and isn’t going away now, and notifications are indeed not cleared. You can test it with the ToDo’s. It is a bug of the plugin, not yours. But you could solve it by simply hiding/removing the div’s of the PUSH messages.
I don’t know if this is the final release and you are starting your new project?
January 18th, 2010 at 19:19
To me this theme is almost PERFECT.
However, there are a couple of things I would consider before 1.0v release:
1.- email updating/previewing support
2.- rearrange Appigo tasks, as now the text match date/time, but they always take 2 lines, even when tasks are due the current day. In this case, only time shows, but a blank second line still remains.
January 18th, 2010 at 19:51
@StarSoft, (Luff):
bug of plugin ndeed, retested some other options, but nothing does.
Positive thinking: asa the plugin is updated, the theme is ready to work
I cannot hide the div of PUSH messages without a rule: what is the event that describes hiding showing div?
i mean, there still is collapse if that is all the problem…
//Scrolling bug is a pain in the a..
i don’t know where it comes from nor how to remove it. tried the big transparent div solution & others, nothing does.
apparently no scrolling bug on large amount of data. (that’s all i could notice)
@Michael:
you said the same thing i said in the post, better i must admit, but still: the same.
Plz stop that thing with 14.1 version. that has nothing to do with that version.
@jordandev & Grodi:
nope, this is not a native plugin.
it has less features than lockinfo, but is more good looking
BTW. if you find a way (read somewhere how) to make what you ask, thnxs for sharing
//appigo sorting is on it’s way.
January 18th, 2010 at 20:21
@ame235:
you say it has nothing to with v14.1 – but when i use v14.1 everything with push works (Lockinfo smaller then v2). If i use a newer version with the same lockinfo version it isn’t working…so Michael is not that far away…?
I there a chance to use v14.1 with lockinfo 2 – it is working with push going away, but, as mentioned above, the text is not shown in the right way.
It is such a greate theme – only the push thing is not working for me…
January 18th, 2010 at 20:57
hey- just _trying_ to help… i reproduced this with 3 (!!!) iphones – and luff has the same issue.
i can send you the working version – if you have no backup of this code – and then try yourself… sorry – this a a major bug because i’m constanly using push notifications.
For the last time and i will _never_ repeat this again:
14.1 + Lockinfo < 2: Working!
14.1 + Locking = 2: Strange text.
15.1, 16.1, .99-2, .99-4 + Lockinfo 1 or 2: Notifications don't go away.
This is NOT a lockinfo issue – it is working with other themes and li2.
Sorry again. Just trying to help. You've got my E-Mail for further questions.
January 18th, 2010 at 20:58
Correction:
14.1 + Locking = 2: Strange text, but Notifications dissapear after reading (!).
bye! Michael
January 18th, 2010 at 21:11
Got a problem, it is showing on the 5 day forecast 2 of the days Question marks, can you tell the fix for this, thanks
January 18th, 2010 at 21:39
Somehow, the weather isn’t working at all in this version..strange. It did work untill the update. So for now I’m back to the previous version. No harm..
@ame235
When the final (first) release is coming, will it it be a full version? So no files have to be replaced, only copied to the themes folder?
January 18th, 2010 at 21:53
@Michael
somehow in those days i had to do a workaround because some recieved a type of push JSON data and some another type.
Thnx for bothering and keeping backups of my versions (that is freaky! lol) but i have mines also
this was the workaround:
if (notifications[0].text == undefined){
notifications = notifications[0];
}
well indeed if we remove that notifications disappear after reading, but also show only undefined values before disappearing.
i’m trying to find a solution to that, not to making people see again undefined values. Going back to that version won’t help. But i really need your opinions without which i wouldn’t be at this point, so please continue because it’s helping a lot
January 18th, 2010 at 21:53
I love it, the only thing is I wish I could remove the Time and Weather as I like to use the default clock. Anyway I an completely remove the weather?
January 18th, 2010 at 22:38
@ame235
Cant post comment with code?
January 18th, 2010 at 22:41
@ame235
Ill send you a mail, i cant seem to be able to post my code here
January 18th, 2010 at 22:42
depends of the code, sometimes it works..
it’s a setting of my provider, asked for change won’t acknowledge for security reasons.
You can send by mail
January 18th, 2010 at 23:10
you won’t believe me but that was exactly the code i wrote (copy paste of end of function)..
but that doesn’t solution correctly the problem.
i’m not that in keeping track of removed messages since that array would keep on growing..
I mean: updatePUSH function modifies or hides data depending on this if:
(pushnDIV && notifications.length)
maybe the problems comes here: because of workaround notifications.length might be bad…
I can’t try this (facebook won’t let me send messages anymore..), but try just modding that conditional (around line 228) like this:pushnDIV && pushes.notifications.length
Not working, testing another solution.
January 18th, 2010 at 23:31
Start using Todo for your push notification testing, no problems with that here
That array would keep growing unless you clean it at a refresh. Messages which are not in the output of the plugin don’t have to be remembered in the hidePush array. The removal of the divs should be optimized tho as that is not really cleaning the code, but that is not too hard to come around.
I didn’t really test what the exact outcome is form the plugin, that will be my next step. I assumed your code wasn’t the problem but the plugin.
January 18th, 2010 at 23:32
@ame235
is there a way to have the mail and notifications showing on lockinfo without actually having to get a new mail or a new notification to have them appear?
and i would actually like to have calendar be the first one to appear right after the time and the weather, but it seems like its set for mail to be the first one to appear and then calendar.
is there arrange them to your own liking?
thanks
January 18th, 2010 at 23:37
@Lencho
Check out the config.js in the theme folder. There is everything in it you need. Start editing…
January 19th, 2010 at 00:27
@Starsoft:
Your solution works great,
and for me there is no need to make the “cleared notifications array” as when i receive a new notification after having cleared some,
i don’t see precedent cleared notifications but only the one received.
Is it the same for you?
January 19th, 2010 at 00:29
Weather icon and temps do not show up. Am I missing something? The current version does not have a config_weather.js file (the file where I can input my default location). In fact I don’t see where this information is input. Is this the reason I do not get the weather icon and temps? If so, where do I input my default location? Please advise.
January 19th, 2010 at 00:44
Never mind!!! I didn’t release you now use the “Weather Icon” plug-in!
January 19th, 2010 at 00:47
I meant to say “I didn’t REALIZE”
January 19th, 2010 at 00:49
@ame235
For me when i hide some notifications and i receive a new one, the updatePush function is reloaded and the hidden ones are displayed again. (this is if i didn’t start the application which send the notification)
Now i have to tell you I still use LockInfo 1.14 so there might be the difference.
Also i just noticed that the total notifications variable needs to be updated or something, as when i have for example 9 notifications (IM+) and i hide a couple the “show more” button is not showing properly. Also when i hide some notifications and i click the show more button it will show all the hidden ones also.
But like i said, it might be a difference between LockInfo 2.0 and 1.14. You would need to have ppl test it for LockInfo 2.0 and see if it works like that. Not all notifications are cleared after starting the applications (plugin bug).
So the function needs some tweaking. But i’m glad it works properly for you. Just would have more ppl test it after solving the show more problem.
January 19th, 2010 at 01:07
@starsoft
ill see if i can figure it out… if not ill ask some questions
and i cant scroll to see the rest of the lockinfo– anyone having this problem as well?
January 19th, 2010 at 01:16
@Lenko
That is a known problem, it is unknown why it happens. We noticed if you show more information (maybe by changing the config.js the amount of entries for calendar) or by clicking the weather or clock it might disappear.
January 19th, 2010 at 01:27
@ame235,starsoft
i suck at css, i cant even display the one’s i want on the iphone and rearrange them. i read config.js tried deleting adding stuff and nothing
sorry =(
any help
January 19th, 2010 at 01:42
//latest work:
-redesigned subsections to show as tables instead of divs (might resolve scroll problem as tables have better handle)
-normalizing the css to have standard styles: left time, right title, right under title text.
same for all: twitter/mail/calendar/sms/calls….
-solved (thnx also to StarSoft) the push cleaning thing, now it’s by clicking on pushes themselves, if you prefer to have a “clean” button at the end of notifications, tell me.
January 19th, 2010 at 06:19
Do you know anything about adding the Things plugin to this theme. I know nothing about how to add a plugin, but it should be fairly similar to the way you added the ToDo plugin. I can point you to the plugin in the macthemes forum if you would like.
January 19th, 2010 at 08:04
Hello,
Excellent work, I’d make a donation next month, because I am a bit light level finance!
Otherwise’m about to adapt your work (the push) on the LOCKINFO gruppled, and am having some problems:
1 / notifications do not disappear LOCKINFO, once they read.
2 / I tried to sub categories for different Push (pushme.to, facebook …)
Have you a mail where I can send you my work, to have your opinion on the subject?
Otherwise, even very good job!
Phoenix92500
January 19th, 2010 at 09:59
@ame235:
is there allready a new version to test the push thing? Did I understand your comment right that it should work now?
January 19th, 2010 at 11:59
@ame235
I cannot manage to delete the push notifications… and i also think that maybe a button like in the native plugin is better…
thanks!
January 19th, 2010 at 16:04
new version is here:
http://www.ame235.com/ame235/
comments closed here.