Xen Notices [Deleted]

Hey Chris,

Just been messing with this a bit, when a notice is dismissed it seems to redirect the user to the forum index, can they remain on the page they were already on?

imho I think all times should be in seconds instead of millisecond. I know it's not tough math, but decimals of seconds are easier to work with than 1000s of milliseconds.

Not sure if it's a bug with my install or chrome (seems to work okay in FF), but when using the easy custom style, when I change a colour and click preview the notice is black and white. I have to save and reload the notice page before I can preview it correctly.

Thanks for adding the days to hide notification option, that'll be handy :)
 
I just noticed that the default notifications don't seem to have border radius in FF for some reason?

Has the css got all the right prefixes that are needed lik moz, webkit, o etc perhaps?
 
I have a question, when adding audio the first time the audio plays for users it echos over itself. Am I doing something wrong?
 
Looks like our problem was an issue with the CDN on our subdomain not pushing the javscript file properly. Waiting for our hosts to fix it.

Cheers Chris
What CDN do you use?

I have someone else who is having an issue with the Tiny MCE editor who have a CDN / subdomain. Clicking on things like Insert Link, Insert Image etc. do not work. I can't work out what the problem is. Do you have the same issue?
 
It's all setup through our hosts but they use maxcdn. The issue was that we didn't have it setup separately for the sub domain where our dev install was. As we don't really need a CDN just for our dev install we disabled it for the sub domain. Not sure if that helps you though.
 
Hey Chris,

Just been messing with this a bit, when a notice is dismissed it seems to redirect the user to the forum index, can they remain on the page they were already on?

imho I think all times should be in seconds instead of millisecond. I know it's not tough math, but decimals of seconds are easier to work with than 1000s of milliseconds.

Not sure if it's a bug with my install or chrome (seems to work okay in FF), but when using the easy custom style, when I change a colour and click preview the notice is black and white. I have to save and reload the notice page before I can preview it correctly.

Thanks for adding the days to hide notification option, that'll be handy :)
I just noticed that the default notifications don't seem to have border radius in FF for some reason?

Has the css got all the right prefixes that are needed lik moz, webkit, o etc perhaps?

Notification dismissal can be improved, but I need to work out how to achieve this with ajax. Obviously it is achievable as default notices are dismissed in the same way.

I agree with the seconds/milliseconds but at some point, for the sake of the javascript, it needs to be converted to milliseconds.

If this was changed, then the update would have to include several lines when the javascript is called such as {xen:calc {$notification.showtime} * 1000}. That means any notifications will need to be adjusted accordingly once the update is released. If people don't update their notifications accordingly then there will be times such as 1000000 milliseconds (because a default value of 1000 milliseconds will automatically become 1000000 milliseconds until you adjust your notification to be 1 second). When I said previously I had fixed this, it was using some logic to automatically multiply this down but it became problematic, thus why that was never released.

If you guys say to me: Yes, it should be in seconds and I don't mind updating my existing notifications to seconds from milliseconds after the update then I will include it in the next version :)

Border radius - yikes - I will need to check that out. Hopefully I haven't missed browser prefixes in the CSS - I will investigate and fix.

With regards to the previews - this is slightly problematic. I believe if you preview a notification, close it, and then preview it again, it will display correctly. I do not currently have a fix in mind for this.
 
Border radius - yikes - I will need to check that out. Hopefully I haven't missed browser prefixes in the CSS - I will investigate and fix.
You don't need vendor extensions for border radius anymore, those who support it support the w3c standard as well. Besides, if I am not mistaken, xF automagically adds the extensions even if you just use the border-radius rule.
 
I just noticed that the default notifications don't seem to have border radius in FF for some reason?

Has the css got all the right prefixes that are needed lik moz, webkit, o etc perhaps?

Thanks MagnusB

Hmm ok, is anyone else experiencing this?

Chrome is playing up for me anyway so good opportunity to try FF again.
 
I just checked it out, in Gritter css you have:
Code:
.gritter-item {
    display:block;
    color:#eee;
    padding: 15px 11px;
    font-size: 11px;
    font-family: "Verdana", "Tahoma", "Arial", sans-serif;
    position:relative;
    margin:0 0 10px 0;
    background:#252525;
    background:rgba(0,0,0,0.855);
    border: 2px solid #252525;
    border: 2px solid rgba(0,0,0,0);
    -moz-border-radius:10px;
    -webkit-border-radius:10px;
}

