Support Forums | Demo Gallery [1.x] [2.x] | Downloads | News | Site Map ]
Nuked Gallery
  Create a FREE account or Login   As a guest, you don't have access to our FULL navigation system.
 Forum FAQForum FAQ   StatisticsStatistics   SearchSearch   UsergroupsUsergroups   FavoritesFavorites  

Rename table name

 
Post new topic   Reply to topic    NukedGallery.net Forum Index » phpBB Integration » phpBB3 / Gallery 2 Integration View previous topicPrinter friendly versionView next topic
Author Message
w91803

Beginner
Beginner


Joined: Dec 11, 2009
Posts: 4

PostPosted: Thu Feb 18, 2010 12:36 pm    Post subject: Rename table name Reply with quote

I just downloaded the latest version of integration zip file for my phpbb3.06 and gallery2 (2.3).

I have a question about submitting the sql as the following code:

Quote: › CREATE TABLE phpbb_gallery2_data (
g2i_dataName varchar(255) NULL, g2i_dataValue TEXT NULL
) CHARACTER SET 'utf8' COLLATE 'utf8_bin';

INSERT INTO phpbb_gallery2_data (g2i_dataName, g2i_dataValue) VALUES ('g2i_exportData', NULL);

INSERT INTO phpbb_gallery2_data (g2i_dataName, g2i_dataValue) VALUES ('g2i_acpAdmin', NULL);

ALTER TABLE phpbb_users
ADD user_gallery VARCHAR( 10 ) NULL DEFAULT NULL,
ADD user_gallery_links_data TEXT NULL DEFAULT NULL;

INSERT INTO phpbb_styles_imageset_data ( image_name , image_filename , image_lang , image_height , image_width ,
imageset_id ) VALUES ('icon_user_gallery' , 'icon_user_gallery.gif', '', 20, 25, 1);

INSERT INTO phpbb_styles_imageset_data ( image_name , image_filename , image_lang , image_height , image_width ,
imageset_id ) VALUES ('button_gallery' , 'button_gallery.gif', 'en', 18, 59, 1);



In my PHPBB3, Database name is hk_phpb1. Table name is phpb1_users.

In my Gallery2, DataBase name is hk_gllr1. Table name is g2_user.


In the following codes, should I rename all to phpbb_ from phpb1_?

Also should I rename all to g2_user from user_gallery?

Let me know if it is correct? Thanks,......
Back to top
Offline View user's profile Send private message
AdBot
   Post subject: Rename table name  

Back to top
IngerK

Wizard
Wizard


Joined: Jan 19, 2006
Posts: 120
Location: Oslo, Norway

PostPosted: Fri Feb 19, 2010 4:08 am    Post subject: Re: Rename table name Reply with quote

w91803 wrote: ›
In my PHPBB3, Database name is hk_phpb1. Table name is phpb1_users.

In my Gallery2, DataBase name is hk_gllr1. Table name is g2_user.


In the following codes, should I rename all to phpbb_ from phpb1_?

Also should I rename all to g2_user from user_gallery?

Let me know if it is correct? Thanks,......


All database changes should be done in phpBB database as far as I can remember (I have both in same database). In the instructions, you have to use your own prefix phpbb1.

That is: phpbb1_gallery2_data (same with other tables).

Be sure to have backup or use a test forum/gallery. I always do both.
Back to top
Offline View user's profile Send private message Visit poster's website
w91803

Beginner
Beginner


Joined: Dec 11, 2009
Posts: 4

PostPosted: Fri Feb 19, 2010 5:51 pm    Post subject: Re: Rename table name Reply with quote

IngerK wrote: ›
All database changes should be done in phpBB database as far as I can remember (I have both in same database). In the instructions, you have to use your own prefix phpbb1.

That is: phpbb1_gallery2_data (same with other tables).

Be sure to have backup or use a test forum/gallery. I always do both.


That is great. I followed the same as your way including backup and test in localhost.

I have another question: How does this mod match g2_user from Gallery2's DataBase name is hk_gllr1?

I do not see like g2_user in this SQL or in any new/modified codes. Just wonder.

Many thanks......
Back to top
Offline View user's profile Send private message
IngerK

Wizard
Wizard


Joined: Jan 19, 2006
Posts: 120
Location: Oslo, Norway

PostPosted: Sat Feb 20, 2010 1:07 am    Post subject: Re: Rename table name Reply with quote

Users are exported to G2 database. You have to configure the integration in phpBB administration panel -> Gallery2 settings, and sync users. Read all the DIY instructions.
Back to top
Offline View user's profile Send private message Visit poster's website
w91803

Beginner
Beginner


Joined: Dec 11, 2009
Posts: 4

PostPosted: Sat Feb 20, 2010 9:39 pm    Post subject: Re: Rename table name Reply with quote

Quote: › Users are exported to G2 database. You have to configure the integration in phpBB administration panel -> Gallery2 settings, and sync users. Read all the DIY instructions.


I get it, thanks....
Back to top
Offline View user's profile Send private message
Display posts from previous:   
Post new topic   Reply to topic    NukedGallery.net Forum Index » phpBB Integration » phpBB3 / Gallery 2 Integration View previous topicPrinter friendly versionView next 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
All times are GMT - 5 Hours

Powered by phpBB © phpBB Group



Sponsors: Dedicated ServersDomain NamesWeb HostingDomain Name RegistrationDedicated Web HostingWeb Design New YorkCompare VoIPseo packagesSEO CompanyNew York Yellow PagesFind LocationsVOIP Phone ServiceNeckermannOnline internetSEORestaurant Locator • Get great HP coupons from CouponSnapshot • Search for great dell coupons at CouponSnapshot.com.au • Graduation DressesAndroid TabletSEO IndiaBuy Phen375fuel filter

8th year online! 2003-2011
Legal • Use of this site consitutes agreement to the Acceptable Use Policy
Hosted by Implosion WorksSourceForge.net Logo • Theme by TonicMedia