Descripción
This plugin adds a fantasy sports pool to your blog. Visitors of your website can predict outcomes of matches and earn extra points with bonus questions. Every player can view scores and charts of the other pool contenders.
Este plugin instala algunas tablas personalizadas en la base de datos y lleva información de partidos para al copa del mundo FIFA 2022, pero se puede rellenar fácilmente con la información de partidos para otros campeonatos o deportes. Por favor, ten en cuenta que al desactivar este plugin también pueden borrarse todos los datos del plugin de la base de datos, por lo que, por favor, asegúrate de que está activada la opción «Mantener los datos al desinstalar» en la página de ajustes si no quieres perder tus datos (está activado por defecto desde la versión 2.3.1).
Originalmente programé esta quiniela en PHP como una web independiente para el campeonato UEFA 2000 y, desde entonces, volví a escribirlo varias veces para cada campeonato europeo y la copa del mundo. Cada año le añadía nuevas características. En 2012 decidí volver a escribirlo como un plugin para WordPress y lo subí al directorio de plugins. Espero que te guste.
¡Un agradecimiento especial a todos los usuarios del plugin que han donado algo de dinero! Y también a los traductores que han encontrado tiempo para traducir las muchas etiquetas de este plugin. Y gracias a todos los usuarios que han informado de fallos y ayudado a mejorar el plugin.
Características
- Los usuarios pueden predecir el resultado de los partidos.
- Cálculo automático para la clasificación de la quiniela o define tu propia clasificación personalizada para un grupo de partidos.
- Puedes añadir preguntas de bonificación para más diversión (respuesta simple o elección múltiple).
- Añade tu propio información de equipos y partido para usar el plugin en otra competición (nacional).
- Importar o exportar la programación de los partidos.
- Cálculo automático para la clasificación del torneo.
- Opciones configurables para los marcadores.
- Usa las páginas integradas y/o shortcodes para añadir la quiniela a tu blog.
- Usa ligas diferentes para tus usuarios (opcional).
- Los usuarios tienen gráficos donde sus puntuaciones son representadas y pueden compararse con otros jugadores. (Solo está disponible si se descarga por separado la API de gráficos Highcharts. Mira la ayuda para más detalles).
- Muchos widgets y shortcodes para mostrar información del campeonato o de la quiniela.
- Páginas de información adicional para estadios y equipos.
- Añade tu propia funcionalidad a través de filtros y acciones (para algunos ejemplos, mira la página de ayuda en la administración o esta entrada en el foro).
- WP-CLI support for calculating the user ranking (much faster than a calculation via the admin).
- WP-CLI support for importing match results via a csv file.
Documentation
The plugin has a help file in the admin that contains a lot of information. But if you like a step by step tutorial, I can recommend the following: Janek from WP Simple Hacks website made a very nice guide about my plugin. It even has a video where he explains how to set up the plugin.
Otras cosas
- This plugin requires WordPress 4.8 or higher, PHP 7.4 or higher and jQuery 1.4.3 or higher.
- Si quieres usar la característica de gráficas, por favor, descarga la API Highcharts desde http://www.highcharts.com/download (para los detalles, mira «Instalación» o la página de ayuda del plugin en la administración de WordPress).
Si encuentras fallos, por favor, contacta conmigo a través del foro de soporte. Si te gusta el plugin, por favor, valóralo en la página del plugin en WordPress.org.
Localizaciones
If someone wants to help translate the plugin in another language, or help keeping the existing translations up-to-date, please visit the plugin’s page on translate.wordpress.org. Please read the information on the website carefully if you want your translation work to be reviewed and approved: After your contribution.
A big shout-out to all the translation contributors and editors that helped translating the plugin so far. Thank you!
The FAQ contains information on how to use a custom translation. I will keep including the pot language file in the plugin as a starting point for custom translations.
Shortcodes
El plugin tiene los siguientes shortcodes. Mira la página de ayuda en la administración para información adicional.
- fp-predictions
- fp-predictionform
- fp-matches
- fp-match-scores
- fp-question-scores
- fp-next-matches
- fp-last-matches
- fp-user-score
- fp-user-ranking
- fp-ranking
- fp-countdown
- fp-group
- fp-link
- fp-register
- fp-totopoints
- fp-fullpoints
- fp-goalpoints
- fp-diffpoints
- fp-jokermultiplier
- fp-plugin-option
- fp-league-info
- fp-chart-settings/fp-stats-settings
- fp-user-list
- fp-money-in-the-pot
- fp-last-calc-date
Plugins y temas incompatibles
Los siguientes plugins se han reportado como incompatibles con el plugin Football Pool. Si tienes una solución y/o eres el autor del plugin puedes contactarme en wordpressfootballpool [at] gmail [dot] com. Si tienes problemas con otro plugin que no está en la lista, por favor házmelo saber.
Basically, every caching solution should be tested with care.
- DB Cache Reloaded Fix (v2.3)
- Cimy User Extra Fields (v2.6.1) cuando se usa la opción de confirmación por correo electrónico.
- Easy Timer (para football pool versión 2.3.8 e inferior)
- Tema Gadgetry (ThemeFuse framework)
- memcached
Algunos temas evitan que el plugin muestre su contenido. Mira esta entrada en el foro para tener una idea de como resolverlo.
Capturas
Predict matches via a form in your WordPress site Gráficas de marcadores para múltiples jugadores Match predictions and scores per user Clasificaciones de grupo User ranking Football Pool is packed with several widgets Admin Screen: plugin options Pantalla de administrador: cambiar resultados de los partidos. Admin Screen: add a shortcode via the classic editor
Instalación
Para usar tu propia traducción personalizada mira el FAQ para más información acerca de traducir el pugin.
- Upload
football-pool.zip
in the plugin panel (Plugins » Add New » Upload Plugin) or unzip the file and upload the folderfootball-pool
to the/wp-content/plugins/
directory on your server. - Activa el plugin a través del panel
Plugins
en WordPress. - Edita la configuración del plugin a través del menú de la administración.
- Opcional: añade las páginas de la quiniela a tu menú o usa algún otro método para enlazar a las páginas.
- Opcional: añade los widget de «Football pool» a tu barra lateral.
- Opcional: añade preguntas de bonificación.
- Opcional: «actualizar» los usuarios existentes de tu blog como jugadores de la quiniela.
- If you want to use the charts feature please download the Highcharts API (http://www.highcharts.com/) and put the
highcharts.js
file in the following path:/wp-content/plugins/highcharts-js/highcharts.js
. Make sure you use the classic js file including the styling. If you use the theme-less version, then you’ll also need to include the highcharts.css code in your theme.
Después de que la quiniela se ha establecido, todo lo que debes hacer es monitorear los usuarios que se suscriben y llenar los resultados correctos para los partidos y las respuestas correctas para las preguntas de bonificación.
FAQ
-
¿Hay muchas opciones, necesito cambiarlas?
-
Puedes hacerlo, pero no es necesario. Con los ajustes por defecto el plugin debe estar bien. Puedes jugar con las opciones antes de empezar la quiniela.
-
El cálculo de la clasificación muestra un tiempo estimado restante de varias horas. ¿Por qué?.
-
El cálculo de la cantidad total de tiempo restante es basado en el tiempo que tomó completar un solo paso y esto se multiplica por el número total de pasos restantes para el calculo. Si el tamaño de los pasos (puede ser establecido en el wp-config.php) de los primeros cálculos es mucho mas grande que los pasos de los cálculos que siguen, entonces al principio el tiempo total de cálculo puede ser muy alto.
O, quizá, solo tienes una enorme base de datos de usuarios, clasificaciones y partidos. Si ese es el caso, entonces el cálculo podría ser correcto y el tiempo total para el cálculo solo tarda años para completarse. Como referencia, hice pruebas en mi portátil con 2000 usuarios, 50 partidos, un par de preguntas de bonificación y 3 clasificaciones personalizadas y ese cálculo tardó aproximadamente 45 minutos para completarse con los tamaños de paso por defecto. Y, al hacer ese mismo cálculo en la línea de comandos usando WP CLI, tardó menos de 10 minutos para completarlo.
-
¿Tienes un tema que pueda usar con tu plugin?
-
No, no soy un diseñador, así que no tengo las habilidades para hacer uno.
-
Instale el plugin, pero no hay partidos, ¿que pasó?
-
Desde la versión 2.0.0, el plugin no añade los partidos en la primera instalación. Pero sí contiene un ejemplo de programación de partido como un archivo CSV exportado. Ve a la página de administración de partidos y haz una importación de un archivo de programación («Importar partidos») si quieres usar este archivo de ejemplo.
-
¿Necesito la página de «Predicciones»?
-
Si y no. El plugin necesita esta página para mostrar las predicciones de los usuarios, así que no la borres. Pero la puedes quitar de tu menú (escritorio de WordPress » Apariencia » Menús).
Algunos temas o configuraciones de WordPress colocan automáticamente las paginas de alto nivel en la navegación. Mira la información del creador del tema sobre cómo hacer un menú personalizado o como excluir páginas del menú. -
Quiero usar el plugin para una competencia nacional, ¿es eso posible?
-
Sí, hay dos formas de hacerlo:
1. Sube una programación de juego en la administración. Asegúrate de entender el formato necesario; puedes encontrar un ejemplo en la carpeta «/data/schedules» del plugin.
2. Usa las pantallas de administración para añadir todos los equipos, grupos, tipos de partidos, partidos, etc.Y por supuesto, escoge un tema o crea uno tú mismo que se ajuste a tu competición o blog.
-
¡Las gráficas se fueron!, ¿qué pasó?
-
Tuve que borrar la biblioteca requerida debido a la política de licencias de plugin de WordPress. Si quieres activar las gráficas, mira la página de ayuda en el escritorio de WordPress para los detalles sobre cómo instalar la biblioteca requerida.
-
No veo a los usuarios de mi blog como jugadores de la quiniela.
-
Dirígete a administración WordPress » Football Pool » pantalla de
usuarios y revisa si los usuarios pertenecen a una liga (si estás usando ligas). Los nuevos usuarios registrados se añaden automáticamente, pero los usuarios que ya existen en el blog deben ser actualizados en la pantalla de administración. Para que sean jugadores en la quiniela añadelos a una liga y guarda. Si borras una liga los usuarios de esa liga deben ser colocados en otra liga.
Si no estás usando ligas, entonces asegurate de que los usuarios no sean borrados de la quiniela a través de la pantalla de usuarios. -
¿Hay una traducción disponible?
-
See this page for the available language packs.
If you want to make your own translation, please visit the translate.wordpress.org site and view the possibilities for your language. You can also use an editor like Poedit (http://www.poedit.net/) to create the translations and upload the results to the aforementioned website. Make sure you reach out to a PTE for your language to get your translations approved. Or if there is none, then you can apply for the job yourself. Also see the first steps page for more information on the general translation process within the WordPress universe.
If you have a custom translation, you can put the translation files in the wp-content/uploads/football-pool/languages dir (create it, if it doesn’t exist yet) and use this extension plugin to load it.
The default content for the rules page is in the
rules-page-content-*locale*.txt
file (e.g.rules-page-content-nl_NL.txt
) and is not handled by the polyglot. If you’ve made your own translation and mail it to me, I’ll add it to the plugin and give you the credits. -
Instalé el plugin, pero no se ve como en tus capturas de pantalla.
-
That’s correct. The plugin has some basic styling to position or size elements, but it will not change your entire blog or automagically fit perfect in your website. You will have to adjust the styling yourself to make it look good in your site. Change your theme to overwrite/change the style of the plugin, or use a plugin to add extra custom stylesheets. Please do not change the CSS in the plugin folder; if you ever update the plugin, all your hard work will be gone.
Reseñas
Colaboradores y desarrolladores
«Football Pool» es un software de código abierto. Las siguientes personas han colaborado con este plugin.
Colaboradores«Football Pool» ha sido traducido a 12 idiomas locales. Gracias a los traductores por sus contribuciones.
Traduce «Football Pool» a tu idioma.
¿Interesado en el desarrollo?
Revisa el código , echa un vistazo al repositorio SVN o suscríbete al registro de desarrollo por RSS.
Registro de cambios
2.11.3
- Updated: Removed admin icon from plugin assets and added SVG base64 URI in menu definition.
- Tweak: Removed deprecated warning for dynamic property in Football_Pool_Pool class.
- Tweak: Some refactoring of code.
- Tweak: Stop loading of plugin when doing cron actions (only needed if I ever decide to add cron actions).
- Bug fix: In some edge cases the setting «Fix incomplete predictions» could cause points to be awarded when both scores for a match are missing. Thanks fimo66 and Markus Höcker for reporting the bug.
2.11.2
- Tweak: Some refactoring of code.
- Updated: Changed the required PHP version to 7.4.
- Bug fix: League dropdown in the user admin caused a fatal error in certain cases. Thanks Ron Robinson for reporting the issue.
2.11.1
- Bug fix: fp-matches caused a fatal error for empty parameters. Thanks @wongjowo for reporting the issue.
2.11.0
- New: Audit log in the admin for the administrator to view all saves that users did in their predictions.
- New: Added cache group to WP object cache calls to be able to exclude it from persistent caching plugins.
- New: Option to consider a null value for an incomplete prediction (e.g. only home score entered) as valid and default the missing value to 0.
- New: Shortcode [fp-last-matches] that displays the last started matches before a certain date. Similar parameters as [fp-next-matches].
- New: Added parameters to the [fp-user-list] to limit the output with the ‘num’ parameter and to display only the latest registrations (based on and ordered by the WP_User’s user_registered field) with the ‘latest’ parameter.
- New: Added ‘is_favorite’ parameter to teams. This parameter is used to add an extra CSS class to matches.
- Updated: AJAX saves on the frontend are now disabled by default and I made it a setting in the options screen (but it can also still be changed via the FOOTBALLPOOL_FRONTEND_AJAX constant in the wp-config).
- Updated: Changed the required PHP version to 7.3.
- Updated: Removed deprecated code for loading custom MO files. This should be done via the ‘override_load_textdomain’ filter. See FAQ for more info.
- Updated: Removed league ID from the sorting of the ranking.
- Tweak: Added different admin screen option ‘items per page’ settings for bonus questions and user answers.
- Tweak: Removed the old wp_enqueue_media check for WP versions lower than 3.5 (this is no longer needed).
- Tweak: Fixed some deprecated warnings (tested in PHP 8.1).
- Tweak: Toast on the prediction form now has a default z-index of 10.
- Tweak: Minor changes to the bonus question CSS.
- Bug fix: The countdown shortcode for the first match removed one element of the matches array and this caused trouble for other elements in the plugin that use the same array reference. Thanks @angelo079 for reporting and @shuhads for helping to sort this out.
- Bug fix: Removed duplicate calculation buttons when removing multiple match types at once.
- Bug fix: Fixed the Bonus question pie chart. Thanks @fimo66 for reporting the issue.
2.10.3
- Updated: Changed the match schedule because some matches had the wrong UTC time (last games of the group phase and in the final rounds).
2.10.2
- Updated: Changed the match schedule because the first couple of lines had the wrong year.
2.10.1
- Updated: Changed the match schedule because FIFA changed the Qatar vs. Ecuador match date.
- New: Added a setting to also show the actual result on the prediction form.
- New: Added a setting to be able to disable the ‘unsaved changes check’ on the prediction form.
- New: Shortcode [fp-user-score] now also supports the «use_querystring» parameter.
- New: Added a setting to disable the automatic selection of the logged on user for the compare function in the charts.
2.10.0
- New: Multiple joker support (for the entire pool or per match type). I also renamed the Joker to ‘multiplier’.
- New: Multiplier, bonus question answers and match predictions are now automatically saved via AJAX calls on the front-end (on change). AJAX saves can be disabled via the
FOOTBALLPOOL_FRONTEND_AJAX
constant in the wp-config if you do not like the new asynchronous method. - New: The default delimiter for CSV files (match import) is changed to a comma. If you want to keep using the old delimiter (semicolon), you can override this setting in the wp-config (see help page for details).
- New: If you want to use an alternative date format in a matches CSV file, you can now define constant
FOOTBALLPOOL_CSV_DATE_FORMAT
in your wp-config file. The constant uses the date format convention of PHP’s DateTime object and applies to both import and export files. - New: CLI command ‘football-pool test-data’ that creates test users in your database with random predictions (for testing purposes).
- New: Added support for the WP Personal Data Exporter tool. Users can request to export their personal data which now will also include their Football Pool data (league name, match predictions and bonus question answers).
- New: Added support for the WP Personal Data Eraser tool. When the option is set to true (defaults to false) the plugin will also erase predictions and question answers for a user when using WP’s Personal Data Eraser tool.
- Tweak: Renamed the [fp-scores] shortcode to [fp-match-scores]. Old name is deprecated and will remain available for a couple of versions before I will remove it.
- New: [fp-match-scores] shortcode can now also show the row total via the ‘show_total’ parameter.
- New: [fp-match-scores] shortcode can now also output the user’s prediction per match (instead of or next to the points).
- New: [fp-question-scores] to show a matrix of users and the scores they got on questions (uses same principles as the [fp-match-scores] shortcode for matches).
- New: [fp-last-calc-date] to show the date and time of the last ranking calculation.
- New: Two new admin roles (match editor and question editor).
- New: Bonus question output now also has a filter that can be used in an extension. Also, the code for user view and prediction page is combined into one output function (to get the same HTML structure for the question blocks).
- New: Bonus question statistics view now also has a template that can be overwritten with a filter.
- New: Added ‘joker_used’ indicator to the score history tables.
- New: Added constant
FOOTBALLPOOL_TOP_PLAYERS
that you can set in the wp-config if you want to show a different number of players in the default statistics page (default is 5). - Tweak: Bumped the jQuery version for the TinyMCE dialog to 3.6.0.
- Tweak: Some small additions to the help page.
- Tweak: Updated the icon font that comes with the plugin (also some class names have changed).
- Tweak: Optimized the ranking query for big data sets when selecting ranking for a small league (sub set of users).
- Tweak: Changed all colors in the admin to match the new admin WP 5.7 color palette.
- Tweak: Added floating ‘back to top’ button to all admin pages and a scroll progressbar.
- Tweak: Minor changes to the match table CSS.
- Tweak: Clean up of bonus question CSS.
- Tweak: Added maxWidth and maxHeight to the ColorBox modal that is used for displaying team photos on the front-end.
- Tweak: Question’s answer-before-date is now also localized on the front-end.
- Tweak: Score calculation now throws a fatal error when the default ranking is missing in the database.
- Tweak: Increased the max int sizes for the counter columns in the scorehistory tables.
- Bug fix: Fixed a compatibility problem with the Max Mega Menu plugin (thanks Holger for reporting this).
- Bug fix: User profile page showed the wrong active league for the user.
- Bug fix: Match types could be deleted when there were still matches linked to it. This resulted in orphaned matches in the database. Thanks Andreas Neubrech for reporting this.
- Bug fix: When a logged in user, but not a player in the pool, visited the stats page, then an empty page was shown, instead of the top X players.
- Bug fix: When a logged in user, but not a player in the pool, visited the user page, an incorrect page was shown.
- Bug fix: When score date is automatically filled by the plugin, then the question was not included in the calcution when immediately starting the calculation. Thanks fimo66 for reporting this.
- Bug fix: Fixed some translations. Thanks digiblogger for reporting this.
- Clean-up: I removed all old translation files from the package. Contents of the translation files were imported to the WordPress translation website and can be maintained from there. The POT-file is still available as start point for custom translations, or you can download a PO language file from the translation website.
- Clean-up: I removed the logout widget from the plugin since WordPress comes with its own widget.
2.9.7
- Updated: Prepared the widgets for the new Widget blocks admin that will be introduced in WP 5.8.
- Tweak: Changed the moment when the admin menu gets initiated.
- Bug fix: When a joker is used and activated, the joker icon should be disabled on the form. This did not work when using the date descending sort for matches or when the ‘only open matches’ plugin was activated (thanks Roy te Lindert for reporting).
- Bug fix: In some cases the v2.9.0 db update script was not executed (thanks @potjekak for reporting).
2.9.6
- Bug fix: Flex layout for bonus questions was broken on the user page with a combination of certain settings and linked questions (thanks Frans Jansen for reporting).
- Bug fix: Score date input for bonus questions showed the current date when you saved the form with an empty score date (thanks fimo66 for reporting).
- Tweak: Changed the group standing rules to make it easier to override the sorting manually, because the rules of the UEFA for the UEFA 2020 championship did not match the general rules in the code (thanks af3 for reporting).
2.9.5
- Updated: EURO 2020 schedule.
2.9.4
- Bug fix: Football Pool widgets couldn’t be saved anymore (thanks to dar26ber and Ernst for reporting).
2.9.3
- Tweak: Database optimization for scorehistory table. Retrieving data from the table is now much faster, which should improve the performance of the ranking page, widget and shortcode.
- Tweak: Renamed some indices in the database for more consistency.
- Bug fix: Shoutbox widget not showing an input for new messages for logged in users.
- Bug fix: Plugin labelled some dates in format «Y-m-d H:i:s» as invalid for the import. Check was updated to also support this format (thanks to Kristin for supplying the data that helped me detect this problem).
- Bug fix: Setting the matches sort method to an option with match type first in the plugin options caused a database query to fail. Result was an empty prediction form (thanks to Kristin and sopanstha for identifying and helping to solve this problem).
- Bug fix: Teams class did not declare the comments property.
2.9.2
- Bug fix: Fixed error in the calculation step ‘compute_ranking’. Larger data sets gave a problem in the AJAX JSON handling.
- Bug fix: TinyMCE dialog for adding shortcodes showed only one user-defined ranking in the ranking selector.
- Bug fix: Fixed display of form with shortcode [fp-predictionform] with the use of the match type parameter.
- Tweak: Refactored some code.
2.9.1
- Changed PHP version requirement to PHP 5.6 or higher.
- Tweak: Added «open» or «closed» CSS class to bonus questions to indicate their status.
- Bug fix: The check for joker saves was not working correctly when using invisible match types or the [fp-predictionform] shortcode with only a subset of matches.
- Bug fix: League detection bug in Football_Pool_Pool class constructor.
2.9.0
- New: Added sorting method options for bonus questions.
- Tweak: Updated styling for bonus questions and we now show the admin answer next to the user answer.
- Tweak: Updated the standard styling for the prediction table (classic layout only) a bit to make sure all elements are visible. Still needs to be changed to match your theme’s layout.
- Bug fix: Option «user_page_show_predictions_only» did not work for bonus questions (‘Undefined index: answer’).
- Bug fix: Option «user_page_show_correct_question_answer» did not work for linked bonus questions.
- Bug fix: ‘Undefined index: league_id’ warning on the ranking page when switching between leagues enabled and leagues disabled without doing a recalculation.
- Bug fix: Fixed the «An active PHP session was detected» warning in the Site Health scan (thanks fimo66 for reporting).
- Bug fix: User predictions table showed a zero in the score column for users that did not have a prediction when option «Always show predictions» is enabled (should be left blank).
- Bug fix: CLI command ‘import’ failed with an error in test mode when a match id was not found.
2.8.1
- New: Changed the icons for the link to statistics and joker in the new layout.
- Tweak: Changed the display of the text ‘points’ to a translated singular or plural form.
- Tweak: New installs will have html5 number inputs enabled by default (new layout has enough room for the spinners).
- Tweak: Changed the images for the flags in the example schedule.
- Bug fix: WP updated its jQuery version which caused an error in the image selection button in the admin (thanks Nico for reporting this).
- Bug fix: New layout for matches missed a link to match statistics when you click on the result (thanks Nico for reporting this).
- Bug fix: Removed duplicate id warning when using date inputs in the admin.
2.8.0
- New: Database upgrade to support emoji characters (utf8mb4).
- New: Match table layout (flexbox) for better mobile device support. Existing installs can switch to the new layout in the plugin options. New installs will default to this new layout.
- New: CLI command to import match results from the command line:
$ wp football-pool import
. - Tweak: Refactored some styling and class names. Please check and update your custom styling for matches and questions.
- Tweak: Plugin now saves new matches and questions with the current time if the entered datetime is not valid (instead of a non-valid datetime).
- Tweak: Various small optimizations in the admin.
- Tweak: Changed the base CSS styling of the charts (flexbox layout).
2.7.2
- Arreglo de errores: El cambio de visibilidad de las funciones de administración en la v2.7.1 causó problemas en algunos plugins de extensión.
2.7.1
- Sólo se añadirán al cálculo de la clasificación los partidos y preguntas de bonificación con fechas de juego/puntuación en el pasado.
- La versión mínima de WordPress es ahora 4.7.0 (publicada en diciembre de 2016).
- Updated all bundled javascript libs to a newer version.
- Añadido un filtro a la página de administración de coincidencias para mostrar sólo las coincidencias en un tipo de coincidencia elegido.
- Añadido un buscador a la página de administración de preguntas extras para buscar preguntas, respuestas de usuarios y nombres de usuarios.
- Añadí una búsqueda básica a otras páginas de administración.
- Nuevo shortcode [fp-money-in-the-pot] para calcular y mostrar el total de las apuestas.
- Bug fix: Names for teams, stadiums and groups are back in the window title for the respective pages (in WP 4.4.0 the filter changed).
- Bug fix: Doing a calculation in the admin with invalid charts setting (enabled, but without the API) caused an error in the JSON response for the popup.
- Bug fix: Undefined variable in the teams admin page and match type admin page.
2.7.0
- Se añadió un método de cálculo alternativo (simplificado). Este cálculo reduce drásticamente el tiempo de cálculo necesario en instalaciones con grandes bases de usuarios, pero con la desventaja de que no se guardan datos históricos. Por lo tanto, los gráficos no son compatibles con esta configuración activada y también el parámetro de fecha para las funciones de clasificación y puntuación será ignorado.
- Actualización de la EURO2020: incluye el calendario de partidos del campeonato de la UEFA EURO2020 y un nuevo favicon.
- Some small optimizations in the standard calculation method.
- Dropped PHP version 5.2 support. Changed PHP version requirement to PHP 5.3 or higher.
- Las llamadas eliminadas a las obsoletas (a partir de PHP 7.2) create_function y ahora usan funciones anónimas de estilo lambda en su lugar.
- Añadido shortcode [fp-user-list] para listar a los usuarios de la encuesta.
- Añadido do_action para que el item se borre en admin para poder engancharse a esto en los plugins de extensión.
- Joker can now be toggled on an off by users in the prediction sheet by clicking on the joker (still needs a save from the user to save final state).
- Añadida la opción de mostrar también la respuesta correcta del administrador con las preguntas de la página de usuario.
- Añadí dos constantes para los formatos de fecha y hora del partido: FOOTBALLPOOL_MATCH_DATE_FORMAT (FORMATO DE FECHA DE PARTIDO DE FÚTBOL) y FOOTBALLPOOL_MATCH_DAY_FORMAT (FORMATO DE DÍA DE PARTIDO DE FÚTBOL). Ambas pueden ser anuladas en el wp-config si quieres cambiar los formatos.
- Cambió la visibilidad del parámetro $page_param en la clase Pagination. Si utilizas o tienes una extensión de paginación personalizada, por favor actualiza tu código para establecer el parámetro utilizando el método set_page_param().
- Bug fix: In some MySQL installs the ranking page always returned zeroes for all users in combination with a strict datestring setting in MySQL (thanks @topplayer for pointing out the problem to me).
- Corrección de errores: la opción de ocultar la barra de administración no siempre se comportaba como se pretendía (gracias a Danstano por informar del problema).
- Bug fix: In some scenarios not all linked questions were shown with the correct match (thanks Daniel for reporting this).
- Bug fix: Fixed link to linked match in main bonus question admin screen.
- Bug fix: When selecting users with the same name on the statistics page, the charts showed weird results. Not sure if this can happen in a real-life scenario, but it happened with my test data 😉
- Bug fix: Ranking did not display users that registered after the last calculation (thanks Patrick for reporting this).
- Bug fix: Missed some translations in the Pagination class (thanks fegs1204 for reporting this).
- Bug fix: Fixed the styling for the pagination buttons on the admin pages.
- Bug fix: Set screen options in the admin was not working (thanks tmg513 for reporting).
- Bug fix: When using invisible match types, the prediction form enabled user’s to set a joker. This joker was not saved, but being able to set it, is not supposed to happen (thanks reinispro for reporting).
- Corrección de errores: aviso de ‘índice indefinido’ en la array de coincidencias al usar preguntas enlazadas en una coincidencia en un tipo de coincidencia invisible.
- Bug fix: The update script for v2.6.1 was not initiated in Football_Pool::activate.
2.6.7
- Actualización Rusia 2018: calendario de partidos incluidos para la Copa Mundial FIFA 2018 y un nuevo favicon.
- [fp-ranking] shortcode: añadido el parámetro ‘user’ para el parámetro de la liga para mostrar el ranking de la liga del usuario conectado.
- [fp-user-ranking] shortcode: añadido el parámetro ‘league_rank’ para mostrar el rango en la liga del usuario seleccionado.
- Created SCSS files for the stylesheets.
- Se eliminaron los archivos de idioma español (es_ES) ya que hay un paquete de idioma disponible en http://translate.wordpress.org
- La fecha de la pregunta ahora sigue los ajustes de la pantalla de WP para la fecha y la hora. Con una opción para sobrescribir este formato con la constante
FOOTBALLPOOL_QUESTIONDATETIME_FORMAT
en el archivo wp-config. - Bug fix: Added extra check for default league to the plugin’s User admin page (thanks kerovsky for reporting this).
- Bug fix: Added extra check in match import for invalid stadium and match type (thanks Laurent for reporting this).
- Bug fix: Default league image was not displayed correctly.
- Bug fix: Prediction form shortcode only checked for logged in users, not if they are a player in the pool (thanks ARTEFACTOCO for reporting this).
- Bug fix: Team class did not declare variable $page.
2.6.6
- Added some more formats for the countdown widget and shortcode. Also a free format is supported. See the help page about the shortcode for more info.
- Añadido un filtro al método de clasificación de coincidencias para que pueda ser sobrescrito en un plugin de extensión.
- Se añadió xssafe a los nombres de las ligas en administración de usuario.
- Se añadieron revisiones y cortes adicionales a la función importar csv
- Bug fix: Fix for «[] operator not supported for strings» error in certain PHP versions when importing csv files in matches admin (thanks Patrick for reporting).
- Bug fix: Prediction stop date option values (for matches and questions) didn’t save after 2.6.5 update (thanks jerofdz for reporting).
- Arreglo de fallo: Eliminación de aviso de clase en la página de estadísticas en algunos temas.
2.6.5
- Removed some possible XSS vulnerabilities from the plugin (thank you for your help, Ricardo Sanchez).
- Se reescribió la opción array definition en el Administrador porque era un completo desastre
- Actualizada la versión JQuery en tinymce-dialog.php
- Algunos pequeños cambios en los archivos javascript de tinymce
- Cambió el EOL de tinymce-dialog.functions.php para que sea el mismo que el resto de los archivos.
- Mostrar el ID del elemento para elementos en la vista por defecto en la pantalla del administrador.
- Added «Chosen» jQuery lib to admin to enhance some select boxes.
- Se eliminó la lib de «ZeroClipboard» de timezone-test.php porque usa Flash (blegh) y lo reemplazó con clipboard.js.
- Se movieron algunas librerías de la carpeta assets a una nueva localización.
- Se añadieron estilos adicionales en la notificación «predicción guardada» porque esta quedaba oculta en algunos temas.
- Añadido el parámetro ‘use_querystring’ al atajo fp-predictions y fp-scores para que puedan ser utilizados en una página en la que se pasen los parámetros a través de la querystring (y así hacer estos atajos más utilizables en un contexto dinámico).
- Time and date formats in plugin used WordPress settings, but because I didn’t use the WP function date_i18n() on the matches page, any other extension that hooked into this function (e.g. wpjalali) couldn’t change the formats (thank you R.Ahmadi for notifying me and for testing).
2.6.4
- Se añadió una revisión a la extensión de archivo para la subida de archivos csv en el administrador (solo están permitidos archivos csv y txt).
2.6.3
- Corregidos algunos fallos en el plugin TinyMCE y dividido el archivo de diálogo en JS, CSS y functions.php.
2.6.2
- Bug fix: Updated the TinyMCE plugin (for adding shortcodes to the editor). Old one gave problems in recent WP versions.
- Bug fix: In installs where the translation for «Save Changes» in the plugin’s translation files is different from the global WordPress translation file, the saving in the User admin did not work (thanks Soroush for reporting).
- Bug fix: Added cache clear to Leagues and User Defined Ranking admin after save or delete (thanks Stefan for reporting).
- Bug fix: Dashboard widget image was stored with a full URL on activation. If the scheme is switched after activation this image will cause a mixed content (insecure image) warning (thanks Stefan for reporting).
- Corrección de errores: Se eliminó la característica incompleta de ‘mostrar el número de predicciones’ del shortcode de clasificación (gracias a Chris por informar).
2.6.1
- Se borraron los archivos del idioma neerlandés ya que hay un paquete de idioma disponible en http://translate.wordpress.org
- Se agregaron filtros adicionales a la clase de cálculo de puntuación para una flexibilidad adicional.
- Added filters in the User admin to be able to extend the user view.
- Cambió la longitud del campo de la base de datos para el nombre del tipo de partido, el nombre de la liga, el nombre del ranking, el nombre del estadio y el nombre del grupo a 100 caracteres.
- Cambió la vista de predicciones de los partidos para que funcione con plantillas y poder así cambiarse mediante ganchos.
- Bug fix: Undefined index warnings on the user page when match types are hidden (thanks rick for reporting).
- Bug fix: Set screen options in the admin contained a bug in the hook callback (thanks tmg513 for reporting).
- Bug fix: «undefined variable: default_league» notice when saving a user in the admin with leagues off.
- Bug fix: Fixed a bug in the max points calculation in the charts.
- Bug fix: Undefined index ‘last score’ in ranking when there are no results in the ranking.
- Bug fix: The html for the calculation box caused some display trouble when bootstrap CSS is also loaded. Changed the class names and ID for the progress bar elements (thanks Dennis for reporting).
2.6.0
- New: WP-CLI support for score calculation. See help page in the admin for more information.
- Nuevo: Plantillas HTML para la tabla de grupos. Las plantillas pueden ser cambiadas a través de ganchos. Ver la ayuda para más detalles.
- Nuevo: shortcode [fp-scores] para mostrar las puntuaciones de cada usuario para una o más coincidencias.
- Nuevo: nuevas opciones para la página de usuario (mostrar sólo las coincidencias con las predicciones, mostrar sólo las coincidencias terminadas y mostrar los resultados reales por debajo de la predicción).
- Updated fp-league-info shortcode so it now also displays data when the pool hasn’t started yet (there is no data in the score table).
- Añadido el ID de usuario a calc_score para que pueda ser usado en los filtros.
- La lista de direcciones de correo electrónico en el administrador ahora tiene en cuenta el filtro de búsqueda al mostrar las direcciones.
- Si la constante FOOTBALLPOOL_ALL_WP_USERS está definida en wp-config, el plugin mostrará los nombres de los usuarios que no son (ya) un usuario válido en el plugin (por ejemplo, cuando se muestra un nombre en el shoutbox) en lugar de ‘desconocido’.
- Actualizadas algunas traducciones.
- Cambió la visibilidad de los métodos en la clase de gráficos para poder extender esta clase en los plugins de extensión.
- Actualizado el código de carga de las coincidencias masivas con algunas comprobaciones extra en el archivo csv.
- Bug fix: bulk matches upload page exited with an error notice if one of the folders didn’t exist (thanks Kadri-Ann for reporting the bug).
- Bug fix: countdown widget and countdown shortcode gave an error when texts were used with single quotes in them (thanks florent71 for reporting the bug).
- Bug fix: ranking didn’t show ‘currentuser’ CSS class for logged on user (thanks saschapi for reporting the bug).
- Bug fix: changing the constant FOOTBALLPOOL_CSV_DELIMITER caused a problem in the column count of the import function.
2.5.4
- Traducción al alemán actualizada (gracias aileesh).
- Actualizado el calendario inglés porque contenía un pequeño error en el final (gracias a benster1970 por informar de esto).
- Prepare plugin for new plugin translation system (http://translate.wordpress.org).
- Añadido el match ID a la función calc_score para que pueda ser utilizada en los filtros.
- Bug fix: On the stadium page the «Matches» title was printed below the matches.
2.5.3
- Important: Location of team images, stadiums and flags has changed in since version 2.5.2. Backup your files before updating.
- Programaciones actualizadas ya que no estaban en horario UTC.
- Se han añadido filtros para los datos de los gráficos. Cuando cambias el cálculo de la puntuación, ahora también tienes la posibilidad de actualizar los gráficos para que coincidan con tus cambios.
- Bug fix: ranking widget and shortcode didn’t use the max users setting (thanks Gerrit for reporting the bug).
2.5.2
- Important: Moved location of team images, stadiums and flags outside of plugin dir so your own images won’t be overwritten on future updates. Plugin creates a
football-pool
dir in the WP upload dir for all your files. - Se agregó la opción «selecciona desde la librería de medios» para la imagen de la liga.
- Los usuarios recién añadidos a su encuesta se incluyen ahora inmediatamente en el ranking, aunque todavía no haya hecho un cálculo.
- I disabled the loading of avatars because these can slow down the ranking display tremendously (WP runs a couple of database queries for every user to get the avatar). If you extended the plugin to show the avatars in your ranking, you can enable the loading again by setting the FOOTBALLPOOL_NO_AVATAR constant to
false
in yourwp-config.php
. Note: my setting only affects the plugin, not the rest of your blog. - Añadido un aviso de actualización en la pantalla de actualización del plugin WP (para futuras actualizaciones).
- Se ha añadido la posibilidad de cancelar el proceso de cálculo. La clasificación anterior se mantendrá activa si se cancela un cálculo.
- Se hizo algo de limpieza en el archivo admin.js
- Se quitaron algunas estilizaciones por defecto del archivo pool.css
- Se quitaron algunas viejas programaciones de partidos.
- Se quitaron algunas imágenes sin uso de la instalación por defecto.
- Updated the favicons (logo for the UEFA Championship 2016) and placed them in a different location.
2.5.1
- Fixed unknown constant notice.
- Bug fix: When no calculation is needed, no message was shown (thanks Reinis for reporting the bug).
- Bug fix: When a calculation is completed with no matches or questions, the session was not cleared correctly. And any calculation that was performed after this, stayed in the same ‘no calc’ state (thanks Reinis for reporting the bug).
2.5.0
- Reescribir completamente el cálculo de la puntuación. El cálculo se divide en pasos más pequeños y almacena los resultados intermedios y los datos en una sesión. Hay menos posibilidades de tiempos muertos durante el cálculo y es más fácil ajustar el tamaño de los pasos de cálculo individuales. La nueva versión del cálculo permite sobrescribir fácilmente la puntuación predeterminada de los partidos con los ganchos ‘footballpool_score_calc_function_pre’ y ‘footballpool_score_calc_function_post’. En versiones anteriores la tabla de clasificación mostraba datos incorrectos cuando se estaba realizando un cálculo; esto se ha corregido ahora. En la nueva versión sólo son posibles los cálculos completos (ya no existen los cálculos de clasificación únicos ni los cálculos inteligentes).
- Se añadió la paginación a la página de administración de respuestas de preguntas de bonificación de usuario porque esto estaba causando dificultades en instalaciones con muchos usuarios.
- Se añadió la búsqueda de usuario en la página de administración de usuario.
- Añadida la opción de cambiar el parámetro redirect_to para la página de registro.
- Nuevo shortcode [fp-next-matches].
- Se cambiaron algunos add_query_arg/remove_query_arg calls (para más información).
- Cambió el nombre de la constante del filtro de contenido a
FOOTBALLPOOL_CONTENT_FILTER_PRIORITY
. - Se quitaron los shortcodes obsoletos y sus correspondientes valores de opción.
- Bug fix: On some WP installations the activation quit with a fatal error on the add_cap() function. This happens if one of the default roles cannot be found (thanks David Anderson for reporting this bug).
- Bug fix: Removed obsolete closing div from statistics page (thanks WilRC for reporting this bug).
- Bug fix: Cog icon for selecting users on statistics page didn’t work in themes that add an anchor on the page title (thanks pekos for reporting this bug).
2.4.4
- Bug fix: Undefined variable match in last games widget.
2.4.3
- Se añadió la función «auto establecer» a las preguntas de bonificación. Esto hace que sea más fácil para los administradores otorgar puntos para preguntas de elección múltiple con un conjunto fijo de respuestas entre las cuales un usuario puede escoger.
- Se añadió un filtro WordPress que añade el nombre del equipo, el nombre del estadio o nombre del grupo a su etiqueta de título de página correspondiente.
- Se añadieron algunos filtros más en el código.
- Se añadió como una opción la media ponderada de puntos para el shortcode [fp-league-info]
- Actualizada la traducción al neerlandés.
- Se añadió la traducción al sueco.
- Se añadió la traducción al húngaro.
- Se añadió la traducción al portugues brasileño.
- Bug fix: Shoutbox date and time were not localized (thanks to wendihihihi for reporting this).
- Bug fix: When all bonus questions are linked to a match, the pool page still showed the title for a question form beneath the matches form.
- Bug fix: Answers to linked bonus questions were shown in the prediction overview for users even when the question is still editable. This is unwanted behaviour. (thanks to maybor for reporting the bug).
- Bug fix: Countdown to next match widget displayed wrong match when a team is specified (thanks to Pierre Suter for reporting the bug).
- Bug fix: Stats page showed pie chart for bonus questions where score_date was not set.
- Bug fix: Countdown widget didn’t show the next match when «Date descending» was chosen as the match sorting option (thanks to korry for reporting the bug).
2.4.2
- Some themes don’t show the cog icon for the chart settings in the title of the page. Added shortcode [fp-chart-settings] that can be used to display the cog icon somewhere in the text. The shortcode only works for the statistics page.
- Added
FOOTBALLPOOL_CHANGE_STATS_TITLE
constant that can be set tofalse
in the wp-config file to disable the cog icon in the page title (in case something goes wrong in your theme). - Removed ‘show avatar’ option. I’m in the midst of changing some parts of the plugin to use HTML templates for the display of data. The avatar can already be added to the ranking table (see help page for details); other parts of the plugin will follow later.
- Se movió el plugin capturas de pantalla desde el zip del plugin hacia la carpeta svn assets (solo son necesarios para el sitio wordpress.org).
- Bug fix: matches disappeared when using a match sorting method that included the match type (thanks Kevin for reporting the problem and allowing me to do some bug tracking on your site).
- Bug fix: shortcode pop-up in the WP admin always included a group ID for the [fp-matches] shortcode.
- Bug fix: calculation of number of predictions went wrong for custom rankings with only bonus questions (thanks Daniel for reporting the bug).
- Bug fix: undefined index ‘league_id’ on the ranking page (thanks sillery4ever for reporting the bug).
- Bug fix: match schedule was wrong for the quarter finals. The matches were imported sorted on date causing the match numbers to not match correctly for the semi-finals (e.g. winner match 57). (thanks Bobby Groenen for reporting the bug).
- Bug fix: get_page_link() caused a notice when plugin pages are deleted from the database.
- Bug fix: typo in match template; match ID and form ID weren’t replaced with the params.
2.4.1
- Changed option: redirect after login option can now be left empty to use the default WP behavior (go to profile page).
- Statistics page now shows the top 5 players to visitors that are not logged in (and if no user is selected in the chart settings).
- Bug fix: new feature pointer for recalc was also shown to non-admins.
- Bug fix: user predictions were shown before the match stop time had passed (thanks latinosamorir for reporting the bug).
2.4.0
- Important! Changes were made in the scorehistory table. If you’re upgrading from a previous version please do a full calculation after the upgrade.
- New: HTML templates for the matches table, prediction form or ranking table. The templates can be changed via hooks. See help for details.
- Se cambió el ancho por defecto de las tablas de los partidos a 100% para que trabajen mejor en temas adaptables.
- Se cambiaron las gráficas a un 100% de ancho y se hicieron adaptables. Si quieres cambiar el ancho de las gráficas a un ancho fijo puedes hacerlo en el CSS de tu tema.
- Nuevos tipos de pregunta de bonificación: texto multilínea y desplegar.
- New option: users (not admins) will be redirected to a configurable page after registration (defaults to homepage).
- Nueva opción: el comodín multiplicador ahora se puede cambiar en las opciones.
- Nueva opción: (re)establecer las páginas instaladas por el plugin (ejem. la página de partidos).
- Nuevo shortcode: muestra información sobre una liga con [fp-league-info].
- Changed shortcode: [fp-predictionform] will no longer display a form when the visitor is not logged in.
- Removed the userselector widget and placed the functionality on the charts page. Old selector wasn’t working well for mobile devices, where in a lot of themes the widget zones are placed at the bottom of the page.
- Removed
user_label
functionality (the meta key is still in the database if you want to use it). User name display can now be altered via thefootballpool_user_info_display_name
filter. - Removed ‘number of predictions’ as an option for the ranking table. This functionality is now available as a template parameter in the new template structure. See the help page under the Actions and Filters section if you want the number of predictions back.
- Se añadió la opción de excluir las clasificaciones personalizadas de un recalculo.
- Se redujo el número de consultas en la portada cuando se utilizan preguntas enlazadas.
- Nuevo favicon e iconos táctiles al estilo de la copa del mundo 2014.
- Se reestructuró el código javascript.
- Added prediction log that logs all prediction changes by users to a table (accessible via a database tool).
- Fixed strict warnings caused by calling non-static functions statically.
- Bug fix: score calculations went wrong for bonus questions when not using the leagues options (thanks sillery4ever for reporting the bug).
- Corrección de errores: el selector de clasificación no funcionaba en las instalaciones de WordPress con configuración de enlace permanente predeterminada (gracias a sillery4ever por informar el error ).
- Bug fix: save of user answers in the bonus question admin gave an error on PHP 5.2 installs (thanks sillery4ever for reporting the bug).
- Bug fix: multiple ranking widgets always showed the same ranking (thanks oswaldine for reporting the bug).
- Bug fix: [fp-user-score] sometimes returned an incorrect score (thanks sillery4ever for reporting the bug).
- Bug fix: shortcode insert in editor failed in WP 3.9 (WP 3.9 uses a new tinyMCE version).
- Bug fix: shoutbox admin threw a warning on the start screen.
- Bug fix: if jokers are disabled then jokers that were already set, are still counted in the scoring.
2.3.8
- Bug fix: the score calculation contained a bug for installs with a big gap in the user ID’s. Thanks Sergio for reporting the bug and helping me with the debug info.
2.3.7
- Small styling updates for WordPress 3.8.
- Added the match schedule for the 2014 World Cup in Brazil.
- New shortcode: display the ranking of a single user with [fp-user-ranking].
- New parameter ‘group’ for the [fp-matches] shortcode.
- Several hooks (filters and actions) that make the plugin extensible. See help page for details.
- Import CSV & Overwrite will now exit with an error when the file is invalid. The data will not be erased.
- Import CSV & Overwrite will ask for an extra confirmation.
- Bug fix: undefined index ‘ranking’ on the ranking page.
2.3.5
- Bug fix: matches admin added timezone offset on every save (thanks BruceFeuillette for reporting the bug).
2.3.4
- Bug fix: in some setups the division of the score calculation in multiple sub-steps caused the scores to be multiplied by the number of sub-steps (e.g. 2 or 3). Thanks Fares and Bart for reporting the bug and helping me with the debug info.
- Bug fix: tinymce button added the wrong code for the [fp-predictions] shortcode to the text editor (thanks pjbursnall for reporting the bug).
2.3.3
- Bug fix: internal server error (bad header) in score calculation AJAX call (thanks Josh and sindris for reporting the bug and giving me the information from the error log).
- Bug fix: removing users as a player resulted in an undefined function error (thanks Josh for reporting the bug).
2.3.1
- Bug fix: plugin broke the «featured image» function of WordPress (thanks CornelB for reporting the bug).
- Option to keep data on uninstall is now enabled by default.
2.3.0
- Updated score calculation: better support for a large user base and moved the calculation to a modal pop-up with AJAX handling (with fallback to ‘normal’ calculation).
- Added pagination to the user admin page (default is 20 per page; because of a bug in WP 3.6 and below it is not possible to change it in the screen options tab, so change it in the define.php file).
- Added pagination to the matches admin page (default is 50 per page; because of a bug in WP 3.6 and below it is not possible to change it in the screen options tab, so change it in the define.php file).
- New feature: link a question to a match. Linked questions are displayed beneath the match on the prediction form.
- Nueva opción de puntuación: bonificación por diferencia de goles.
- New shortcode: display the score of a single user with [fp-user-score].
- New shortcode: display the predictions for a match or question with [fp-predictions].
- New shortcode: display a table of matches with [fp-matches].
- Some additions to the custom rankings admin screen.
- Nueva opción: desactivar comodines.
- New options for points a team gets for a win or draw (for the Groups page). This makes the plugin more suitable for sports that don’t use the 3-point rule for wins.
- New option: show team photos on team listing page.
- New option: show venue photos on venue listing page.
- New option: choose if plugin must keep all data on uninstall.
- New option: show number of predictions per user in the ranking (match predictions and bonus question anwers are counted); this can be set for the ranking page and for the ranking widget and shortcode.
- New sorting option for matches to be able to include match types in the sorting.
- Widget «Next prediction countdown» has a new option to countdown to the next match of a particular team.
- Changed image selection to WordPress 3.5 Media Uploader for WordPress version 3.5+.
- Añadida ayuda contextual a las pantallas de administración. Movido texto informativo en las páginas de administración a estas pestañas de ayuda (necesita WordPress 3.3 o superior).
- Añadida imagen para respuestas erróneas a la tabla de predicción de preguntas.
- Changed database table structure so naming convention is the same for all tables.
- Minified the javascript files.
- Bug fix: old values were shown after a save of a match or a question in the admin (cache is now flushed after a save).
- Bug fix: the ‘dynamic stop time’ check did not work as it should, causing a prediction for a match not being saved to the database even though the match was still editable in the prediction form (thanks full1restart719 and BruceFeuillette for reporting the bug helping me with fixing the bug).
- Bug fix: prediction form shortcode did not update values when used in a post (thanks BruceFeuillette for reporting the bug).
- Bug fix: user selector widget did not work in WordPress installs with default permalink setting (thanks Tomas Jonsson to for reporting this).
- Bug fix: ranking selector did not work in WordPress installs with default permalink setting (related to bug in user selector widget).
- Corrección de errores: los gráficos circulares no se actualizaban correctamente para las clasificaciones definidas por el usuario una vez que dicha clasificación se seleccionaba en la página de gráficos.
- Corrección de errores: el campo de fecha personalizado en la ventana emergente del shortcode se comportaba de forma extraña.
- Corrección de errores: no se tradujeron todas las etiquetas del widget de grupo y de la página de pie de grupo.
- Nueva traducción: Albanés (sq) de Migen Nepravishta.
- Nueva traducción: Danés (da_DK) de Morten Bilberg Rasmussen.
- Nueva traducción: Alemán (de_DE) por Frank Winter.
2.2.5
- Bug fix: CSV upload in matches admin was not working (thanks BruceFeuillette for reporting the bug).
2.2.4
- Bug fix: removed a non-working option (prediction type) from the plugin option screen (thanks Matías for sending the screenshot). The prediction type will probably be in version 2.3.0.
2.2.3
- Bug fix: on pools with no bonus questions the User defined ranking admin gave an error (thanks Guzz Windsor for reporting this).
2.2.2
- Bug fix: WP nonce not set on delete and edit link in matches admin screen (thanks ipixelestudio for reporting this).
2.2.1
- DateTime::getTimestamp requires PHP 5.3 or higher. I replaced those calls with code that doesn’t break on PHP version 5.2 (thanks to chiribombi for reporting this).
2.2.0
- Important: styling of the widgets has changed. They contained styles that could conflict with the styling of other widgets.
- Some minor changes in the security model: WordPress editors can now also manage the plugin and there is a new role «Football Pool Admin» with only rights to the plugin’s admin screens.
- New feature: user defined rankings (ranking for a selected group of matches and/or questions).
- Nueva característica: opción de plugin para mostrar siempre las predicciones de otros jugadores. Independientemente del hecho de si los partidos son editables para tus contendientes.
- Nuevo shortcode para apoyar las clasificaciones definidas por el usuario.
- Nueva opción que permite a los usuarios elegir entre diferentes clasificaciones en la página de gráficos o en la página de clasificación.
- Nuevo shortcode para mostrar el formulario de predicción para un grupo de partidos y/o preguntas de bonificación.
- New feature: ability to use result of matches in multiple match types as data for the Groups page. This option can be set in the plugin options screen (thanks to Eli for reporting this).
- Nueva función : opción para mostrar el avatar del usuario en las tablas de clasificación.
- Nueva opción: elegir el método de clasificación de las coincidencias (fecha ascendente o fecha descendente).
- Añadida la traducción al Francés (gracias Julien Blancher).
- All dates in the front-end are localized using date_i18n() and WordPress’ Time Format setting.
- Limpieza: todas las opciones de los plugins se almacenan en una única matriz en la tabla wp_options.
- Bug fix: if charts were disabled the plugin could break other plugins that use javascript (thanks AndresCZ).
- Bug fix: description text of widgets was not correct in the WordPress admin.
- Bug fix: when using the plugin in a different language the ‘Save & Close’ buttons did not work correctly in the admin.
- Bug fix: stadium names with special chars (like Ã) did not work correctly in PHP version below 5.4 (thanks angelpubli).
- Bug fix: when adding teams the new team was not displayed in the list. You had to reload the page.
- Bug fix: it was possible to add a match without a match type, venue or team. These ‘orphaned’ matches were saved in the database, but not shown.
- Bug fix: adding a new bonus question caused a warning for the first question.
- Bug fix: a user could use a trick to set multiple jokers. This was fixed.
2.1.3
- Added an extra warning for the administrator of the blog in the Plugins and Updates pages in the WordPress admin when the plugin has the charts enabled but the Highcharts API is missing.
2.1.2
- Bug fix: upgrading the plugin also deletes the Highcharts API. To make sure the front-end does not quit working, a small change was made to the init code. Also, the plugin now expects the API to be located outside the plugin’s directory:
wp-content/plugins/highcharts-js/
.
2.1.1
- Pequeñas actualizaciones para WordPress 3.5.
- Added a button to the WordPress visual editor for an easy way of adding the plugin’s shortcodes to your pages and posts.
- Line charts now show team names for a match in the tooltip of a data point.
- Prefixed all shortcodes with «fp-» (the old ones that didn’t have this prefix).
- Bug fix: ordinal numbers in the ‘position in the pool’ chart were gone.
- Bug fix: the CSV importer caused an ‘unknown index’ notice for the new comments field for venues.
2.1.0
- Añadida una opción de puntuación extra: puntos extra por adivinar uno de los goles para el equipo local o el equipo visitante correcto.
- Added culture selection to csv file list (on import screen) and support for meta information in the csv file.
- Added extra label that can be added to a username via the User Admin screen. Usable for an extra status (e.g. «winner 2012») or to show cumulative scores from other years (e.g. «1057 points»). The label (if not empty) is added behind a user’s name on the ranking page and in the list generated by the ranking shortcode. A CSS class that can be styled to your liking is added to the label.
- Añadida la posibilidad de ocultar los tipos de partidos de la web. Útil para competiciones con gran cantidad de partidos en las que no quieres mostrar todos los partidos todo el tiempo. Los tipos de partido invisibles no se muestran en la web (página de partidos y página de predicción) ni en la administración de partidos, pero se siguen calculando para las puntuaciones.
- Se han añadido campos de información adicionales para las sedes y los equipos. La información se muestra en la página del equipo o de la sede.
- Añadida la traducción al español (gracias Cristian Carlucci).
- Bug fixed: teams that are ‘real’ were accidentally shown in a dropdown on the Matches admin screen.
- Bug fixed: matches that have an empty venue caused a notice in the import.
- bug fixed: countdown shortcode was not fixed for the new UTC match times.
- Bug fixed: UTC times that passed the end of the day (0:00h) caused matches to be displayed on the wrong day in the matches overview (thanks Cristian).
- Bug fixed: match times in the schedules that ship with the plugin were not UTC.
2.0.1
- Bug fixed: teams that are not in a group caused a notice in the import.
- Indicio añadido en la pantalla de administración de los partidos.
2.0.0
- Añadido o cambiado las pantallas de administración de los equipos, grupos, tipos de partidos y encuentros para que puedan ser fácilmente manipulados. De esta forma el plugin no se limita al campeonato europeo, sino que también puede ser utilizado para otras competiciones, por ejemplo la Premier League inglesa.
- Cambió el idioma predeterminado al inglés. Esto hace que el plugin sea más fácil de traducir.
- Changed layout of the Plugin Option admin screen. More options and better grouped.
- Fixed a problem for DB users that don’t have
TRUNCATE
rights. (thanks Millvi) - Plugin now supports WordPress installs with default permalinks settings.
- Multiple choice questions with more than one answer (checkboxes) can now have a max number of answers a user may give.
- Bug fixed: prediction page for a user did not show the right points for a bonus question. (thanks Maly77)
- Bug fixed: User Selector Widget caused a notice on 404 pages.
- Added colorbox instead of fancybox for lightbox. Fancybox does not have a GPL-compatible license.
1.4.5
- Removed Highcharts library from the package on request from WordPress. The Highcharts library has a non-GPL-compatible license which violates WordPress plugin rules. If you want to keep using the charts you have to download the library yourself and enable the charts feature in the plugin option screen.
1.4.4
- New: list of email addresses of players in your pool available in the plugin User Admin screen. You can copy and paste it in an email to quickly mail your users (without the need of installing a mail plugin).
- New: if using leagues the ranking page now defaults to the league the user is in.
- Bug fixed: check if user is a player in the pool did not work correct for users that are added to the blog, but are not in a league.
- Código para los widgets refabricados.
1.4.3
- Fixed a potential problem with magic quotes (wp_magic_quotes adds slashes regardless of your PHP setup).
- Performance update. Reduced number of database queries for a page request.
- Nuevo widget (beta): cuenta regresiva para el siguiente partido.
- Extra options for countdown shortcode (see help page for details).
1.4.2
- DateTime::createFromFormat requires PHP 5.3 or higher. I replaced those calls in the core classes with code that doesn’t break on PHP version 5.2.
- Nueva versión de la biblioteca de javascript de Fancybox (2.0.6).
- Nueva versión de la biblioteca de JavaScript de Highcharts (2.2.4).
- Added two more layout options to the plugin options (favicon and apple-touch-icon).
- Moved body font-styling from the global stylesheet to the theme skin.
1.4.1
- Algunos textos se perdieron en la traducción. Los añadí.
- Nuevas opciones de configuración para un solo ‘tiempo de bloqueo’ para las coincidencias y las preguntas de bonificación. Si se establece , los usuarios deben finalizar todas sus predicciones antes de esta fecha y hora.
- Plugin supports a maximum number of answers a user may select in a multiple choice question (checkbox). The check is only done client-side and requires a bit of javascript knowledge to use it. See top of pool.js file for usage. I recommend adding the javascript calls in a separate file, add them to your theme or use a plugin that helps adding custom javascript to your blog. (thanks srozemuller)
- Añadida traducción al polaco. (gracias Łukasz Ciastoń)
1.4
- Las traducciones (i18n) están funcionando. El complemento contiene traducción en_GB para mi versión holandesa del grupo y un archivo de acceso para los usuarios que desean hacer su propia traducción. Ver elPreguntas más frecuentespara más información. (gracias dcollis)
- Las preguntas de bonificación y las respuestas de los usuarios ahora pueden contener más de 200 caracteres.
- Actualizaciones de estilo.
1.3.3
- Removed custom fields for admin in the standard WordPress user profile. Editing of users can be done in the plugin user screen.
- Actualizaciones menores de estilo.
- Bug fixed: updating users via the WordPress User screen put them in the wrong league (when using leagues).
- Bug fixed: new custom table for the question types was not prefixed properly; updated the install-script. (thanks sjonas)
1.3.2
- New widget on the WordPress Admin Dashboard: a quick link to the pool. Change the picture for the widget in the Plugin Options.
- Algunos reordenamientos de archivos y actualizaciones menores de estilo.
- Bug fixed: deactivation of the plugin did not remove all custom tables. (thanks sjonas)
1.3.1
- Bug fixed: new users were not added to the default league set in the plugin options.
- Bug fixed: adding multiple users to the pool in the new admin screen did not work when users were removed from the pool with league support off.
1.3
- New admin screen for Users. Add or remove them from the pool or change leagues of the players in one screen.
- Añadida compatibilidad con preguntas de elección múltiple (muy básica).
- Añadida compatibilidad con preguntas fotográficas (haz una pregunta acerca de una imagen).
- New shortcode [fp-register] for including a link to the WordPress register screen in a post or page. See help page for more information.
- Nueva versión de la librería javascript Highcharts (2.2.3).
- Bug fixed: shortcode [countdown] used UTC+0 time not the CET time of the match which I use everywhere else in the pool. (thanks drsp58)
1.2
- New shortcode [fp-ranking] in case you don’t want to use the ranking page or widget, but only want to display the ranking in a post. For complete help on this and other shortcodes, see the new help page in the admin section.
- New shortcode [fp-group] if you want to include the standing of a group in a page or post.
- Nuevo widget de grupo que muestra la posición de los equipos en la Etapa de grupo en una barra lateral .
- Nueva versión de la biblioteca de JavaScript de Highcharts (2.2.2).
- Añadida una pantalla de ayuda al administrador.
- Bug fixed: when not using leagues the plugin did not properly show WordPress users as players in the pool.
1.1.5
- Bug fixed: playDate index not found on the teams page.
1.1.4
- New version of Highcharts javascript library (2.2.1). Did a small (cosmetic) change in the line charts.
- Ranking page and ranking widget now show all users. Even the ones that registered for the pool after the first match was played. In previous versions the new user had to wait for an admin to save a match or bonusquestion to recalculate the points table.
- Bug fixed: a timezone problem in the display of match times. (Thanks Okoth1)
- Bug fixed: the admin screen for bonusquestions not displaying user answers.
- Bug fixed: user selector widget showed all blog users.
1.1.3
- Fix for the problem that – on a clean install – the default data for the pool was not loaded (matches, teams, etc.) in the database. (Thanks Okoth1)
1.1.2
- Fixed a bug in the shoutbox admin (
unexpected T_PAAMAYIM_NEKUDOTAYIM
).
1.1.1
- Added pot/po/mo files with the new texts from the shoutbox widget.
1.1.0
- Added a shoutbox widget for players in the pool. So they can leave short messages in a sidebar.
- Prefijo de todos los nombres de clase.
- Fixed a bug with the bulk actions in the admin.
1.0.1
- Removed English texts because I couldn’t get gettext to work for my Dutch version. All texts are in Dutch now. If someone wants to translate the plugin, please contact me. I can give you a po-file with Dutch->English translations,
1.0.0
- Primera versión del plugin