Today, we're showing you some exciting changes to Notices that we're bringing to you in XenForo 1.5:
Displaying an image
With the introduction of the above option it is now possible to display an image on a notice. You can either display the current visitor's avatar or provide a path or URL to one:
This addition should help draw more attention to your notices.
Visibility options
It is currently possible to hide notices with relative ease using some custom CSS. You can still do this to have tighter control, but the new option makes it even easier.
The exact breakpoints will depend on the properties set on the style used.
Floating notices
In XenForo 1.5 there are now two types of notices. Block notices behave in the familiar way as pictured above. Floating notices are a completely new way to display your notices.
Floating notices will appear in the bottom right corner of the screen. In addition to the usual options, floating notices also support some new options:
There are four colour styles, two of which derive from your Color Palette. You can also provide a custom class name to style the floating notice however you like. You can see all five of these options pictured below (the last one being a custom class created manually):
You can also control how long the floating notice will display for, and fade the notice in after a period of time.
Guest dismissal
We now give guests the opportunity to dismiss notices. For guests, the mechanism for dismissing a notice is to set a cookie in their browser.
The cookie that we set is valid for the current browsing session. To restore dismissed notices a guest can clear their cookies, move to another device or restart their browser.
Resetting notices
Sometimes it may be necessary to re-use a notice. For example, you may wish to create a similar notice without reconfiguring the criteria.
Once reset, the notice will begin to display to any registered member meeting the criteria, even if they previously dismissed it.
That's all for today, until next time...
Displaying an image
With the introduction of the above option it is now possible to display an image on a notice. You can either display the current visitor's avatar or provide a path or URL to one:
This addition should help draw more attention to your notices.
Visibility options
It is currently possible to hide notices with relative ease using some custom CSS. You can still do this to have tighter control, but the new option makes it even easier.
The exact breakpoints will depend on the properties set on the style used.
Floating notices
In XenForo 1.5 there are now two types of notices. Block notices behave in the familiar way as pictured above. Floating notices are a completely new way to display your notices.
Floating notices will appear in the bottom right corner of the screen. In addition to the usual options, floating notices also support some new options:
There are four colour styles, two of which derive from your Color Palette. You can also provide a custom class name to style the floating notice however you like. You can see all five of these options pictured below (the last one being a custom class created manually):
You can also control how long the floating notice will display for, and fade the notice in after a period of time.
Guest dismissal
We now give guests the opportunity to dismiss notices. For guests, the mechanism for dismissing a notice is to set a cookie in their browser.
The cookie that we set is valid for the current browsing session. To restore dismissed notices a guest can clear their cookies, move to another device or restart their browser.
Resetting notices
Sometimes it may be necessary to re-use a notice. For example, you may wish to create a similar notice without reconfiguring the criteria.
Once reset, the notice will begin to display to any registered member meeting the criteria, even if they previously dismissed it.
That's all for today, until next time...
Last edited: