Recordad que para pedir soporte alguno, debéis facilitar los datos de soporte oportunos por favor, mirad aquí y leer las Normas generales del foro, esto nos servirá de ayuda para dar el mejor soporte..

Gracias.

La Administración de phpBB España.

RC 3.3  Test phpBB Studio - Prism

AUTO-PRUNING "limpiado" en 7 días
⛔ SPAM prohibido y exclusión inmediata.


Avatar de Usuario
ThE KuKa
Administrador
Mensajes: 9874
Registrado: 04 Ene 2004, 19:27
Género:
Edad: 46

Test phpBB Studio - Prism

#1

Mensaje por ThE KuKa »

Código: Seleccionar todo

	/**
	 * Voting SQL management
	 *
	 * @param int    $video_id    The video identifier
	 * @param string $action      The action (like|dislike)
	 * @return void
	 */
	public function toggle_votes(int $video_id, string $action): void
	{
		/* Begin transaction */
		$this->db->sql_transaction('begin');

	/* Select current user like/dislike */
	$sql = 'SELECT vote_up FROM ' . $this->lik_table . '
			WHERE video_id = ' . (int) $video_id  . '
				AND user_id = ' . (int)  $this->user->data['user_id'];// $user_id;
	$result = $this->db->sql_query_limit($sql, 1);
	$like = $this->db->sql_fetchrow($result);
	$this->db->sql_freeresult($result);

Código: Seleccionar todo

div.codebox {
	background-color: transparent;
	border-color: transparent;
	padding: 0;
	margin: 0;
}

div.codebox p {
	border-bottom-color: transparent;
	display: none;
}

Código: Seleccionar todo

diff --git a/phpBB/language/en/captcha_recaptcha.php b/phpBB/language/en/captcha_recaptcha.php
index 103a9cf89d..b76ae56ac0 100644
--- a/phpBB/language/en/captcha_recaptcha.php
+++ b/phpBB/language/en/captcha_recaptcha.php
@@ -44,10 +44,11 @@ $lang = array_merge($lang, [
 	'CAPTCHA_RECAPTCHA'				=> 'reCaptcha v2',
 	'CAPTCHA_RECAPTCHA_V3'			=> 'reCaptcha v3',
 
-	'RECAPTCHA_INCORRECT'			=> 'The solution you provided was incorrect',
-	'RECAPTCHA_NOSCRIPT'			=> 'Please enable JavaScript in your browser to load the challenge.',
-	'RECAPTCHA_NOT_AVAILABLE'		=> 'In order to use reCaptcha, you must create an account on <a href="https://www.google.com/recaptcha">www.google.com/recaptcha</a>.',
-	'RECAPTCHA_INVISIBLE'			=> 'This CAPTCHA is actually invisible. To verify that it works, a small icon should appear in right bottom corner of this page.',
+	'RECAPTCHA_INCORRECT'				=> 'The solution you provided was incorrect',
+	'RECAPTCHA_NOSCRIPT'				=> 'Please enable JavaScript in your browser to load the challenge.',
+	'RECAPTCHA_NOT_AVAILABLE'			=> 'In order to use reCaptcha, you must create an account on <a href="https://www.google.com/recaptcha">www.google.com/recaptcha</a>.',
+	'RECAPTCHA_INVISIBLE'				=> 'This CAPTCHA is actually invisible. To verify that it works, a small icon should appear in right bottom corner of this page.',
+	'RECAPTCHA_V3_LOGIN_ERROR_ATTEMPTS'	=> 'You have exceeded the maximum number of login attempts allowed.<br>In addition to your username and password the invisible reCAPTCHA v3 will be used to authenticate your session.',
 
 	'RECAPTCHA_PUBLIC'				=> 'Site key',
 	'RECAPTCHA_PUBLIC_EXPLAIN'		=> 'Your site reCAPTCHA key. Keys can be obtained on <a href="https://www.google.com/recaptcha">www.google.com/recaptcha</a>. Please, use reCAPTCHA v2 &gt; Invisible reCAPTCHA badge type.',
diff --git a/phpBB/language/en/common.php b/phpBB/language/en/common.php
index 2fc7eeb12a..7443f27be3 100644
--- a/phpBB/language/en/common.php
+++ b/phpBB/language/en/common.php
@@ -95,6 +95,7 @@ $lang = array_merge($lang, array(
 	'AUTH_PROVIDER_OAUTH_ERROR_INVALID_ENTRY'				=> 'Invalid database entry.',
 	'AUTH_PROVIDER_OAUTH_ERROR_INVALID_SERVICE_TYPE'		=> 'Invalid service type provided to OAuth service handler.',
 	'AUTH_PROVIDER_OAUTH_ERROR_REQUEST'						=> 'Something went wrong when processing your OAuth request.',
+	'AUTH_PROVIDER_OAUTH_RETURN_ERROR'						=> 'The external service returned a wrong value therefore your request can not be processed.',
 	'AUTH_PROVIDER_OAUTH_ERROR_SERVICE_NOT_CREATED'			=> 'OAuth service not created',
 	'AUTH_PROVIDER_OAUTH_SERVICE_BITLY'						=> 'Bitly',
 	'AUTH_PROVIDER_OAUTH_SERVICE_FACEBOOK'					=> 'Facebook',

Código: Seleccionar todo

{% for forumrow in loops.forumrow %}
	{% if (forumrow.S_IS_CAT and not forumrow.S_FIRST_ROW) or forumrow.S_NO_CAT  %}
			</ul>

	</div>
</div>
	{% endif %}

{% EVENT forumlist_body_category_header_before %}
{% if forumrow.S_IS_CAT or forumrow.S_FIRST_ROW  or forumrow.S_NO_CAT  %}
	<div class="forabg">
		<div class="inner">
		<ul class="topiclist">
			<li class="header">
				{% EVENT forumlist_body_category_header_row_prepend %}
				<dl class="row-item">
					<dt><div class="list-inner">{% if forumrow.S_IS_CAT %}<a href="{{ forumrow.U_VIEWFORUM }}">{{ forumrow.FORUM_NAME }}</a>{% else %}{{ lang('FORUM') }}{% endif %}</div></dt>
					<dd class="topics">{{ lang('TOPICS') }}</dd>
					<dd class="posts">{{ lang('POSTS') }}</dd>
					<dd class="lastpost"><span>{{ lang('LAST_POST') }}</span></dd>
				</dl>
				{% EVENT forumlist_body_category_header_row_append %}
			</li>
		</ul>
		<ul class="topiclist forums">
{% endif %}
{% EVENT forumlist_body_category_header_after %}


📌 Raul [ThE KuKa] en phpBB 📌
✅ Jr. Extension Validator - Jr. Styles Validator - Style Customisations - Translator - International Support Team
✅

Si te gustan mis estilos, traducciones, etc. y quieres mostrar algo de aprecio, no dudes en hacer una donación Imagen
:flag_es: phpBB España - En línea desde 2003 :heart:




Volver a “☣️ Foro de Pruebas”