1
0
mirror of https://github.com/e107inc/e107.git synced 2025-03-14 01:19:44 +01: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

@ -105,7 +105,8 @@ class admin_start
array('forumthanks', 0.5),
array('eclassifieds', 1.11),
array('jshelpers', '0.3b'),
array('akismet', 7.0)
array('akismet', 7.0),
array('newforumposts_main', 1),
);

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");
?>
*/

View File

@ -23,7 +23,7 @@ $eplug_author = "e107 Inc.";
$eplug_url = "http://e107.org";
$eplug_email = "jalist@e107.org";
$eplug_description = "This plugin displays a list of new forum posts on your front page";
$eplug_compatible = "e107v6";
$eplug_compatible = "1.x";
$eplug_date = "2012-08-01";
$eplug_readme = "";
// leave blank if no readme file