| Author |
Message |
ArtificialIntel

Joined: Jan 31, 2004
Posts: -88
|
Posted:
Sat Jan 25, 2003 1:44 pm |
  |
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
ArtificialIntel |
|
|
   |
 |
Zhen-Xjell
Nuke Cops Founder


Joined: Nov 14, 2002
Posts: 5939
|
Posted:
Sat Jan 25, 2003 1:50 pm |
  |
Is it specific to a unique Nuke release? |
_________________ Paul Laudanski, Microsoft MVP Windows-Security
CastleCops: [de] [en] [wiki] |
|
     |
 |
ArtificialIntel

Joined: Jan 31, 2004
Posts: -88
|
Posted:
Sat Jan 25, 2003 1:51 pm |
  |
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 |
|
|
   |
 |
Zhen-Xjell
Nuke Cops Founder


Joined: Nov 14, 2002
Posts: 5939
|
Posted:
Sat Jan 25, 2003 1:54 pm |
  |
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] |
|
     |
 |
ArtificialIntel

Joined: Jan 31, 2004
Posts: -88
|
Posted:
Sat Jan 25, 2003 1:55 pm |
  |
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 |
|
|
   |
 |
ArtificialIntel

Joined: Jan 31, 2004
Posts: -88
|
Posted:
Sat Jan 25, 2003 8:16 pm |
  |
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 |
|
|
   |
 |
ArtificialIntel

Joined: Jan 31, 2004
Posts: -88
|
Posted:
Sun Jan 26, 2003 2:59 pm |
  |
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 |
|
|
   |
 |
ArtificialIntel

Joined: Jan 31, 2004
Posts: -88
|
Posted:
Sun Jan 26, 2003 3:49 pm |
  |
new version's out and ready for download - tested on Nuke 6.0
ArtificialIntel |
|
|
   |
 |
Sandman71
Nuke Soldier


Joined: Feb 02, 2003
Posts: 10
Location: Canada
|
Posted:
Sun Feb 02, 2003 11:42 am |
  |
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. |
|
|
   |
 |
chatserv
General


Joined: Jan 12, 2003
Posts: 3128
Location: Puerto Rico
|
Posted:
Sun Feb 02, 2003 11:55 am |
  |
|
    |
 |
Sandman71
Nuke Soldier


Joined: Feb 02, 2003
Posts: 10
Location: Canada
|
Posted:
Sun Feb 02, 2003 3:50 pm |
  |
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 |
|
   |
 |
ArtificialIntel

Joined: Jan 31, 2004
Posts: -88
|
Posted:
Sun Feb 02, 2003 3:51 pm |
  |
did you run the categories.sql file from phpMyAdmin??? I think not
Follow the Readme. Run it.
ArtificialIntel |
|
|
   |
 |
Sandman71
Nuke Soldier


Joined: Feb 02, 2003
Posts: 10
Location: Canada
|
Posted:
Sun Feb 02, 2003 3:54 pm |
  |
| ArtificialIntel wrote: |
did you run the categories.sql file from phpMyAdmin??? I think not
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.
 |
Last edited by Sandman71 on Sun Feb 02, 2003 4:00 pm; edited 1 time in total |
|
   |
 |
ArtificialIntel

Joined: Jan 31, 2004
Posts: -88
|
Posted:
Sun Feb 02, 2003 3:59 pm |
  |
|
   |
 |
ArtificialIntel

Joined: Jan 31, 2004
Posts: -88
|
Posted:
Sun Feb 02, 2003 4:00 pm |
  |
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 |
|
|
   |
 |
|
|