You are missing our premiere tool bar navigation system! Register and use it for FREE!

NukeCops  
•  Home •  Downloads •  Gallery •  Your Account •  Forums • 
Readme First
- Readme First! -

Read and follow the rules, otherwise your posts will be closed
Modules
· Home
· FAQ
· Buy a Theme
· Advertising
· AvantGo
· Bookmarks
· Columbia
· Community
· Donations
· Downloads
· Feedback
· Forums
· PHP-Nuke HOWTO
· Private Messages
· Search
· Statistics
· Stories Archive
· Submit News
· Surveys
· Theme Gallery
· Top
· Topics
· Your Account
Who's Online
There are currently, 81 guest(s) and 0 member(s) that are online.

You are Anonymous user. You can register for free by clicking here
Nuke Cops :: View topic - NEW - Modules Block Tweak [ ]
 Forum FAQ  •  Search  •   •  Memberlist  •  Usergroups   •  Register  •  Profile •    •  Log in to check your private messages  •  Log in

 
Post new topic  Reply to topicprinter-friendly view
View previous topic Log in to check your private messages View next topic
Author Message
ArtificialIntel



Joined: Jan 31, 2004
Posts: -88


PostPosted: Sat Jan 25, 2003 1:44 pm Reply with quoteBack to top

I've spent about 2 days on this tweak now (when I haven't been fixing the latest bugs to appear in the new nuke version) and it's now done.

This tweak allows you to arrange the modules block into categories. This is administered through the modules administration panel.

It's now available in the downloads section Smile

ArtificialIntel
Find all posts by ArtificialIntelView user's profileSend private message
Zhen-Xjell
Nuke Cops Founder
Nuke Cops Founder


Joined: Nov 14, 2002
Posts: 5939


PostPosted: Sat Jan 25, 2003 1:50 pm Reply with quoteBack to top

Is it specific to a unique Nuke release?

_________________
Paul Laudanski, Microsoft MVP Windows-Security
CastleCops: [de] [en] [wiki]
Find all posts by Zhen-XjellView user's profileSend private messageSend e-mailVisit poster's website
ArtificialIntel



Joined: Jan 31, 2004
Posts: -88


PostPosted: Sat Jan 25, 2003 1:51 pm Reply with quoteBack to top

erm..... I don't think so. It mainly uses a table I created for it, plus an extra field in the modules table I also created.

artificialIntel
Find all posts by ArtificialIntelView user's profileSend private message
Zhen-Xjell
Nuke Cops Founder
Nuke Cops Founder


Joined: Nov 14, 2002
Posts: 5939


PostPosted: Sat Jan 25, 2003 1:54 pm Reply with quoteBack to top

Awesome, I'll work on getting that installed after the upgrade. Did you submit news?

_________________
Paul Laudanski, Microsoft MVP Windows-Security
CastleCops: [de] [en] [wiki]
Find all posts by Zhen-XjellView user's profileSend private messageSend e-mailVisit poster's website
ArtificialIntel



Joined: Jan 31, 2004
Posts: -88


PostPosted: Sat Jan 25, 2003 1:55 pm Reply with quoteBack to top

nah, I'll do that now.

While I think about it, it needs nuke 6.x cause it's got the invisible modules bit in it.

ArtificialIntel
Find all posts by ArtificialIntelView user's profileSend private message
ArtificialIntel



Joined: Jan 31, 2004
Posts: -88


PostPosted: Sat Jan 25, 2003 8:16 pm Reply with quoteBack to top

For those people who downloaded the block (there were 5 or 6 of you) I've updated it very recently to version 1.2 which shows the invisible categories when you're logged in as Admin now.

ArtificialIntel
Find all posts by ArtificialIntelView user's profileSend private message
ArtificialIntel



Joined: Jan 31, 2004
Posts: -88


PostPosted: Sun Jan 26, 2003 2:59 pm Reply with quoteBack to top

Ok, I've caught wind of some comments posted on phpnuke.org that the mod isn't compatible wiht nuke prior to 6.5, so I'm working on a version that is.

ArtificialIntel
Find all posts by ArtificialIntelView user's profileSend private message
ArtificialIntel



Joined: Jan 31, 2004
Posts: -88


PostPosted: Sun Jan 26, 2003 3:49 pm Reply with quoteBack to top

new version's out and ready for download - tested on Nuke 6.0

ArtificialIntel
Find all posts by ArtificialIntelView user's profileSend private message
Sandman71
Nuke Soldier
Nuke Soldier


Joined: Feb 02, 2003
Posts: 10

Location: Canada

PostPosted: Sun Feb 02, 2003 11:42 am Reply with quoteBack to top

Cant get this to work on my site. Always get the follwing error:

Warning: Supplied argument is not a valid MySQL result resource
in /var/www/html/gwts/includes/sql_layer.php on line 301

I get this in both the modules section (so none of the links show up) and in the admin modules section.
Find all posts by Sandman71View user's profileSend private message
chatserv
General
General


