Skip to content

Commit

Permalink
Limpieza de plugins e inclusión de uno nuevo (#14)
Browse files Browse the repository at this point in the history
* Eliminar plugin "Email Inactive Users"

Se incluyen los cambios tras la desinstalación del plugin.

* Eliminar plugin "Auto Email Inactive Users"

Se incluyen los cambios tras la desinstalación del plugin.

* Eliminar plugin "Ad Managment"

Se incluyen los cambios tras la desinstalación del plugin.

* Eliminar plugin "Social Login"

Se incluyen los cambios tras la desinstalación del plugin.

Closes #1

* Eliminar rastros del plugin "Social Login"

El desinstalador no eliminó dos llamadas a una función del plugin y al cargar la pantalla de inicio de sesión, se mostraba un error, aunque únicamente era visual.

* Eliminar paquete de instalación

El plugin fue desinstalado, pero como el paquete para su instalación aún estaba almacenado, ha sido eliminado.

* Instalar plugin Ohara YouTube Embed

El plugin permitirá embeber vídeos de YouTube, Vimeo y GIFV de Imgur en las publicaciones.

closes #13

Signed-off-by: Xabi <[email protected]>
  • Loading branch information
xaabi6 committed May 22, 2022
1 parent 91601ef commit 4b58e87
Show file tree
Hide file tree
Showing 91 changed files with 1,425 additions and 7,318 deletions.
Binary file added Packages/OharaYouTubeEmbed.zip
Binary file not shown.
Binary file not shown.
Binary file removed Packages/emailinactive_1.7.zip
Binary file not shown.
2 changes: 1 addition & 1 deletion Packages/installed.list
Original file line number Diff line number Diff line change
@@ -1 +1 @@
1640301346
1649283602
25 changes: 3 additions & 22 deletions Sources/Admin.php
Original file line number Diff line number Diff line change
Expand Up @@ -51,8 +51,7 @@ function AdminMain()
global $txt, $context, $scripturl, $sc, $modSettings, $user_info, $settings, $sourcedir, $options, $smcFunc, $boarddir;

// Load the language and templates....
loadLanguage('Admin');
loadLanguage('Ads');
loadLanguage('Admin');
loadTemplate('Admin', 'admin');

// No indexing evil stuff.
Expand Down Expand Up @@ -190,23 +189,6 @@ function AdminMain()
'edit' => array($txt['themeadmin_edit_title']),
),
),
'ads' => array(
'label' => $txt['ad_management'],
'file' => 'Ads.php',
'function' => 'Ads',
'custom_url' => $scripturl . '?action=admin;area=ads;sa=main',
'icon' => 'themes.gif',
'subsections' => array(
'main' => array($txt['ad_management_main']),
'add' => array($txt['ad_management_add']),
'reports' => array($txt['ad_management_reports']),
'settings' => array($txt['ad_management_settings']),
'copyright' => array($txt['ads_txt_copyrightremoval']),
'credits' => array($txt['ad_management_credits']),
),
),


'modsettings' => array(
'label' => $txt['admin_modifications'],
'file' => 'ManageSettings.php',
Expand All @@ -220,8 +202,8 @@ function AdminMain()
'aeva' => array(loadlanguage('Aeva') == false ? 'Aeva' : $txt['aeva']),
'aevasites' => array(!isset($txt['aeva_sites']) ? 'Aeva Sites' : $txt['aeva_sites']),
// Aeva - END
'mentions' => array($txt['mentions']), // Mod Authors for a "ADD AFTER" on this line. Ensure you end your change with a comma. For example:
'aeiou' => array($txt['aeiou']),
'mentions' => array($txt['mentions']),
// Mod Authors for a "ADD AFTER" on this line. Ensure you end your change with a comma. For example:
// 'shout' => array($txt['shout']),
// Note the comma!! The setting with automatically appear with the first mod to be added.

Expand Down Expand Up @@ -843,7 +825,6 @@ function AdminSearchInternal()
array('ModifyModerationSettings', 'area=securitysettings;sa=moderation'),
array('ModifyGeneralModSettings', 'area=modsettings;sa=general'),
// Mod authors if you want to be "real freaking good" then add any setting pages for your mod BELOW this line!
array('ModifyAeiouModSettings', 'area=modsettings;sa=aeiou'),
array('ModifyAevaSettings', 'area=modsettings;sa=aeva'),

array('ModifycustombuttonsSettings', 'area=modsettings;sa=custombuttons'),
Expand Down
3 changes: 1 addition & 2 deletions Sources/Admin.php~
Original file line number Diff line number Diff line change
Expand Up @@ -223,8 +223,7 @@ function AdminMain()
'mentions' => array($txt['mentions']),
//NChat by ThisMod.com
'nchat' => array($txt['nchat_name']),
// Mod Authors for a "ADD AFTER" on this line. Ensure you end your change with a comma. For example:
'aeiou' => array($txt['aeiou']),
// Mod Authors for a "ADD AFTER" on this line. Ensure you end your change with a comma. For example:
// 'shout' => array($txt['shout']),
// Note the comma!! The setting with automatically appear with the first mod to be added.

Expand Down
Loading

0 comments on commit 4b58e87

Please sign in to comment.