1
0
mirror of https://github.com/e107inc/e107.git synced 2025-09-01 02:21:58 +02:00

Add notice to newforumposts_main

This commit is contained in:
Cameron
2019-02-22 15:11:19 -08:00
parent fb30733905
commit 6237a92519
3 changed files with 19 additions and 3 deletions

View File

@@ -20,9 +20,23 @@ require_once (e_HANDLER.'userclass_class.php');
e107::includeLan(e_PLUGIN.'newforumposts_main/languages/'.e_LANGUAGE.'.php');
require_once (e_ADMIN.'auth.php');
e107::getMessage()->addWarning("This plugin is no longer compatible with e107 v2.x and should be uninstalled.<br />Instead, please enable the <b>forum</b> plugin's <b>newforumposts_menu</b> using the Menu Manager.");
echo e107::getMessage()->render();
require_once (e_ADMIN."footer.php");
/*
$frm = e107::getForm();
$mes = e107::getMessage();
if(isset($_POST['updatesettings']))
{
$pref['nfp_display'] = intval($_POST['nfp_display']);
@@ -74,4 +88,5 @@ $text = "
$ns->tablerender(NFPM_L12, $text);
require_once (e_ADMIN."footer.php");
?>
*/