modules page not updating

  Post new topicReply to topicPrintable Version
<< View previous topic View next topic >>
Share: Del.icio.us  Digg  Google  Spurl  Blink  Furl  Y! MyWeb  
#1   modules page not updating
XF_Warrior
CZ Newbie
XF_Warrior has been a member for over 20 year's 20 Year Member
usa.gif illinois.gif
Age: 43
Gender: Male
Fav. Sports Team: Cubs, Cowboys
Website:
Status: Offline
Joined: Mar 31, 2004
0.00 posts per day
Posts: 12
Points: 2,998
 Yahoo Messenger MSN Messenger 
im tying to install 2 new modules in the site and for me as the admin the y bolth work fine but i cant activate them in the admin modules menu because their not on their how can i fix this



Back to top Reply with quote
#2   Re: modules page not updating
Taut
PayPal Donation
CZ Revered Member
 Codezwiz Site Donator
usa.gif california.gif
Occupation: Entrepreneur
Gender: Female
Fav. Sports Team: SF Giants
Status: Offline
Joined: May 27, 2003
0.70 posts per day
Posts: 5530
Points: 481,695
   


Originally posted by XF_Warrior @ Thu Apr 29, 2004 10:53 am:

for me as the admin the y bolth work fine


eh?

how can they both work fine if you haven't activated them? are they not showing up in the modules list to be able for you to activate them?



Back to top Reply with quote
#3   re: modules page not updating
XF_Warrior
CZ Newbie
XF_Warrior has been a member for over 20 year's 20 Year Member
usa.gif illinois.gif
Age: 43
Gender: Male
Fav. Sports Team: Cubs, Cowboys
Website:
Status: Offline
Joined: Mar 31, 2004
0.00 posts per day
Posts: 12
Points: 2,998
 Yahoo Messenger MSN Messenger 
yeah ttheir not showing up in the modules list so i can ectivate them as an administrator they work fine but i have noway to activate them for a normal user to be able to use them



Back to top Reply with quote
#4   re: modules page not updating
Taut
PayPal Donation
CZ Revered Member
 Codezwiz Site Donator
usa.gif california.gif
Occupation: Entrepreneur
Gender: Female
Fav. Sports Team: SF Giants
Status: Offline
Joined: May 27, 2003
0.70 posts per day
Posts: 5530
Points: 481,695
   
try editing the file admin/modules/modules.php

