mirror of
https://github.com/e107inc/e107.git
synced 2025-07-23 16:01:39 +02:00
Add notice to newforumposts_main
This commit is contained in:
@@ -105,7 +105,8 @@ class admin_start
|
|||||||
array('forumthanks', 0.5),
|
array('forumthanks', 0.5),
|
||||||
array('eclassifieds', 1.11),
|
array('eclassifieds', 1.11),
|
||||||
array('jshelpers', '0.3b'),
|
array('jshelpers', '0.3b'),
|
||||||
array('akismet', 7.0)
|
array('akismet', 7.0),
|
||||||
|
array('newforumposts_main', 1),
|
||||||
);
|
);
|
||||||
|
|
||||||
|
|
||||||
|
@@ -20,9 +20,23 @@ require_once (e_HANDLER.'userclass_class.php');
|
|||||||
e107::includeLan(e_PLUGIN.'newforumposts_main/languages/'.e_LANGUAGE.'.php');
|
e107::includeLan(e_PLUGIN.'newforumposts_main/languages/'.e_LANGUAGE.'.php');
|
||||||
require_once (e_ADMIN.'auth.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();
|
$frm = e107::getForm();
|
||||||
$mes = e107::getMessage();
|
$mes = e107::getMessage();
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
if(isset($_POST['updatesettings']))
|
if(isset($_POST['updatesettings']))
|
||||||
{
|
{
|
||||||
$pref['nfp_display'] = intval($_POST['nfp_display']);
|
$pref['nfp_display'] = intval($_POST['nfp_display']);
|
||||||
@@ -74,4 +88,5 @@ $text = "
|
|||||||
$ns->tablerender(NFPM_L12, $text);
|
$ns->tablerender(NFPM_L12, $text);
|
||||||
|
|
||||||
require_once (e_ADMIN."footer.php");
|
require_once (e_ADMIN."footer.php");
|
||||||
?>
|
*/
|
||||||
|
|
||||||
|
@@ -23,7 +23,7 @@ $eplug_author = "e107 Inc.";
|
|||||||
$eplug_url = "http://e107.org";
|
$eplug_url = "http://e107.org";
|
||||||
$eplug_email = "jalist@e107.org";
|
$eplug_email = "jalist@e107.org";
|
||||||
$eplug_description = "This plugin displays a list of new forum posts on your front page";
|
$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_date = "2012-08-01";
|
||||||
$eplug_readme = "";
|
$eplug_readme = "";
|
||||||
// leave blank if no readme file
|
// leave blank if no readme file
|
||||||
|
Reference in New Issue
Block a user