Joined: Jan 12, 2003
Posts: 3128

Location: Puerto Rico

PostPosted: Sun Feb 02, 2003 11:55 am Reply with quoteBack to top

Sandman71 wrote:
sql_layer.php on line 301

http://nukecops.com/modules.php?name=Forums&file=viewtopic&t=1

_________________
Feed a man a fish and you feed him for a day. Teach a man to fish and you feed him for a lifetime.
ScriptHeaven | NukeResources
Find all posts by chatservView user's profileSend private messageVisit poster's website
Sandman71
Nuke Soldier
Nuke Soldier


Joined: Feb 02, 2003
Posts: 10

Location: Canada

PostPosted: Sun Feb 02, 2003 3:50 pm Reply with quoteBack to top

This is what I get after turning on debugging on the sql_layer file:

Warning: Supplied argument is not a valid MySQL result resource in /var/www/html/gwts/includes/sql_layer.php on line 306

Table 'nuke.nuke_modules_categories' doesn't exist

Warning: Supplied argument is not a valid MySQL result resource in /var/www/html/gwts/includes/sql_layer.php on line 306

Table 'nuke.nuke_modules_categories' doesn't exist

Nowhere in the readme does it talk about modifying any tables.
I'm running PHP-Nuke 6.0


Last edited by Sandman71 on Sun Feb 02, 2003 3:52 pm; edited 3 times in total
Find all posts by Sandman71View user's profileSend private message
ArtificialIntel



Joined: Jan 31, 2004
Posts: -88


PostPosted: Sun Feb 02, 2003 3:51 pm Reply with quoteBack to top

did you run the categories.sql file from phpMyAdmin??? I think not Wink

Follow the Readme. Run it.

ArtificialIntel
Find all posts by ArtificialIntelView user's profileSend private message
Sandman71
Nuke Soldier
Nuke Soldier


Joined: Feb 02, 2003
Posts: 10

Location: Canada

PostPosted: Sun Feb 02, 2003 3:54 pm Reply with quoteBack to top

ArtificialIntel wrote:
did you run the categories.sql file from phpMyAdmin??? I think not Wink

Follow the Readme. Run it.

ArtificialIntel


What categories sql file?

# cat readme.txt
::: Modules Tweak for Nuke 6.0 and below ::: To install this module block tweak, simply upload the files in this tarball to
your web site into the directories that they're in in this tarball.

::: Information ::: This tweak is copyright (c) 2003 by ArtificialIntel. All Rights Reserved.

[n60]# ls *
readme.txt*

admin:
case/ modules/

blocks:

only have .php files. No sql files was included in the tarball.

Image


Last edited by Sandman71 on Sun Feb 02, 2003 4:00 pm; edited 1 time in total
Find all posts by Sandman71View user's profileSend private message
ArtificialIntel



Joined: Jan 31, 2004
Posts: -88


PostPosted: Sun Feb 02, 2003 3:59 pm Reply with quoteBack to top

ah, erm.... oops??? It appears I may have forgotten to pack it Embarassed

go into phpMyAdmin, select ur database, click SQL, and where it says text file, put this there:

http://the-sci-factor.kicks-Rainbow Brite.net/downloads/categories.sql

and click Go.

That should create the table u need.

ArtificialIntel
Find all posts by ArtificialIntelView user's profileSend private message
ArtificialIntel



Joined: Jan 31, 2004
Posts: -88


PostPosted: Sun Feb 02, 2003 4:00 pm Reply with quoteBack to top

or paste this into the SQL query box:

Code:
CREATE TABLE nuke_modules_categories(
   mcid int(11) NOT NULL auto_increment,
   mcname varchar(60) NOT NULL,
   visible int(1) NOT NULL default '1',
   PRIMARY KEY(mcid),
   KEY mcid (mcid),
   KEY mcname (mcname)
) TYPE=MyISAM;

INSERT INTO nuke_modules_categories VALUES (NULL, "General", "1");

ALTER TABLE nuke_modules ADD mcid int(11) NOT NULL default '1';


ArtificialINtel
Find all posts by ArtificialIntelView user's profileSend private message
Display posts from previous:      
Post new topic  Reply to topicprinter-friendly view
View previous topic Log in to check your private messages View next topic
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum



Powered by phpBB © 2001, 2005 phpBB Group

Ported by Nuke Cops © 2003 www.nukecops.com
:: FI Theme :: PHP-Nuke theme by coldblooded (www.nukemods.com) ::
Powered by · TOGETHER TEAM srl ITALY http://www.togetherteam.it · DONDELEO E-COMMERCE http://www.DonDeLeo.com
Web site engine's code is Copyright © 2002 by PHP-Nuke. All Rights Reserved. PHP-Nuke is Free Software released under the GNU/GPL license.
Page Generation: 0.231 Seconds - 529 pages served in past 5 minutes. Nuke Cops Founded by Paul Laudanski (Zhen-Xjell)
:: FI Theme :: PHP-Nuke theme by coldblooded (www.nukemods.com) ::