How Do I run db_update.php

  Post new topicReply to topicPrintable Version
<< View previous topic View next topic >>
Share: Del.icio.us  Digg  Google  Spurl  Blink  Furl  Y! MyWeb  
#1   How Do I run db_update.php
zerocool
CZ Super Newbie
zerocool has been a member for over 18 year's 18 Year Member
Gender: Male
Status: Offline
Joined: Mar 04, 2006
0.01 posts per day
Posts: 40
Points: 495
   
I download a phpbb mod and it has db_update.php which will install the SQL


How do I run the db_update.php file? DO I goto:(after logging as admin)
[ Register or login to view links on this board. ]

Or
[ Register or login to view links on this board. ]



Back to top Reply with quote
#2   re: How Do I run db_update.php
BigJim
CZ Super Newbie
BigJim has been a member for over 17 year's 17 Year Member
Gender: Male
Status: Offline
Joined: Jun 09, 2006
0.01 posts per day
Posts: 60
Points: 1,327
   
You didn't mention the mod you're installing...I would assume you run it like this: [ Register or login to view links on this board. ]
Backup your DB first of course.



Back to top Reply with quote
#3   re: How Do I run db_update.php
zerocool
CZ Super Newbie
zerocool has been a member for over 18 year's 18 Year Member
Gender: Male
Status: Offline
Joined: Mar 04, 2006
0.01 posts per day
Posts: 40
Points: 495
   
Here is the mod [ Register or login to view links on this board. ]

Is it before or after I make changes to file mentioned in readme.txt or install.txt

It said to upload to modules/forums/

so shouldn't my url be modules/forum/......



Back to top Reply with quote
#4   re: How Do I run db_update.php
BigJim
CZ Super Newbie
BigJim has been a member for over 17 year's 17 Year Member
Gender: Male
Status: Offline
Joined: Jun 09, 2006
0.01 posts per day
Posts: 60
Points: 1,327
   
Are you installing this in a standalone phpBB forum or Nuke? Backup the DB first then run it in your root or if you have phpBB installed in a different folder or sub-domain run it in the root of that location. If you're installing this in Nuke it may need porting.



Back to top Reply with quote
#5   re: How Do I run db_update.php
zerocool
CZ Super Newbie
zerocool has been a member for over 18 year's 18 Year Member
Gender: Male
Status: Offline
Joined: Mar 04, 2006
0.01 posts per day
Posts: 40
Points: 495
   
I am installing under PCNUKE MAX 7.91c.

You see thats the problem. I have root/modules/Forums/

and root/themes/MY_THEME/forums/

And I am using subSilver theme for my forum. I do not know where to install.
I think PCNUKE uses phpbb forum

Thanks



Back to top Reply with quote
#6   Re: re: How Do I run db_update.php
BigJim
CZ Super Newbie
BigJim has been a member for over 17 year's 17 Year Member
Gender: Male
Status: Offline
Joined: Jun 09, 2006
0.01 posts per day
Posts: 60
Points: 1,327
   


Originally posted by zerocool @ Mon Aug 07, 2006 6:56 pm:

I am installing under PCNUKE MAX 7.91c.

You see thats the problem. I have root/modules/Forums/

and root/themes/MY_THEME/forums/

And I am using subSilver theme for my forum. I do not know where to install.
I think PCNUKE uses phpbb forum

Thanks

Well...I dunno nothing about that PCNUKE MAX 7.91c. But that mod needs porting to work with Nuke...look at the directory structure and you will see. Not all hacks found over at phpBBHacks.com will work right out of the box with Nuke.



Back to top Reply with quote
#7   re: How Do I run db_update.php
zerocool
CZ Super Newbie
zerocool has been a member for over 18 year's 18 Year Member
Gender: Male
Status: Offline
Joined: Mar 04, 2006
0.01 posts per day
Posts: 40
Points: 495
   
Only problem I have is the SQL file. I installed another mod. I was able to create the SQL myself, and that mod works.
But I am stuck with this code. (I got this from the source of db_update.php



INSERT INTO 'nuke_comments_config' (
'config_name', config_value) VALUES (comments_per_page, 15), (comments_on_mini, 3), (view_order, DESC), (auth_owner, 3), (auth_all, 0), (auth_reg, 2), (auth_mod, 5);
   
CREATE TABLE nuke_users_comments (comment_id mediumint(8) unsigned NOT NULL auto_increment, user_id mediumint(8) unsigned NOT NULL default 0, poster_id mediumint(8) NOT NULL default 0, poster_ip varchar(8) NOT NULL default , poster_username varchar(25) NOT NULL default , comments text NOT NULL, time int(11) default NULL, enable_html tinyint(1) unsigned NOT NULL default 0, enable_bbcode tinyint(1) unsigned NOT NULL default 0, enable_smilies tinyint(1) unsigned NOT NULL default 0, bbcode_uid varchar(10) NOT NULL default , PRIMARY KEY (comment_id), KEY user_id (user_id));



Back to top Reply with quote
#8   re: How Do I run db_update.php
BigJim
CZ Super Newbie
BigJim has been a member for over 17 year's 17 Year Member
Gender: Male
Status: Offline
Joined: Jun 09, 2006
0.01 posts per day
Posts: 60
Points: 1,327
   


INSERT INTO 'nuke_comments_config'

Do you have a 'nuke_comments_config' table in your Nuke database?



Back to top Reply with quote
#9   re: How Do I run db_update.php
zerocool
CZ Super Newbie
zerocool has been a member for over 18 year's 18 Year Member
Gender: Male
Status: Offline
Joined: Mar 04, 2006
0.01 posts per day
Posts: 40
Points: 495
   
Yes I Do



nuke_comments
nuke_comments_config
nuke_comments_moderated
nuke_config



Back to top Reply with quote
#10   re: How Do I run db_update.php
BigJim
CZ Super Newbie
BigJim has been a member for over 17 year's 17 Year Member
Gender: Male
Status: Offline
Joined: Jun 09, 2006
0.01 posts per day
Posts: 60
Points: 1,327
   
The only way to get this mod to work with Nuke is to have someone port it for Nuke. If you look through the files there are references to files that are only included in the standalone phpBB forums...these files need editing to make it compatible with the Nuke phpBB forums. You may want to start a seperate thread requesting someone to port this mod for Nuke.



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