For some reason, firefox doesnt apply that css, I think you need to include the w3c standard in there somewhere. I tried googling it, but I found no evidence that Mozilla has dropped support for the -moz extension.....

EDIT: Looking through your CSS files gives me cold shivers down my back. I am going on vacation next week, I will try to take a look at it then and see if I can't help you clean it up a bit... :rolleyes:

EDIT2: And above rule, is there a reason for you using two colors for the border? One is black with 0 alpha and the other is solid greyish.
 
I have a question, when adding audio the first time the audio plays for users it echos over itself. Am I doing something wrong?
I've not seen (heard :p) this before - have you got a URL where I can test?

What browser are you using?

Are you sure you haven't got the sound assigned to more than one notification?
 
I just checked it out, in Gritter css you have:
Code:
.gritter-item {
    display:block;
    color:#eee;
    padding: 15px 11px;
    font-size: 11px;
    font-family: "Verdana", "Tahoma", "Arial", sans-serif;
    position:relative;
    margin:0 0 10px 0;
    background:#252525;
    background:rgba(0,0,0,0.855);
    border: 2px solid #252525;
    border: 2px solid rgba(0,0,0,0);
    -moz-border-radius:10px;
    -webkit-border-radius:10px;
}

For some reason, firefox doesnt apply that css, I think you need to include the w3c standard in there somewhere. I tried googling it, but I found no evidence that Mozilla has dropped support for the -moz extension.....
Embarassing - I always include the full array of border-radius attributes just for compatibility's sake - I will fix that. Thanks for checking :)
 
Well, I just experimented a bit with it, and the reason for me not supplying the fix is that for some reason all my notifications disappeared after applying it. However, I think that was something else, cause I did an element search and the html wasn't there. It might have been me having dismissed it. Anyway, what seemed to solve it was just replacing those 2 vendor extenionized CSS properties with the W3C one, or just add the w3c one above those two.
 
Change:
Code:
.gritter-item {
    display:block;
    color:#eee;
    padding: 15px 11px;
    font-size: 11px;
    font-family: "Verdana", "Tahoma", "Arial", sans-serif;
    position:relative;
    margin:0 0 10px 0;
    background:#252525;
    background:rgba(0,0,0,0.855);
    border: 2px solid #252525;
    border: 2px solid rgba(0,0,0,0);
    -moz-border-radius:10px;
    -webkit-border-radius:10px;
}
To:
Code:
.gritter-item {
    display:block;
    color:#eee;
    padding: 15px 11px;
    font-size: 11px;
    font-family: "Verdana", "Tahoma", "Arial", sans-serif;
    position:relative;
    margin:0 0 10px 0;
    background:rgba(0,0,0,0.855);
    border-radius: 10px;
}
 
I'd actually recommend waiting for the next release (in a few minutes), so as not to modify the template thus breaking future updates.
 
What CDN do you use?

I have someone else who is having an issue with the Tiny MCE editor who have a CDN / subdomain. Clicking on things like Insert Link, Insert Image etc. do not work. I can't work out what the problem is. Do you have the same issue?
Hi Chris - I bought the add-on earlier today and have been playing around with it, but am having problems using the TinyMCE editor because of our CDN, as well. We use MaxCDN in case it matters. It looks like since the whole js folder is mirrored over to the CDN, TinyMCE is trying to run from the CDN but is pulling up a blank page instead.

Is there a way to disable TinyMCE and just have it be a HTML field?
 
Yorick updated Notifications - powered by Gritter with a new update entry:

Includes some styling fixes, the ability to enable/disable the Rich Text Editor and more...

1.4a Fixes:

  • All browsers that matter now render notifications with border-radius
  • Cleaned up CSS code (thanks MagnusB)
  • Improved RGBA compaibility by using XenForo's rgba.php which replaces an rgba CSS rule with a transparent .png. This means transparency should now work on all browsers. Even IE6.

1.4a New Features:
  • You now have 3 configurable options to display access to the Notification Center:
    • Nav Tab
    • Moderator bar (will only be...

Read the rest of this update entry...
 
I have multilanguage forum.
I would like that notifications with english text would be if user switch on english language and russian text in notifications if user switch to russian language of forum. How I can do it?
 
Back
Top Bottom