Extension:XenForoAuth/es

Category:Unmaintained extensions/es#XenForoAuth/es Category:MIT licensed extensions/es
Manual de extensiones de MediaWiki
XenForoAuth
Estado de la versión: sin mantenimientoCategory:Unmaintained extensions/es
Implementación Identidad de usuario Category:User identity extensions/es
Descripción Provides login with a XenForo account in a configurable XenForo forum.
Autor(es) Florian Schmidt (Florianschmidtwelzowdiscusión)
Última versión 0.1.0
MediaWiki 1.27+Category:Extensions with manual MediaWiki version
PHP 5.5+
Cambios en la base de datos Yes
Licencia Licencia MIT
Descargar Category:Extensions in Wikimedia version control/es
  • $wgXenForoAuthButtonIcon
  • $wgXenForoAuthAutoCreate
  • $wgXenForoAuthBaseUrl
  • $wgXenForoAuthClientId
  • $wgXenForoAuthClientSecret
Descargas trimestrales 2 (Ranked 92nd)
Traduce la extensión XenForoAuth si está disponible en translatewiki.net
Category:All extensions/es

The XenForoAuth extension allows wiki users to login with an account of a XenForo based online-forum. The extension uses the XenForo bd Api plugin (which needs to be installed on the XenForo forum in order to work with this extension) to request basic profile information.

Requirements

To use this extension you need at least:

  • MediaWiki 1.27+
  • MySQL (no PostgreSQL or SQLite support for now!)
  • PHP 5.5+
  • An API client in the forum with which your users can authenticate
  • Able to run composer update

Instalación

  • Descarga y mueve la carpeta XenForoAuth extraída a tu directorio extensions/.
    Los desarrolladores y contribuidores de código deberían instalar la extensión desde Git en su lugar, usando:cd extensions/
    git clone https://gerrit.wikimedia.org/r/mediawiki/extensions/XenForoAuth
  • Añade el siguiente código en la parte final de tu archivo LocalSettings.php :
    wfLoadExtension( 'XenForoAuth' );
    
  • Ejecuta la secuencia de actualización, que creará automáticamente las tablas de la base de datos que necesita esta extensión.
  • Configure the required parameters
  • Yes Hecho – Navega a Special:Version en el wiki para verificar que la extensión se haya instalado correctamente.

Configuración

The extension provides two configuration variables to set the Client ID and Client Secret (you get this pair in the API Client settings of the XenForo forum, remove "<" and ">"). You also need to configure the base url where the api can be reached.

$wgXenForoAuthClientSecret = '<your-client-secret>';
$wgXenForoAuthClientId = '<your-client-id>';
$wgXenForoAuthBaseUrl = 'https://example.com/api/';

Additional Configuration parameter

Configuration variable Default value Description
$wgXenForoAuthButtonIcon 'images/xenForo_icon.png' The icon, which will be added to the "Log in with XenForo" button. Normally you would set the path to the icon of the forum here. The value has to be surrounded with '.
$wgXenForoAuthAutoCreate false Whether users from XenForo should be autocreated in this wiki. If you set this to true and a user logs in with XenForo and doesn't have a local connected account, it will be created automatically. If the username is already registered, the user will get an error message, that he couldn't be logged in.

Settings for the API Client

Please make sure, that you created an API Client in XenForo. Please also set your full URL to Special:UserLogin into the Redirect Uri input field (e.g. https://www.example.com/wiki/Special:UserLogin). Please also add your domain to the White-listed Domains input field (e.g. *.example.com).

Category:All extensions/es Category:AuthChangeFormFields extensions/es Category:Extensions in Wikimedia version control/es Category:Extensions with manual MediaWiki version Category:LoadExtensionSchemaUpdates extensions/es Category:MIT licensed extensions/es Category:Unmaintained extensions/es Category:User identity extensions/es