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  

New user registration

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

Beginner
Beginner


Joined: Oct 29, 2005
Posts: 14

PostPosted: Sun Oct 30, 2005 5:16 pm    Post subject: New user registration Reply with quote

I've looked a bit in the forums and I can't find the answer to this. Once the Gallery2 and phpBB2 are integrated, if you are not signed in there is a register link in the Gallery section. Is there a way to redirect the registration link so that it goes to the phpBB2 regsitration screen instead of the Gallery2 registration link?
Back to top
Offline View user's profile Send private message
AdBot
   Post subject: New user registration  

Back to top
rollins

Novice
Novice


Joined: Oct 27, 2005
Posts: 23

PostPosted: Sun Oct 30, 2005 8:04 pm    Post subject: Re: New user registration Reply with quote

Where is the registration link? I did not install the Registration module, and I don't see a registration link. Try un-installing the Registration module.
Back to top
Offline View user's profile Send private message Visit poster's website
moogen

Beginner
Beginner


Joined: Oct 29, 2005
Posts: 14

PostPosted: Sun Oct 30, 2005 8:43 pm    Post subject: Re: New user registration Reply with quote

So... I deactivated the registation module earlier...
apparently thats not a good idea
the Export Users function is not working any more (even after activating the registration module again)
i get the error:

"The import of the following phpBB2 user_id's failed:
13
The most common reasons for failed imports are:

* Duplicate phpBB usernames
* A phpBB username of "guest"
* A phpBB username consisting of only numbers

Check the failed user_ids and re-run the export"

Any ideas?
Back to top
Offline View user's profile Send private message
rollins

Novice
Novice


Joined: Oct 27, 2005
Posts: 23

PostPosted: Sun Oct 30, 2005 9:29 pm    Post subject: Re: New user registration Reply with quote

In my upgrade plan, I will only run the sync once. I recommend trying this from a clean install with no registration module. However, if you want to look into this more, here is some SQL which you can run.

Code: ›

connect to you db:

   mysql -u USERNAME DBNAME -p

   > show tables;

find the name of your gallery user table and your php user table.  The name will depend on the table prefix_ you chose on installation for the phpBB2 tables and the Gallery2 tables.  The gallery tables also have a column prefix_

  > describe phpbbtableprefix_users;
  > describe gallerytableprefix__User;


select P.user_id                        AS "BB ID",
         P.username                     AS "BB Username",
         G.gallerycolumnprefix_id       AS "G2 ID",
         G.gallerycolumnprefix_userName AS "G2 Username"
  from phpbbtableprefix_users P,
        gallerytableprefix_User  G
 where P.username = G.gallerycolumnprefix_userName;



You can then see the username of your phpBB user #13
Back to top
Offline View user's profile Send private message Visit poster's website
moogen

Beginner
Beginner


Joined: Oct 29, 2005
Posts: 14

PostPosted: Sun Oct 30, 2005 10:04 pm    Post subject: Re: New user registration Reply with quote

In the original integration, is it suppose to be that you only have to sync once or have you modified the code so that this is the case?
Back to top
Offline View user's profile Send private message
rollins

Novice
Novice


Joined: Oct 27, 2005
Posts: 23

PostPosted: Sun Oct 30, 2005 10:19 pm    Post subject: Re: New user registration Reply with quote

I made some additions to keep the users in sync.

http://www.nukedgallery.net/postt2070.html
Back to top
Offline View user's profile Send private message Visit poster's website
moogen

Beginner
Beginner


Joined: Oct 29, 2005
Posts: 14

PostPosted: Mon Oct 31, 2005 12:31 am    Post subject: Re: New user registration Reply with quote

aaaah cool. I will check it out tomorrow Very Happy
Back to top
Offline View user's profile Send private message
rollins

Novice
Novice


Joined: Oct 27, 2005
Posts: 23

PostPosted: Mon Oct 31, 2005 1:03 am    Post subject: Re: New user registration Reply with quote

Tomorrow, I will post the files for the integration with phpBB-2.0.18
Back to top
Offline View user's profile Send private message Visit poster's website
dari

Site Admin
Site Admin


Joined: Mar 03, 2003
Posts: 6287
Location: Washington Township, NJ, USA

PostPosted: Mon Oct 31, 2005 7:44 am    Post subject: Re: New user registration Reply with quote

moogen wrote: › So... I deactivated the registation module earlier...
apparently thats not a good idea
the Export Users function is not working any more (even after activating the registration module again)
i get the error:

"The import of the following phpBB2 user_id's failed:
13
The most common reasons for failed imports are:

* Duplicate phpBB usernames
* A phpBB username of "guest"
* A phpBB username consisting of only numbers

Check the failed user_ids and re-run the export"

Any ideas?


what is the username of your user w/ user_id of 13?
Back to top
Offline View user's profile Send private message Visit poster's website
moogen

Beginner
Beginner


Joined: Oct 29, 2005
Posts: 14

PostPosted: Mon Oct 31, 2005 12:59 pm    Post subject: Re: New user registration Reply with quote

user_id 13 is a test user that i created to make sure everything was still working...

the username is: anothertest
i created a few others with varied names that didnt work as well.

when the registration module is activated again... is it not exactly as it was before. Does it change some code that had been altered by the integration file so now the sync doesnt work?

I tried to redo everything that i had done before with the integration with no luck. Confused
Back to top
Offline View user's profile Send private message
dari

Site Admin
Site Admin


Joined: Mar 03, 2003
Posts: 6287
Location: Washington Township, NJ, USA

PostPosted: Mon Oct 31, 2005 2:49 pm    Post subject: Re: New user registration Reply with quote

is there another user in phpBB that has that username?
Back to top
Offline View user's profile Send private message Visit poster's website
moogen

Beginner
Beginner


Joined: Oct 29, 2005
Posts: 14

PostPosted: Mon Oct 31, 2005 10:44 pm    Post subject: Re: New user registration Reply with quote

Nope. The username had never existed before I created it to test the integration out.
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 » phpBB2 / 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 filterWorld Meds Direct

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