前言介紹
- 這款 WordPress 外掛「Euro 2012 Predictor」是 2012-02-22 上架。
- 目前有 10 個安裝啟用數。
- 上一次更新是 2012-12-17,距離現在已有 4521 天。超過一年沒更新,安裝要確認版本是否可用。以及後續維護問題!
- 外掛最低要求 WordPress 3.1 以上版本才可以安裝。
- 有 1 人給過評分。
- 還沒有人在論壇上發問,可能目前使用數不多,還沒有什麼大問題。
外掛協作開發者
外掛標籤
soccer | football | prediction | competition | fantasy football |
內容簡介
這個外掛設計是用來收集使用者對於歐洲杯2012足球賽每場比賽的預測。使用者預測小組賽和淘汰賽每場比賽的比數,並根據他們的預測準確度獲得分數。此外,此外掛還可以顯示比賽結果、使用者排名和使用者預測。這是Beta版本,可使用並且只需要進行一些測試。不完整的翻譯是從世界杯預測器中提取的。如果您遇到錯誤,請在支援論壇中回報問題。此外掛的功能包括:易於添加比賽、場館、結果,供使用者預測每個歐洲杯2012的比賽。側邊欄小工具用於顯示預測排名和已登錄使用者的預測、倒數計時器到下一個預測截止時間、比賽結果和小組排名、可配置的得分系統以為使用者的預測分數、切換比賽時間到本地使用者的瀏覽器時間等。此外,可以使用德語、英語、西班牙語、巴西葡萄牙語、荷蘭語、瑞典語、阿拉伯語、義大利語、俄羅斯語、波蘭語等多種語言進行翻譯。有關更多翻譯,請訪問網站。如果您想幫助翻譯,請訪問網站。安裝和啟動後,請確認團隊和比賽時間表是否已載入。如果未顯示任何團隊或比賽,請查閱支援論壇。為了管理團隊、比賽等,已登錄的使用者必須擁有WordPress的能力“euro2012_manager”。在預設情況下,此外掛會將此能力添加到管理員和編輯角色中。如果歐洲杯2012菜單選項不可用,請驗證currrent使用者是否具有“euro2012_manager”的能力。
原文外掛簡介
This plugin is designed to collect users predictions for each of the matches in the Euro 2012 championship.
Users predict the score for each match in the group and knockout stages and are awarded points based on the
accuracy of their prediction.
Match results, user rankings and users’ predictions may also be displayed using this plugin.
Beta version – Plugin usable and just requires a little testing. In addition the translations below
are not complete as they have been lifted from the World Cup Predictor
Please report bugs etc. in the support forums
Features
easy adding of matches, venues, results
entry form for users to make predictions on each Euro 2012 game
sidebar widget to display prediction standings
sidebar widget to display currently logged in users’ predictions
countdown timer to next prediction deadline
display of match results and group tables
configurable scoring system to award points to users’ predictions
toggle match times to local users browser time
Translations
Thank you to the following for language translations available in:-
German. – Fred Kuhl.
French – Robert Maculewicz.
Spanish – Domingo Robaina
Brazilian Portuguese – Ed Torres
Dutch – Deborah Kerkhof
Swedish – Axel
Arabic – Modar Soos
Italian – Giulio Giorgetti
Russian – Oles Lukas
Polish – Charls from Posen
The .pot file is shipped for other translations – send them in
Other translations may be available at Translations
If you would like to help with translations please visit the page above.
More
If you do download this plugin please come back and rate it. For any rating less than 5 stars
I would love to hear your feedback to help improve the plugin. Usability issues, bugs, enhancements
and any other comments welcome to make this plugin better. Support
For a more comprehensive plugin to predict Football League matches using multiple leagues over many seasons
visit the Fantasy Football plugin
See my other plugins and work
Usage
After installation and activation verify that the teams and match schedules have been loaded.
If no teams or matches are shown then consult the Support Forums
In order to manage the teams, matches etc. the logged in user must have the WordPress capability euro2012_manager. By default
the plugin adds this capability to the Administrator and Editor roles. If the Euro 2012 menu option is not available verify that
the currrent user has the euro2012_manager role. You may need to install a capability manager plugin to manage roles and capabilities.
Users of the blog do not need any special role or capability to make predictions.
You may wish to update the URL setting via the Admin->Euro 2012 menu for each team or venue to add links to pages on your site.
Predictions
Create a post or page with the shortcode [euro-2012-predictor] to display an entry form. Other shortcodes are available to display prediction results
and match results. See below for more details.
Users can only predict on matches that have not yet started. Once a match has started it is removed from the entry form preventing further
predictions.
Match Results
As each match is complete, use the Matches admin menu option to enter the goals scored and check the ‘Match Finished’ checkbox.
The group tables and match results displayed by the shortcodes will be updated.
Once a team is confirmed as coming first or second in the group stage, edit the Matches to change the placeholder team to the
team that has qualified to the next stage. For example, if Greece win Group A, edit Match Number 25 and change the
team from ‘Winner Group A’ to ‘Greece’.
This change is then reflected in the knockout results table.
Options
None as yet.
Points Calculations
Once a match has finished Modify the match and enter the final score in the Matches tab and check the ‘Match Finished’ box. The displayed group tables
will then update with the latest team standings.
To update the users’ prediction scores, select the match in the ‘Predictions’ menu and click ‘Score Selected’. This updates the
users’ scores in the widget and results tables.
Points are assigned according to the settings in the ‘Configure Scoring’ tab.
NOTE – The bonus points are cumulative (added to the scores for exact, win and draw).
Therefore be aware that both the bonus goal and bonus goal difference points amounts will always be added
to the points for a win because the goals and goal difference are the same.
The bonus goal difference points are always added to a draw because the goal difference will match.
Adjust the win and draw points appropriately if either of the bonus points are non-zero.
Shortcodes
Use the following shortcodes to display a prediction form, match results, users’ rankings.
Prediction Form
You can display an entry form for predictions and the results of matches and predictions with the following shortcodes in a post or page.
[euro-2012-predictor]
Display an entry form for all the configured matches where the kickoff time is before the current date and time.
The form will display a countdown to the next match deadline. Once the match kickoff time has passed the match will
no longer be displayed and users cannot make predictions.
You may optionally supply the attribute stage=n where n is the stage id to limit the matches to a particular group.
To display just the matches in the group stages, not the knockout stages, use the attribute group=1,
e.g. [euro-2012-predictor group=1].
To display matches sorted by kickoff time, rather than by each stage, use the attribute kickoff=1 and optionally a
limit, e.g. [euro-2012-predictor kickoff=1 limit=5] to display the next 5 matches.
To remove the ability to predict penalties during the knockout stages use the attribute predict_penalties=0.
Group Tables
[euro-2012-predictor tables=1 stage=n show_results=n]
Display the group tables with the match results once the match has finished and the results have been entered.
You may optionally supply the attribute stage=n where n is the stage id to limit the matches to a particular group.
You may optionally supply the attribute show_results=n where n = 0 or 1 to hide or show the match results below the group table.
Knockout Table
[euro-2012-predictor knockout=1]
Display the results of the knockout stages of the tournament. See Screenshot
Match Results
[euro-2012-predictor results=1 stage=n]
Display a table of match results. You may optionally supply the attribute stage=n where n is the stage id to limit the matches to a particular group.
Users Predictions
[euro-2012-predictor scores=n]
For each match ID, specified by n, display a table of every users’ predictions and the points awarded. Note – users predictions will not be shown
if the match kickoff time has not yet passed.
This is to prevent users viewing each others predictions before the match has started.
Use the option [euro-2012-predictor scores=-1] to display all predictions for all matches in one table.
Optionally add the attribute highlight="css-styles" to add a CSS
style to the table row of the currently logged in user. For example [euro-2012-predictor scores=1 highlight="background:red;font-weight:bold"].
Logged in Users Predictions
[euro-2012-predictor user=1 show_total=n show_results=m]
For the currently logged in user display the list of predictions for that user. If n is non-zero then show the total points for this user
at he foot of the table. If m is zero do not show match results against each prediction. Also available via the Widgets.
You may also display just the users total via [euro-2012-predictor show_total=1] without the table.
Rankings
[euro-2012-predictor ranking=1 limit=999 avatar=1]
Display a summary of all the users’ points as a ranking table. Optionally add the attribute highlight="css-styles" to add a CSS
style to the table row of the currently logged in user. For example [euro-2012-predictor ranking=1 highlight="background:red;font-weight:bold"].
To hide the display of a users’ avatar set avatar=0
Also available via the Widgets.
User Rankings Widget
The widget displays similar output to the shortcode [euro-2012-predictor ranking=1 limit=9999]
Drag and drop the widget to a sidebar and configure. Multiple instances of the widget, each configured separately, may be
placed on a sidebar.
If not blank, the URL option adds a link to the full results page using the title below as the link text.
User Predictions Widget
The widget displays the list of the currently logged in users’ predictions similar in output to the shortcode [euro-2012-predictor user=1]
Drag and drop the widget to a sidebar and configure.
Match dates and times
All match kickoff times and dates are displayed, by default, in match local time using the locale and date/time formating
settings from Admin->Settings->General Note during June, Poland is UTC+2 and Ukraine UTC+3
If you have changed the match times in the admin screens from UTC, this will NOT work correctly.
Convert kickoff times to local timezone
If you prefer to display kickoff times according to the user’s timezone then check the ‘Convert kickoff times to local timezone’
option setting in the plugin Overview page.
Note – The time is converted and displayed according to the settings in the user’s browser/operating system.
Toggle timezones
To allow a user to toggle between match local time and browser local time you need to add the following code in your
blog post, or sidebar, that contains one of the plugin shortcodes: For example,
Match times are currently set to match local time, please click here to convert to your time zone.
The text can be changed to anything appropriate and include images etc. The key items are: id="tzLocal" and id="tzClient" with the
second item having style="display:none". Users clicking on either of these sentences will toggle all match kickoff times between
and browser local time. It does rely on the users’ browser being configured correctly for their timezone and locale.
By default the plugin will also attempt to display match kickoff times in the users local language.
To disable this feature uncheck the setting ‘Convert kickoff times to blog timezone’ on the overview screen.
各版本下載點
- 方法一:點下方版本號的連結下載 ZIP 檔案後,登入網站後台左側選單「外掛」的「安裝外掛」,然後選擇上方的「上傳外掛」,把下載回去的 ZIP 外掛打包檔案上傳上去安裝與啟用。
- 方法二:透過「安裝外掛」的畫面右方搜尋功能,搜尋外掛名稱「Euro 2012 Predictor」來進行安裝。
(建議使用方法二,確保安裝的版本符合當前運作的 WordPress 環境。
0.2 | 0.3 | 0.4 | 0.5 | 0.6 | 0.7 | 0.8 | 0.9 | 0.9.1 | trunk |
延伸相關外掛(你可能也想知道)
Fantasy Sports Widget 》想像一下最優秀的 Fantasy Football 網站被整合到一個新聞源中,並巧妙地嵌入到你的網站側邊欄小工具中。現在你的願望能夠實現了,Fantasy Knuckleheads 搜羅...。
Fan Victor 》使用這款 Fantasy Sports WordPress 外掛,您可以在幾分鐘內建立一個幻想體育網站。這款外掛可以讓您的會員花費他們所擁有的積分,參加每日預測體育賽事結果...。
Fantasy Football 》如果您想要在您的幻想美式足球網站或博客中增加自動更新的內容,可以透過官方「Fantasy Nerds WordPress Fantasy Football Plugin」外掛添加FantasyNerds.com...。
Victorious 》這個外掛可以將您的 WordPress 網站轉換成全功能的幻想/博彩運動或活動遊戲平台。您可以創建各種遊戲風格的比賽,例如幻想選秀、挑選、幻想投注等等。您可以...。
Football Predictor 》這個外掛是為了收集使用者對於 2018 年世界盃每場比賽的預測而設計。, 使用者可以預測小組賽和淘汰賽的每場比賽的分數,根據他們的預測準確性得到積分。該外...。