Add option to show main plugin tab to anonymous users in BuyCourses plugin - refs GH#1504

remotes/angel/1.11.x
Yannick Warnier 8 years ago
parent 1c568a04f3
commit 1f328cb8df
  1. 4
      main/inc/lib/banner.lib.php
  2. 14
      plugin/buycourses/CHANGELOG.md
  3. 2
      plugin/buycourses/lang/english.php
  4. 2
      plugin/buycourses/lang/spanish.php

@ -382,8 +382,8 @@ function return_navigation_array()
}
}
}
}else{
// Custom tabs public
} else {
// Show custom tabs that are specifically marked as public
$customTabs = getCustomTabs();
if (!empty($customTabs)) {
foreach ($customTabs as $tab) {

@ -1,4 +1,16 @@
v3.0
v4.0 - 2017-04-25
====
This version includes the Culqi payment gateway and introduces an additional
option to show the Buy Courses tab to anonymous users.
To enable these features, if you have already installed this plugin on your
portal prior to this version, you will need to add the corresponding settings
to your settings_current table. No documentation is available at this time on
how to do that, so please check up the code. Sorry about that.
v3.0 - 2015-09-25
====
This version has been fixed and improved for Chamilo LMS 1.10.x.

@ -3,7 +3,7 @@ $strings['plugin_title'] = "Sell courses";
$strings['plugin_comment'] = "Sell courses directly through your Chamilo portal, using a PayPal account to receive funds. Neither the Chamilo association nor the developers involved could be considered responsible of any issue you might suffer using this plugin.";
$strings['show_main_menu_tab'] = "Show tab in main menu";
$strings['show_main_menu_tab_help'] = "In case of not wanting to show the tab, you can create this link in your Chamilo homepage : %s";
$strings['public_main_menu_tab'] = "Show tab public main menu";
$strings['public_main_menu_tab'] = "Show tab in main menu to anonymous users too";
$strings['include_sessions'] = "Include sessions";
$strings['paypal_enable'] = "Enable PayPal";
$strings['commissions_enable'] = "Enable Commissions";

@ -3,7 +3,7 @@ $strings['plugin_title'] = "Venta de cursos";
$strings['plugin_comment'] = "Vender cursos a través de PayPal directamente desde su portal Chamilo. La asociación Chamilo y los desarrolladores involucrados no pueden ser considerados responsables de cualquier inconveniente que se presente.";
$strings['show_main_menu_tab'] = "Mostrar pestaña en el menu principal";
$strings['show_main_menu_tab_help'] = "En caso de no querer mostrar la pestaña, puede agregar el siguiente enlace a su portal Chamilo: %s";
$strings['public_main_menu_tab'] = "Mostrar pestaña sin login";
$strings['public_main_menu_tab'] = "Mostrar pestaña a usuarios sin login";
$strings['include_sessions'] = "Incluir sesiones";
$strings['paypal_enable'] = "Habilitar PayPal";
$strings['commissions_enable'] = "Habilitar Comisiones";

Loading…
Cancel
Save