MyBB.de Forum

Normale Version: Timed Notices
Du siehst gerade eine vereinfachte Darstellung unserer Inhalte. Normale Ansicht mit richtiger Formatierung.
Eine neue Erweiterung wurde veröffentlicht: Timed Notices

Zitat:This plugin allows an administrator to define a series of "notices" (HTML accepted) that will be displayed under the header for every page on the forum. This is useful if, for example, you need to alert users to certain issues or you want to display banner ads on a specific date, or really just anything that needs to be displayed on a timer.

The plugin will allow you to create two different kinds of notices, recurring notices and finite notices. Recurring notices will occur every week, from the day and time you specify. For example, if you want to display "Monday Night Football tonight, go watch!" from 5 PM to 10 PM every Monday, you can set that up with this plugin. Also, you can define a finite event. An example of this would be a Holiday, like Christmas. You could have "Merry Christmas" display from 0:00 December 25th, 2008 to 23:59 December 25th.

This plugin makes one modification to a template, header. In this template, it finds:
Code:
            <div id="panel">
                {$welcomeblock}
            </div>
and replace it with this:
Code:
            <div id="panel">
                {$welcomeblock}
            </div>
{$timednotice}

So, if it doesn't display, your header template was modified and it wasn't able to find what it needed. If this is the case, you will have to make the modification by hand.

Also, it will add two global templates, timednotice_panel and timednotice_entry. timednotice_panel is the panel itself, which houses all the notices. timednotice_entry is each individual notice (one thing you may want to change depending on if you want the name of the notice to show up or not, removing "<strong>{$timednotice_name}</strong> : " from timednotice_entry will change the notice to only display the message, not the name).

Finally, in the Admin CP, a new option will be added (you will have to refresh the side panel by logging out of the Admin CP and logging back in when initially activating the plugin) under "Board Settings" called "Modify Timed Notices." From here, the whole plugin can be administered.

Troubleshooting:
If you are having problems with the time being an hour ahead or behind, check your time settings in the Admin CP. To change/check them, go to the Board Settings, and click on "Date and Time Formats".

Preview: [Bild: http://mods.mybb.com/uploads/previews/67....thumb.jpg]