Nukemods Forum  
» Log in
User Name:

Password:

Not a member yet?
Register Now!
» Online Users: 90
8 members and 82 guests
adv3pjqocaremus, coo5ewkin4sjcpg, ess3grdexmusica, hel3qwpforcn7jr, pesbxbtcontr3jk, ral4yqkeighqtx5, ronaldtianyiti2, tencrgoa
Most users ever online was 611, 03-21-2008 at 11:10 PM.
» .::.
tattoo fonts
http://www.checkoutmyink.com/category/tattoo-fonts-tattoo

Go Back   Nukemods Forum > PHP-Nuke 7.x > Nuke 7.x - Modules

Reply
 
LinkBack Thread Tools Display Modes
Disabling Inactive modules in modules block
Old
  (#1 (permalink))
Junior Member
 
Status: Offline
Posts: 42
Join Date: Sep 2004
Disabling Inactive modules in modules block - 11-28-2004, 10:31 PM

Was wondering if there is a way to disable teh inactive modules portion of the modules block. I'm using nuke 7.4 and I have selected for the modules not to be disbplaye din modules block. But they still appear there as admin. Any help would be appreciated.
   
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Old
  (#2 (permalink))
Moderator
 
Status: Offline
Posts: 260
Join Date: Oct 2004
11-29-2004, 04:06 AM

Theres no (simple) way not to show then there. You should remove its folder from /modules/
   
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Old
  (#3 (permalink))
Junior Member
 
Status: Offline
Posts: 10
Join Date: Dec 2004
Location: France
12-14-2004, 11:43 AM

Or edit blocks/blocks-Modules.php

Code:
#
# FIND
#

	$content .= "
<center>"._NOACTIVEMODULES."
";
	$content .= "<font class=\"tiny\">"._FORADMINTESTS."</font></center>
";
	$result6 = $db->sql_query("SELECT title, custom_title FROM ".$prefix."_modules WHERE active='0' ORDER BY title ASC");
	while ($row6 = $db->sql_fetchrow($result6)) {
	    $mn_title = stripslashes($row6['title']);
	    $custom_title = $row6['custom_title'];
	    $mn_title2 = ereg_replace("_", " ", $mn_title);
	    if ($custom_title != "") {
		$mn_title2 = $custom_title;
	    }
	    if ($mn_title2 != "") {
		$content .= "<big>&middot;</big><a href=\"modules.php?name=$mn_title\">$mn_title2</a>
\n";
		$dummy = 1;
	    } else {
		$a = 1;
	    }
	}
	if ($a == 1 AND $dummy != 1) {
    	    $content .= "<big>&middot;</big>"._NONE."
\n";
	}

#
# and DELETE or comment out this part
#
  Send a message via MSN to Rica  
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Reply

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
Invisible vs Inactive Modules Lokrin Open topics 1 03-15-2005 08:03 PM
block-modules.php editing Krutch Nuke 7.x - Blocks 0 11-29-2004 11:47 PM
Rearranging the Modules block?? fi2508 Nuke 7.x - General 1 11-08-2004 08:52 PM
Can't Activate Modules or Block tuoncan Nuke 6.5 to 6.9 - Modules 0 11-04-2004 05:04 AM
editing modules block Cody Purged Topics 17 03-10-2003 08:13 AM




vBulletin Skin developed by: vBStyles.com


LinkBacks Enabled by vBSEO 3.3.0

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31