Interesting question. A very good text editor I would recommend is Crimson Editor, it has an excellent search by file/folder facility using keywords. It also takes you to the file/text concerned with one click. It is freeware.
Crimson Editor hereThis is most of the files and text I found using this app. You will probably need to do similar for individual modules.
include/common.php
around line 209 (groups)
if (!$moduleperm_handler->checkRight('module_read', $xoopsModule->getVar('mid'), $xoopsUser->getGroups())) {
redirect_header(XOOPS_URL."/user.php",1,_NOPERM);
exit();
include/common.php
around line 214 (for anon users)
if (!$moduleperm_handler->checkRight('module_read', $xoopsModule->getVar('mid'), XOOPS_GROUP_ANONYMOUS)) {
redirect_header(XOOPS_URL."/user.php",1,_NOPERM);
exit();
include/cp_header.php
around line 17
$moduleperm_handler = & xoops_gethandler( 'groupperm' );
if ( $xoopsUser ) {
if ( !$moduleperm_handler->checkRight( 'module_admin', $xoopsModule->getVar( 'mid' ), $xoopsUser->getGroups() ) ) {
redirect_header( XOOPS_URL . "/user.php", 1, _NOPERM );
exit();
}
} else {
redirect_header( XOOPS_URL . "/user.php", 1, _NOPERM );
exit();
For mydownloads
mydowloads/modfile.php
around line 81
} else {
$lid = intval($HTTP_GET_VARS['lid']);
if(empty($xoopsUser)){
redirect_header(XOOPS_URL."/user.php",2,_MD_MUSTREGFIRST);
exit();
mydownloads submit
mydownloads/submit.php
around line 37
if (empty($xoopsUser) && !$xoopsModuleConfig['anonpost']) {
redirect_header(XOOPS_URL."/user.php",2,_MD_MUSTREGFIRST);
exit();
}
Weblinks
mylinks/modlink.php
around line 34
if (!empty($HTTP_POST_VARS['submit'])) {
$eh = new ErrorHandler; //ErrorHandler object
if (empty($xoopsUser)) {
redirect_header(XOOPS_URL."/user.php",2,_MD_MUSTREGFIRST);
exit
also mylinks/modlink.php
around line 70
} else {
$lid = intval($HTTP_GET_VARS['lid']);
if (empty($xoopsUser)) {
redirect_header(XOOPS_URL."/user.php",2,_MD_MUSTREGFIRST);
exit();
newbb/viewforum.php
around line 98
$xoopsTpl->assign("forum_id", $forum);
if ( $can_post == 1 ) {
$xoopsTpl->assign('viewer_can_post', true);
$xoopsTpl->assign('forum_post_or_register', "

");
} else {
$xoopsTpl->assign('viewer_can_post', false);
if ( $show_reg == 1 ) {
$xoopsTpl->assign('forum_post_or_register', '
'._MD_REGTOPOST.'');
} else {
$xoopsTpl->assign('forum_post_or_register', "");
newbb/viewtopic
around line 234
if ( $can_post == 1 ) {
$xoopsTpl->assign(array('viewer_can_post' => true, 'forum_post_or_register' => "

"));
} else {
$xoopsTpl->assign('viewer_can_post', false);
if ( $show_reg == 1 ) {
$xoopsTpl->assign('forum_post_or_register', '
'._MD_REGTOPOST.'');
} else {
$xoopsTpl->assign('forum_post_or_register', '');
regards