CZModules ported for 7.6 Platinum

  Post new topicReply to topicPrintable Version
<< View previous topic View next topic >>
Share: Del.icio.us  Digg  Google  Spurl  Blink  Furl  Y! MyWeb  
#1   CZModules ported for 7.6 Platinum
pnclthnmstsh
CZ Active Member
pnclthnmstsh has been a member for over 20 year's 20 Year Member
usa.gif nevada.gif
Age: 53
Gender: Male
Website:
Status: Offline
Joined: Sep 17, 2004
0.04 posts per day
Posts: 267
Points: 13,641
   
Are there plans to port CZM for PNP?




_________________
[ Register or login to view links on this board.]
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,430
   
I didnt know there would be a differance. It should just fine pnp is just nuke with add-ons right?




_________________
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   
pnclthnmstsh
CZ Active Member
pnclthnmstsh has been a member for over 20 year's 20 Year Member
usa.gif nevada.gif
Age: 53
Gender: Male
Website:
Status: Offline
Joined: Sep 17, 2004
0.04 posts per day
Posts: 267
Points: 13,641
   
Yep that's right, I thought it would plug right in fine too. I installed CZM for 7.5+ last night but there seems to be a conflict in tables. New catagories cant be made and existing modules don't show up, just home and quick links.




_________________
[ Register or login to view links on this board.]
Back to top Reply with quote
#4   
JRSweets
CZ Active Member
 Codezwiz Site Donator
JRSweets has been a member for over 20 year's 20 Year Member
usa.gif massachusetts.gif
Age: 43
Gender: Male
Fav. Sports Team: NE Patriots
Website:
Status: Offline
Joined: Apr 07, 2004
0.03 posts per day
Posts: 259
Points: 19,861
  MSN Messenger 
make sure the amount of columns in the modules table and inside admin/modules/modules.php this line:
$db->sql_query("insert into ".$prefix."_modules values (NULL, '$modlist[$i]', '".str_replace("_", " ", $modlist[$i])."', '0', '0', '1', '0', '1', '', '')");
match.


Back to top Reply with quote
#5   
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,430
   


Originally posted by JRSweets @ Tue Jan 18, 2005 3:45 pm:

make sure the amount of columns in the modules table and inside admin/modules/modules.php this line:
$db->sql_query("insert into ".$prefix."_modules values (NULL, '$modlist[$i]', '".str_replace("_", " ", $modlist[$i])."', '0', '0', '1', '0', '1', '', '')");
match.


Also the block-Modules.php


Back to top Reply with quote
#6   
pnclthnmstsh
CZ Active Member
pnclthnmstsh has been a member for over 20 year's 20 Year Member
usa.gif nevada.gif
Age: 53
Gender: Male
Website:
Status: Offline
Joined: Sep 17, 2004
0.04 posts per day
Posts: 267
Points: 13,641
   
PNP has two extra columns since they added a feature to allow group permissions. So it would seem either I must drop the columns for group permissions or hope these new permissions can be added to CZM. Is that correct?




_________________
[ Register or login to view links on this board.]
Back to top Reply with quote
#7   
JRSweets
CZ Active Member
 Codezwiz Site Donator
JRSweets has been a member for over 20 year's 20 Year Member
usa.gif massachusetts.gif
Age: 43
Gender: Male
Fav. Sports Team: NE Patriots
Website:
Status: Offline
Joined: Apr 07, 2004
0.03 posts per day
Posts: 259
Points: 19,861
  MSN Messenger 
Just add the two extra columns to the lines of code in block-Modules.php and admin/modules/modules.php

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


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



Back to top Reply with quote
#8   
pnclthnmstsh
CZ Active Member
pnclthnmstsh has been a member for over 20 year's 20 Year Member
usa.gif nevada.gif
Age: 53
Gender: Male
Website:
Status: Offline
Joined: Sep 17, 2004
0.04 posts per day
Posts: 267
Points: 13,641
   
Thanks for the help all. That didn't change things yet. I did find though that PNP uses NSN Groups. I'm still looking and working on it. But the two definitely don't like each other icon_biggrin.gif




_________________
[ Register or login to view links on this board.]
Back to top Reply with quote
#9   
JRSweets
CZ Active Member
 Codezwiz Site Donator
JRSweets has been a member for over 20 year's 20 Year Member
usa.gif massachusetts.gif
Age: 43
Gender: Male
Fav. Sports Team: NE Patriots
Website:
Status: Offline
Joined: Apr 07, 2004
0.03 posts per day
Posts: 259
Points: 19,861
  MSN Messenger 
post up the structure of the nuke_modules table.



Back to top Reply with quote
#10   
pnclthnmstsh
CZ Active Member
pnclthnmstsh has been a member for over 20 year's 20 Year Member
usa.gif nevada.gif
Age: 53
Gender: Male
Website:
Status: Offline
Joined: Sep 17, 2004
0.04 posts per day
Posts: 267
Points: 13,641
   
Field Type Attributes Null Default Extra Action
mid int(10) No auto_increment
title varchar(255) No
custom_title varchar(255) No
active int(1) No 0
view int(1) No 0
groups text No
inmenu tinyint(1) No 1
mod_group int(10) Yes 0
mcid int(11) No 1
admins varchar(255) No
url varchar(255) Yes




_________________
[ Register or login to view links on this board.]
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