» Log in
User Name:

Password:

Not a member yet?
Register Now!
» Online Users: 68
0 members and 68 guests
No Members online
Most users ever online was 611, 03-21-2008 at 11:10 PM.
» .::.
Web Hosting - web hosting, dedicated servers and web design services
Online Degree - search for 1000+ online degrees, online colleges & online universities.
Tattoo - we are a group of tattoo enthusiasts
Gexa Energy - your absolute best choice in electric service
Texas electricity - save on electric rates
Oral Chelation - initial cleansing of your veins & arteries

Register Now! Contact Us

About this Page
This is a discussion on Disabling Inactive modules in modules block within the Nuke 7.x - Modules forums, part of the PHP-Nuke 7.x category; Was wondering if there is a way to disable teh inactive modules portion of the modules block. I'm using ...


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

Reply
 
LinkBack Thread Tools Display Modes
  #1 (permalink)  
Old 11-28-2004, 10:31 PM
Junior Member
 
Join Date: Sep 2004
Posts: 42
Disabling Inactive modules in modules block
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
  #2 (permalink)  
Old 11-29-2004, 04:06 AM
Moderator
 
Join Date: Oct 2004
Posts: 260
Theres no (simple) way not to show then there. You should remove its folder from /modules/
__________________
read me before posting
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #3 (permalink)  
Old 12-14-2004, 11:43 AM
Junior Member
 
Join Date: Dec 2004
Location: France
Posts: 10
Send a message via MSN to Rica
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
#
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


All times are GMT -5. The time now is 07:32 AM.


Design by Vjacheslav Trushkin, color scheme by ColorizeIt!.

LinkBacks Enabled by vBSEO 3.1.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