60
Quote:
sova wrote:
Thank you for your helping
Sad Face.
Try this..
in xnews/include/functions.php replace the function
/**
* Verify that the current user is a member of the Admin group
*/
function nw_is_admin_group()
{
global $xoopsUser, $xoopsModule;
if(is_object($xoopsUser)) {
if(in_array('1',$xoopsUser->getGroups())) {
return true;
} else {
$mod_handler =& xoops_gethandler('module');
$xnewsModule = $mod_handler->getByDirname(NW_MODULE_DIR_NAME);
if($xoopsUser->isAdmin($xnewsModule->mid())) {
return true;
} else {
return false;
}
}
} else {
return false;
}
}
and in xnews/blocks/news_latestnews.php
change line 124
$enddiv = 'alt="'.$thisstory->title.'" width="'.$imgwidth.'" '.$height.' /></a></div>';
so it looks like
$enddiv = 'alt="'.$thisstory->title.'" width="'.$imgwidth.'" '.$imgheight.' /></a></div>';
i haven't tested this out..
CBB / LatestNews / Publisher / XM-Spotlight
(ノ◕ヮ◕)ノ*:・゚✧