CZModules not showing new modules

  Post new topicReply to topicPrintable Version
<< View previous topic View next topic >>
Share: Del.icio.us  Digg  Google  Spurl  Blink  Furl  Y! MyWeb  
#1   re: CZModules not showing new modules
spockep
CZ Newbie
spockep has been a member for over 18 year's 18 Year Member
Gender: Male
Status: Offline
Joined: Jul 20, 2006
0.00 posts per day
Posts: 2
Points: 25
   
I have the same problem with a specific module called "Gallery2." It's like coppermine but much more secure. I've tried all the tips in this thread and the other and can't get it to show up. Anyway I can add it manually to the DB so it will show up? IF so how?



Back to top Reply with quote
#2   
Telli
Site Admin
Occupation: Self Employed
Age: 46
Gender: Male
Fav. Sports Team: Detroit Red Wings
Website:
Status: Offline
Joined: May 26, 2003
1.03 posts per day
Posts: 8089
Points: 494,475
   
Lets see a copy of your admin/modules/modules.php and a fresh dump of your nuke_modules table please.




_________________
The path of the righteous man is beset on all sides by the inequities of the selfish and the tyranny of evil men. Blessed is he, who in the name of charity and good will, shepherds the weak through the valley of darkness, for he is truly his brother's keeper and the finder of lost children. And I will strike down upon thee with great vengeance and furious anger those who would attempt to poison and destroy my brothers. And you will know my name is the Lord when I lay my vengeance upon thee. Ezekiel 25:17
Back to top Reply with quote
#3   
trumpy81
CZ Newbie
trumpy81 has been a member for over 18 year's 18 Year Member
Gender: Male
Status: Offline
Joined: Jul 20, 2006
0.00 posts per day
Posts: 1
Points: 100
   
Using phpNuke 7.9, I found I needed to make the following changes before things would work:

if ($mid == "") {
                $db->sql_query("insert into ".$prefix."_modules values (NULL, '$modlist[$i]', '".str_replace("_", " ", $modlist[$i])."', '0', '0', '1', '0', '', '1', '')");

Notice the positioning of the: ', '0', '0', '1', '0', '', '1', '')"); on the last 2 lines.

All is working now icon_mrgreen.gif


Back to top Reply with quote
#4   re: CZModules not showing new modules
OzButcher
CZ Super Newbie
 Codezwiz Site Donator
OzButcher has been a member for over 17 year's 17 Year Member
australia.gif
Occupation: Painter
Gender: Male
Website:
Status: Offline
Joined: Jan 19, 2007
0.01 posts per day
Posts: 35
Points: 1,075
   
I have the same problem. I have installed "czModule Block V4.0" and now for some reason no modules I copy into the module folder will show up.

I have tried adding the legal mod, some other mods and now the cz news mod.

please help if you can. I have attached the suggested files.



Attached Files
modsnotshowing.zip (9.65 KB, Downloaded: 5232 Time(s))
Attached Files
modsnotshowing.zip (9.65 KB, Downloaded: 5231 Time(s))


Back to top Reply with quote
#5   re: CZModules not showing new modules
floppydrivez
CZ Addict
 Codezwiz Site Donator
floppydrivez has been a member for over 18 year's 18 Year Member
usa.gif mississippi.gif
Occupation: graphic design
Age: 43
Gender: Male
Website:
Status: Offline
Joined: Feb 26, 2006
0.08 posts per day
Posts: 518
Points: 4,848
AIM Address Yahoo Messenger MSN Messenger 
On page 3 find telli's post with damian.zip and replace the included modules.php with your admin/moules/modules.php.

Let me know if it works, but I know it will.



Back to top Reply with quote
#6   re: CZModules not showing new modules
OzButcher
CZ Super Newbie
 Codezwiz Site Donator
OzButcher has been a member for over 17 year's 17 Year Member
australia.gif
Occupation: Painter
Gender: Male
Website:
Status: Offline
Joined: Jan 19, 2007
0.01 posts per day
Posts: 35
Points: 1,075
   
That worked thanks icon_smile.gif



Back to top Reply with quote
#7   re: CZModules not showing new modules
wiseman
CZ Newbie
 Codezwiz Site Donator
wiseman has been a member for over 19 year's 19 Year Member
usa.gif massachusetts.gif
Gender: Male
Status: Offline
Joined: Nov 25, 2005
0.00 posts per day
Posts: 3
Points: 650
   
Hi Telli,

Here are a couple of files you asked for with regard to my similar problem of not having modules added since the install of CZM modules with Raven Nuke.



Attached Files
czmrequest.zip (9.9 KB, Downloaded: 5232 Time(s))


Back to top Reply with quote
#8   
Telli
Site Admin
Occupation: Self Employed
Age: 46
Gender: Male
Fav. Sports Team: Detroit Red Wings
Website:
Status: Offline
Joined: May 26, 2003
1.03 posts per day
Posts: 8089
Points: 494,475
   
Open the admin/modules/modules.php and change this line:


$db->sql_query("insert into ".$prefix."_modules values (NULL, '$modlist[$i]', '".str_replace("_", " ", $modlist[$i])."', '0', '0', '1', '0', '1', '', '')");


To this line:


$db->sql_query("insert into ".$prefix."_modules values (NULL, '$modlist[$i]', '".str_replace("_", " ", $modlist[$i])."', '0', '0', '1', '0', '1', '', '', '')");


Same thing for your blocks/block-Modules.php



_________________
The path of the righteous man is beset on all sides by the inequities of the selfish and the tyranny of evil men. Blessed is he, who in the name of charity and good will, shepherds the weak through the valley of darkness, for he is truly his brother's keeper and the finder of lost children. And I will strike down upon thee with great vengeance and furious anger those who would attempt to poison and destroy my brothers. And you will know my name is the Lord when I lay my vengeance upon thee. Ezekiel 25:17
Back to top Reply with quote
Display posts from previous:      
Add To: Del.icio.us  Digg  Google  Spurl  Blink  Furl  Y! MyWeb  
<< View previous topic View next topic >>
Post new topicReply to topic

Jump to 
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
You cannot attach files in this forum
You cannot download files in this forum