1
I was looking to do the same. Here is the code I used to get Submit News to only show up for admins
Modify the /modules/news/xoops_version.php
At around line 93
[FIND]
$modversion['sub'][1]['name'] = _MI_NEWS_SMNAME1;
$modversion['sub'][1]['url'] = "submit.php";
[REPLACE WITH]
global $xoopsUser;
if ( is_object($xoopsUser) && $xoopsUser->isAdmin() ) {
$modversion['sub'][1]['name'] = _MI_NEWS_SMNAME1;
$modversion['sub'][1]['url'] = "submit.php";
}
Modify the /modules/news/xoops_version.php
At around line 93
[FIND]
$modversion['sub'][1]['name'] = _MI_NEWS_SMNAME1;
$modversion['sub'][1]['url'] = "submit.php";
[REPLACE WITH]
global $xoopsUser;
if ( is_object($xoopsUser) && $xoopsUser->isAdmin() ) {
$modversion['sub'][1]['name'] = _MI_NEWS_SMNAME1;
$modversion['sub'][1]['url'] = "submit.php";
}