FIND:
if ($mid == "") {
      sql_query("insert into ".$prefix."_modules
values (NULL, '$modlist[$i]', '$modlist[$i]', '0', '0', '1')", $dbi);
       }



REPLACE WITH:
if ($mid == "") {
           sql_query("insert into ".$prefix."_modules
values (NULL, '$modlist[$i]', '$modlist[$i]', '0', '0', '1', '0')", $dbi);
       }




Back to top Reply with quote
#5   re: modules page not updating
XF_Warrior
CZ Newbie
XF_Warrior has been a member for over 20 year's 20 Year Member
usa.gif illinois.gif
Age: 43
Gender: Male
Fav. Sports Team: Cubs, Cowboys
Website:
Status: Offline
Joined: Mar 31, 2004
0.00 posts per day
Posts: 12
Points: 2,998
 Yahoo Messenger MSN Messenger 
i tryed that and still nothing web site is [ Register or login to view links on this board. ]

the server module and the hangman modules arnt working



Back to top Reply with quote
#6   Re: re: modules page not updating
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 XF_Warrior @ Sun May 02, 2004 10:31 pm:

i tryed that and still nothing web site is [ Register or login to view links on this board. ]

the server module and the hangman modules arnt working


Can you export your table nuke_modules and please tell me how many fields are in it.




_________________
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
#7   re: modules page not updating
XF_Warrior
CZ Newbie
XF_Warrior has been a member for over 20 year's 20 Year Member
usa.gif illinois.gif
Age: 43
Gender: Male
Fav. Sports Team: Cubs, Cowboys
Website:
Status: Offline
Joined: Mar 31, 2004
0.00 posts per day
Posts: 12
Points: 2,998
 Yahoo Messenger MSN Messenger 
how do i know how many tables their are


this is the nike_module



CREATE TABLE `nuke_modules` (
  `mid` int(10) NOT NULL auto_increment,
  `title` varchar(255) NOT NULL default '',
  `custom_title` varchar(255) NOT NULL default '',
  `active` int(1) NOT NULL default '0',
  `view` int(1) NOT NULL default '0',
  `inmenu` tinyint(1) NOT NULL default '1',
  `mod_group` int(10) default '0',
  PRIMARY KEY  (`mid`),
  KEY `mid` (`mid`),
  KEY `title` (`title`),
  KEY `custom_title` (`custom_title`)
) TYPE=MyISAM AUTO_INCREMENT=26 ;

#
# Dumping data for table `nuke_modules`
#

INSERT INTO `nuke_modules` VALUES (1, 'AvantGo', 'AvantGo', 0, 0, 1, 0);
INSERT INTO `nuke_modules` VALUES (2, 'Downloads', 'Downloads', 1, 0, 1, 0);
INSERT INTO `nuke_modules` VALUES (3, 'Feedback', 'Feedback', 1, 0, 1, 0);
INSERT INTO `nuke_modules` VALUES (4, 'Journal', 'Journal', 0, 0, 1, 0);
INSERT INTO `nuke_modules` VALUES (5, 'News', 'News', 1, 0, 1, 0);
INSERT INTO `nuke_modules` VALUES (6, 'Private_Messages', 'Private Messages', 1, 0, 1, 0);
INSERT INTO `nuke_modules` VALUES (7, 'Recommend_Us', 'Recommend Us', 1, 0, 1, 0);
INSERT INTO `nuke_modules` VALUES (8, 'Search', 'Search', 1, 0, 1, 0);
INSERT INTO `nuke_modules` VALUES (9, 'Statistics', 'Statistics', 1, 0, 1, 0);
INSERT INTO `nuke_modules` VALUES (10, 'Stories_Archive', 'Stories Archive', 1, 0, 1, 0);
INSERT INTO `nuke_modules` VALUES (11, 'Submit_News', 'Submit News', 1, 0, 1, 0);
INSERT INTO `nuke_modules` VALUES (12, 'Surveys', 'Surveys', 1, 0, 1, 0);
INSERT INTO `nuke_modules` VALUES (13, 'Top', 'Top 10', 1, 0, 1, 0);
INSERT INTO `nuke_modules` VALUES (14, 'Topics', 'Topics', 1, 0, 1, 0);
INSERT INTO `nuke_modules` VALUES (15, 'Web_Links', 'Web Links', 1, 0, 1, 0);
INSERT INTO `nuke_modules` VALUES (16, 'WebMail', 'WebMail', 1, 1, 1, 0);
INSERT INTO `nuke_modules` VALUES (17, 'Your_Account', 'Your Account', 1, 0, 1, 0);
INSERT INTO `nuke_modules` VALUES (18, 'Addon_Sample', 'Addon Sample', 0, 2, 1, 0);
INSERT INTO `nuke_modules` VALUES (19, 'Content', 'Content', 0, 0, 1, 0);
INSERT INTO `nuke_modules` VALUES (20, 'Encyclopedia', 'Encyclopedia', 0, 0, 1, 0);
INSERT INTO `nuke_modules` VALUES (21, 'FAQ', 'FAQ', 0, 0, 1, 0);
INSERT INTO `nuke_modules` VALUES (22, 'Forums', 'Forums', 1, 0, 1, 0);
INSERT INTO `nuke_modules` VALUES (23, 'Members_List', 'Members List', 1, 1, 1, 0);
INSERT INTO `nuke_modules` VALUES (24, 'Reviews', 'Reviews', 0, 0, 1, 0);
INSERT INTO `nuke_modules` VALUES (25, 'Sections', 'Sections', 0, 0, 1, 0);



Back to top Reply with quote
#8   re: modules page not updating
XF_Warrior
CZ Newbie
XF_Warrior has been a member for over 20 year's 20 Year Member
usa.gif illinois.gif
Age: 43
Gender: Male
Fav. Sports Team: Cubs, Cowboys
Website:
Status: Offline
Joined: Mar 31, 2004
0.00 posts per day
Posts: 12
Points: 2,998
 Yahoo Messenger MSN Messenger 
is their something wrong with it can i fix it what?



Back to top Reply with quote
#9   re: modules page not updating
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
   
ok now find that line that taut posted above in YOUR admin/modules/modules.php and paste that here.




_________________
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
#10   re: modules page not updating
XF_Warrior
CZ Newbie
XF_Warrior has been a member for over 20 year's 20 Year Member
usa.gif illinois.gif
Age: 43
Gender: Male
Fav. Sports Team: Cubs, Cowboys
Website:
Status: Offline
Joined: Mar 31, 2004
0.00 posts per day
Posts: 12
Points: 2,998
 Yahoo Messenger MSN Messenger 
if ($mid == "") {
sql_query("insert into ".$prefix."_modules
values (NULL, '$modlist[$i]', '$modlist[$i]', '0', '0', '1', '0')", $dbi);
}


ALso how can i change the admin password or retreive it or reset it i logged out and it either i dont know the password or dont like me because it wont let me log back in as admin wich my admin and regular name is the same with the same password i dont understand why i cant log in to admin


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