- 兼容版本
- 2.1
Description:
Displays a Countdown widget.
(Example of Countdown widget)
(Example of Countdown admin link)
(Example of Countdown admin page)
(Example of Options page)
(Example of User group permissions)
Features:
Enter link to the countdown.js file.
Language editing:
If your forum is in a language other than English, you can change the labels under each number of the countdown timer. This will require you to edit the countdown.js file. Edit the following section:
Code:
var CountdownLabelsArray = {
second: "SECONDS",
minute: "MINUTES",
hour: "HOURS",
day: "DAYS",
month: "MONTHS",
year: "YEARS"
};
Questions and Answers:
Q: Can I have more than one countdown at a time?
A: No.
Q: Is the countdown shown for the visitors timezone?
A: No. The countdown is shown in UTC.
Displays a Countdown widget.
(Example of Countdown widget)
(Example of Countdown admin link)
(Example of Countdown admin page)
(Example of Options page)
(Example of User group permissions)
Features:
- All phrases start with countdown_ for your convenience.
- Download Andy-Countdown-1.5.zip and unzip it.
- Copy the src/addons/Andy/Countdown directory to your server.
- Copy the countdown.js file to the js/xf directory.
- From the Admin Control Panel Install the add-on.
- From the Admin Control Panel select the Widgets under the Appearance tab.
- Click the Add widgets button.
- Select the Countdown widget.
- Widget key = countdown
- Title = (leave blank)
- Display in positions = Forum list: Sidebar
- Click Save.
Enter link to the countdown.js file.
Language editing:
If your forum is in a language other than English, you can change the labels under each number of the countdown timer. This will require you to edit the countdown.js file. Edit the following section:
Code:
var CountdownLabelsArray = {
second: "SECONDS",
minute: "MINUTES",
hour: "HOURS",
day: "DAYS",
month: "MONTHS",
year: "YEARS"
};
Questions and Answers:
Q: Can I have more than one countdown at a time?
A: No.
Q: Is the countdown shown for the visitors timezone?
A: No. The countdown is shown in UTC.