FORUM HOME | WHUK BLOG   
WEB HOSTING UK AFFORDABLE WEBSITE HOSTING SERVICES IN UNITED KINGDOM
PHP LINUX SHARED HOSTING WINDOWS ASP.NET HOSTING PACKAGES
ECOMMERCE HOSTING ASP MSSQL MS ACCESS ODBC FRONTPAGE HOSTING
CPANEL WHM FANTASTICO RESELLER DEDICATED SERVER WEB HOSTING
CHEAP PLESK CPANEL HTML MYSQL BEST UK VPS HOSTING COMPANY
CHEAP RELIABLE UK HOSTING PROVIDER SINCE 2001
MANAGED WEB HOSTING SERVICE
AFFORDABLE WEBSITE HOSTING SERVICES IN UNITED KINGDOM

Web Hosting UK Forums | Linux Windows Dedicated Server and cPanel VPS Hosting Forum » Web Hosting and Domains » FAQ's / Tutorials.

Reply
 
LinkBack Thread Tools Display Modes

  #1 (permalink)  
Old 02-04-07, 02:12 PM
Senior Member
 
Join Date: Dec 2006
Posts: 684
Send a message via MSN to karimali831
Default Intergrating a user database to a forum database??

Hey,

Is it possible to intergrate two user database's together so that the members don't have to register on two systems?

"www.clan-wars.net" (has a user database)
"www.clan-wars.net/forum" (has a user database)

Anyway?
Reply With Quote

  #2 (permalink)  
Old 02-04-07, 09:21 PM
Senior Member
 
Join Date: Jan 2007
Location: Dorset
Posts: 1,119
Default

Yes it is possible, you would need to use php to insert the registration details into both dbs. This needs to be done when the new user clicks the link on the email validation, so another $query would need to be created for the other db.
I haven't used vbullitin before but should imagine the table you need to add to is pretty self evident by its name.
Reply With Quote

  #3 (permalink)  
Old 03-04-07, 06:57 PM
Senior Member
 
Join Date: Dec 2006
Posts: 684
Send a message via MSN to karimali831
Default

Quote:
Originally Posted by jon123 View Post
Yes it is possible, you would need to use php to insert the registration details into both dbs. This needs to be done when the new user clicks the link on the email validation, so another $query would need to be created for the other db.
I haven't used vbullitin before but should imagine the table you need to add to is pretty self evident by its name.
Thanks for your post, I have no knowledge of how this process works. Is it possible if you could do this for me? (I wouldn't mind paying you) I really would like this to be done.

Cheers
Reply With Quote

  #4 (permalink)  
Old 04-04-07, 02:56 PM
Senior Member
 
Join Date: Jan 2007
Location: Dorset
Posts: 1,119
Default

I am all for making money, but not from offering advice.

As mentioned I have never used VBulletin so cannot offer you a script that i have written previously.
Have a look at this link

"vbulletin.org/forum/showthread.php?t=98233&page=4"]http://www.vbulletin.org/forum/showthread.php?t=98233&page=4"
Reply With Quote

  #5 (permalink)  
Old 12-04-07, 09:38 AM
Senior Member
 
Join Date: Dec 2006
Posts: 684
Send a message via MSN to karimali831
Default

Hey,

very sorry I meant SMF - Forums. I wouldn't mind paying if you could possible do this.

Thanks.
Reply With Quote

  #6 (permalink)  
Old 20-04-07, 01:59 PM
unknown4's Avatar
Member
 
Join Date: Apr 2007
Location: Sydney, Australia
Posts: 68
Default

could someone possibly type out the code for such an event. There may be a possibility I, also will need this feature since I am thinking of placing a forums into my site
thanks
-unknown4
Reply With Quote

  #7 (permalink)  
Old 20-04-07, 03:31 PM
Senior Member
 
Join Date: Jan 2007
Location: Dorset
Posts: 1,119
Default

Quote:
Originally Posted by karimali831 View Post
Hey,

very sorry I meant SMF - Forums. I wouldn't mind paying if you could possible do this.

Thanks.
Sry only just noticed this reply.

I haven't done SMF either and don't have time to write a script. I only only just started using SMF myself but had a quick look and can point you in the right direction.

First of all though I think you need to be clear on what you really want to achieve here and the best method of doing what you need.

All the registration and validation is done in the 'register.php' file in the sources folder. You scroll down to 'function (activate) and you need to pick the bones out of the "insert into database.

First glance at the validation email uses "u" as the variable to identify the new user with the details contained in the database. (from registering)
This "u" is the members id field in the database.

Therefore: If you scroll down register.php file until you see where is states that the activation was successful, you could then query that database for the user datails and then insert those details into the other database.

i.e; SELECT ALL FROM {$db_prefix}members WHERE ID_MEMBER='u';

Then you can create the login details for the other database and
INSERT INTO ID_MEMBERS....................

Don't know if that makes any sense at all! but it is one of the ways to do what you need.

You could also remove the registering from one forum and redirect registering only on the other, then create a cron job to periodically copy the members table.

Last edited by jon123; 20-04-07 at 03:34 PM.
Reply With Quote

  #8 (permalink)  
Old 21-04-07, 07:48 PM
Senior Member
 
Join Date: Jan 2007
Location: Dorset
Posts: 1,119
Default

top should read:

Then you can create the login details for the other database and then insert the new member details,
INSERT INTO {$db_prefix}members ....................
Reply With Quote

  #9 (permalink)  
Old 26-04-07, 01:45 AM
new member
 
Join Date: Apr 2007
Posts: 4
Default

Did this solve your problem?
Reply With Quote

Reply

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On

Forum Jump


All times are GMT. The time now is 11:59 AM.

Powered by vBulletin® Version 3.8.1
Copyright ©2000 - 2012, Jelsoft Enterprises Ltd.
Copyright 2001-2010 Web Hosting UK. All rights reserved.
Web Hosting UK Forum





Site Map

Shared Cloud
Shared Cloud From £1

Affiliate Program
Earn up to £300 Per Sale

Dedicated Servers
Dedicated Server Hosting

Cloud Hosting
Cloud Server Hosting

Load Balanced Server
Load Balancing Server

VPS Hosting
Linux VPS Hosting

Windows VPS
Windows 2003 VPS

Zimbra Hosting
Zimbra Email Hosting

cPanel Hosting
Shared Linux Hosting

Windows Hosting
Shared Windows Hosting

Coldfusion Hosting
Windows Coldfusion Hosting

cPanel Reseller Hosting
Reseller Hosting

Windows Reseller
Windows Reseller Hosting

Email Web Hosting
Email Hosting

Semi-Dedicated Server
Semi-Dedicated Hosting

Remote Backup Plans
Offsite Backup Service


cpanel hosting
Knowledgebase Articles

Pre-Sales Question
Web Hosting FAQ's

Dedicated Hosting
Dedicated Server FAQ's

Virtual Private Servers
VPS Hosting

PHP MySQL Hosting
cPanel Hosting

Windows Hosting
ASP MSSQL Hosting

Domain Name
Domain registration FAQ's

CMS Hosting
CMS Hosting FAQ's

Payment Gateways
Payment FAQ's


Support Tutorials

cPanel Tutorials
cPanel Flash Tutorials

Wordpress Tutorials
Wordpress Flash Tutorials

Plesk Tutorials
Plesk Flash Tutorials

PhpMyadmin Tutorials
PhpMyadmin Flash Tutorials

Drupal Tutorials
Drupal Flash Tutorials

Mambo Tutorials
Mambo Flash Tutorials

Joomla Tutorials
Joomla Flash Tutorials

More Hosting Tutorials