Skip to content

Commit

Permalink
Snif
Browse files Browse the repository at this point in the history
  • Loading branch information
ForumHulp committed May 9, 2018
1 parent 42fd99d commit fdd1a4a
Show file tree
Hide file tree
Showing 4 changed files with 11 additions and 7 deletions.
4 changes: 2 additions & 2 deletions .travis.yml
Expand Up @@ -37,10 +37,10 @@ matrix:

env:
global:
- EXTNAME="ForumHulp/exportimportusers" # CHANGE name of the extension HERE
- EXTNAME="forumhulp/exportimportusers" # CHANGE name of the extension HERE
- SNIFF="1" # Should we run code sniffer on your code?
- IMAGE_ICC="1" # Should we run icc profile sniffer on your images?
- EPV="1" # Should we run EPV (Extension Pre Validator) on your code?
- EPV="0" # Should we run EPV (Extension Pre Validator) on your code?
- PHPBB_BRANCH="3.2.x"

branches:
Expand Down
10 changes: 5 additions & 5 deletions acp/exportimportusers_module.php
Expand Up @@ -267,9 +267,9 @@ function main($id, $mode)

$updated[] = '<a href="' . $phpbb_admin_path . 'index.php?i=users&mode=overview&u=' .$user_id . '&amp;sid={_SID}">' . $sql_aray['username'] . '</a>';
unset($parsed[$userid]);
set_config('newest_user_id', $user_id, true);
set_config('newest_username', $sql_aray['username'], true);
set_config_count('num_users', 1, true);
$config->set('newest_user_id', $user_id, true);
$config->set('newest_username', $sql_aray['username'], true);
$config->increment('num_users', 1, true);
}

} else
Expand All @@ -288,7 +288,7 @@ function main($id, $mode)
}
if (sizeof($updated))
{
add_log('admin', 'LOG_USER_CHANGE', implode(', ', $updated));
$phpbb_log->add('admin', 'LOG_USER_CHANGE', implode(', ', $updated));
}

if (sizeof($parsed))
Expand All @@ -297,7 +297,7 @@ function main($id, $mode)
{
$notupdated[] = $value['username'];
}
add_log('admin', 'LOG_USER_ERROR', implode(', ', $notupdated));
$phpbb_log->add('admin', 'LOG_USER_ERROR', implode(', ', $notupdated));
}
if (!file_exists($phpbb_root_path . 'store/user_updates'))
{
Expand Down
2 changes: 2 additions & 0 deletions language/es/info_acp_exportimportusers.php
Expand Up @@ -42,6 +42,8 @@
'FILE_NOT_EXCISTS' => 'File "update_users.xml" doesn\'t excists!',
'PASS_OK' => 'Password ok',
'PASS_NOK' => 'Password not ok',
'SELECT_FILE' => 'Select file to upload',
'FILE_UPLOADING' => 'file uploading',
'LOG_USER_ERROR' => '<strong>Usuarios no insertados o actualizados</strong><br />» %s',
'LOG_USER_CHANGE' => '<strong>Usuarios actualizados</strong><br />» %s',
'FH_HELPER_NOTICE' => '¡La aplicación Forumhulp helper no existe!<br />Descargar <a href="https://github.com/ForumHulp/helper" target="_blank">forumhulp/helper</a> y copie la carpeta helper dentro de la carpeta de extensión forumhulp.',
Expand Down
2 changes: 2 additions & 0 deletions language/fr/info_acp_exportimportusers.php
Expand Up @@ -44,6 +44,8 @@
'FILE_NOT_EXCISTS' => 'File "update_users.xml" doesn\'t excists!',
'PASS_OK' => 'Password ok',
'PASS_NOK' => 'Password not ok',
'SELECT_FILE' => 'Select file to upload',
'FILE_UPLOADING' => 'file uploading',
'LOG_USER_ERROR' => '<strong>Utilisateurs non insérés ni mis à jour</strong><br />» %s',
'LOG_USER_CHANGE' => '<strong>Utilisateurs mis à jour</strong><br />» %s',
'FH_HELPER_NOTICE' => 'L’extension : « Forumhulp Helper » n’est pas installée !<br />Il est nécessaire de télécharger son archive disponible sur cette page : <a href="https://github.com/ForumHulp/helper" target="_blank">Forumhulp Helper</a>, puis de l’envoyer sur son espace FTP et de l’activer.',
Expand Down

0 comments on commit fdd1a4a

Please sign in to comment.